Last active
October 9, 2015 14:27
-
-
Save junlapong/3522021 to your computer and use it in GitHub Desktop.
Apache Load Test
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
| key1=value1&key2=value2+space |
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
| @echo off | |
| SET APACHE_HOME=D:\Server\Apache2.2 | |
| SET URL=http://localhost:8080/batch/jobLog/loadtest | |
| SET REQ_NO=-n 100 | |
| SET CONCURRENT=-c 100 | |
| SET POST=-p "input.post" | |
| SET CONTENT_TYPE=-T "application/x-www-form-urlencoded" | |
| :: SET COOKIE=-C "JSESSIONID=74A6262C4D51DBE6C2431C3AA7C1BB5E" | |
| %APACHE_HOME%\bin\ab.exe %REQ_NO% %CONCURRENT% %POST% %CONTENT_TYPE% %COOKIE% %URL% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment