Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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/ 
like image 939
dReAmEr Avatar asked Apr 27 '15 05:04

dReAmEr


1 Answers

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

like image 80
guke.name Avatar answered Oct 03 '22 03:10

guke.name