Created
May 26, 2015 12:55
-
-
Save hassansin/e1e9f78be4a2cf5b3ffe to your computer and use it in GitHub Desktop.
Apache Bench Ajax POST
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" \ | |
-H "Accept-Language: en-US,en;q=0.8,bn;q=0.6" \ | |
-H "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36" \ | |
-H "Accept: application/json, text/javascript, */*; q=0.01" \ | |
-H "Referer: http://www.native-instruments.com/forum/members/" \ | |
http://example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
q=test&limit=10&skip=10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment