Skip to content

Instantly share code, notes, and snippets.

Avatar

Xulin Tan fatalerrortan

  • Ingolstadt
View GitHub Profile
@hassansin
hassansin / ab.sh
Created May 26, 2015
Apache Bench Ajax POST
View ab.sh
ab \
-n 1000 \
-c 20 \
-s 30 \
-p post-data.txt \
-T 'application/x-www-form-urlencoded; charset=UTF-8' \
-v 3 \
-H "X-Requested-With: XMLHttpRequest" \
-H "X-Ajax-Referer: http://example.com" \
-H "Accept-Encoding: gzip, deflate" \