Last active
May 13, 2023 03:42
-
-
Save lamak-qaizar/7240a053e574e3e2fb8d5a27875be4c4 to your computer and use it in GitHub Desktop.
ApacheBench 2.3 - Post request with headers
This file contains 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
# 100 requests with 10 concurrent threads | |
# Headers: h1 and h2 | |
# Query parameters: p1 and p2 | |
# body.txt is the content of the body (supply blank file if no body) | |
ab -n 100 -c 10 -p ./body.txt -H "h1:value1" -H "h2:value2" -v 2 'http://url?p1=x&p2=y' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example of body content?
value=1
?