3 # run from the build dir
6 echo "----------------------------------------------"
7 echo "------- tests: h2load SMP"
12 cd ../minimal-examples/http-server/minimal-http-server-smp
13 $PW/bin/lws-minimal-http-server-smp -s &
17 # check h1 with various loads
19 h2load -n 10000 -c 1 --h1 https://127.0.0.1:7681
20 if [ $? -ne 0 ] ; then
26 h2load -n 10000 -c 10 --h1 https://127.0.0.1:7681
27 if [ $? -ne 0 ] ; then
33 h2load -n 100000 -c 100 --h1 https://127.0.0.1:7681
34 if [ $? -ne 0 ] ; then
41 # check h2 with various loads
43 h2load -n 10000 -c 1 https://127.0.0.1:7681
44 if [ $? -ne 0 ] ; then
50 h2load -n 10000 -c 10 https://127.0.0.1:7681
51 if [ $? -ne 0 ] ; then
57 h2load -n 100000 -c 100 https://127.0.0.1:7681