dReAmEr
dReAmEr

Reputation: 7196

How to pass multiple header in Apache Benchmark

I need to pass multiple header in Apache benchmark.

I have searched on SO and googled also,but no luck so far.

ab -n200 -c100 -H 'clientId:test-client;token:93e6acff-2ef9-4c85-9d0b-c9948a8ee93b' http://127.0.0.1/oauth2/user/client/

Upvotes: 59

Views: 47098

Answers (1)

guke.name
guke.name

Reputation: 946

ab -n200 -c100 -H "clientId:test-client"-H "token:93e6acff-2ef9-4c85-9d0b-c9948a8ee93b" -v 2 http://127.0.0.1/oauth2/user/client/

-v show request header

Upvotes: 93

Related Questions