Services/TrackingProtection/Shavar Server - Testing: Difference between revisions

Jump to navigation Jump to search
update loadtesting
m (format)
(update loadtesting)
Line 329: Line 329:


<code>
<code>
  ./bees attack --use-siege -c 20 -w 300s -u 'http://<shavar-stage-url-here>/downloads POST mozpub-track-digest256;a:1424217132'
  ./bees attack --use-siege -c 20 -w 300s -u 'http://<shavar-stage-url-here>/downloads POST mozpub-track-digest256;a:1'
</code>
 
or with multiple files:
<code>
./bees attack --use-siege -c 20 -w 300s -u 'http://<shavar-stage-url-here>/downloads POST < filelist.txt'
</code>
 
or curl statement to call multiple files:
<code>
#!/bin/sh
curl --data-binary @- https://<shavar server>/downloads?pver=2.2 <<EOF
mozstd-track-digest256;a:1
mozstd-trackwhite-digest256;a:1
mozplugin-block-digest256;a:1
EOF
</code>
</code>


Line 357: Line 372:
    
    
<code>                         
<code>                         
  siege -b -i -v -c 1000 -r 1000 'https://<shavar-stage-url-here>/downloads?client=LOADTEST&appver=36.0a1&pver=2.2 POST < blist.txt'
  siege -b -i -v -c 1000 -r 1000 'https://<shavar-stage-url-here>/downloads?client=LOADTEST&appver=36.0a1&pver=2.2 POST < filelist.txt'
</code>
</code>


Confirmed users
487

edits

Navigation menu