Skip to content

Instantly share code, notes, and snippets.

@junlapong
Last active October 9, 2015 14:27
Show Gist options
  • Select an option

  • Save junlapong/3522021 to your computer and use it in GitHub Desktop.

Select an option

Save junlapong/3522021 to your computer and use it in GitHub Desktop.
Apache Load Test
key1=value1&key2=value2+space
@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