More tuning for bash-based perf test
[pazpar2-moved-to-github.git] / perf / bash / client.sh
1 #!/bin/bash
2 OF=$1
3 if test -z "$OF"; then
4         OF=1
5 fi
6 H='http://localhost:9004/search.pz2'
7 wget -q -O $OF.init.xml "$H/?command=init&service=perf&extra=$OF"
8 S=`xsltproc get_session.xsl $OF.init.xml`
9 wget -q -O $OF.search.xml "$H?command=search&query=100&session=$S"
10 sleep 0.5
11 wget -q -O $OF.show.xml "$H?command=show&session=$S"