Skip to content

Instantly share code, notes, and snippets.

@FZambia
Created May 17, 2013 14:41
Show Gist options
  • Save FZambia/5599483 to your computer and use it in GitHub Desktop.
Save FZambia/5599483 to your computer and use it in GitHub Desktop.
httperf POST with form data
/path/to/location/ method=POST contents="name=TEST&password=SECRET"
httperf --server=localhost --port=8888 --add-header="Content-Type: application/x-www-form-urlencoded\n" --wsesslog=1000,100,httperf_content
@taimoor
Copy link

taimoor commented May 28, 2014

httperf --hog --server=54.203.168.97 --num-conns=500 --port=3000 --add-header="Content-Type: application/x-www-form-urlencoded\n" --wsesslog=100,0,session.txt --rate 1000 --timeout 5 --print-reply=header --session-cookie

@taimoor
Copy link

taimoor commented May 28, 2014

session.txt

/ method=GET contents="params"

@NumanShafi1
Copy link

I am doing the same but getting code of 3xx why?

@NumanShafi1
Copy link

getting issue of redirection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment