Start in one session pazpar2:
cd etc
-../src/pazpar2 -f perf.xml -X
+cp ../perf/ztest/perf.xml .
+cp pazpar2.cfg.dist pazpar2.cfg
+# set number of threads and use perf.xml as service
+../src/pazpar2 -f pazpar2.cfg -X
Start in one session yaz-ztest:
yaz-ztest
O=1
fi
H='http://localhost:9004/search.pz2'
-wget -q -O $O.init.xml "$H/?command=init"
+wget -q -O $O.init.xml "$H/?command=init&service=perf"
S=`xsltproc get_session.xsl $O.init.xml`
wget -q -O $O.search.xml "$H?command=search&query=utah&session=$S"
sleep 0.5