Confirmed users
487
edits
Rpappalardo (talk | contribs) m (format) |
Rpappalardo (talk | contribs) (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: | ./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 < | 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> | ||