【发布时间】:2015-07-05 11:05:04
【问题描述】:
我需要在Apache benchmark 中传递多个标头。
我在 SO 上搜索过,也用谷歌搜索过,但到目前为止还没有运气。
ab -n200 -c100 -H 'clientId:test-client;token:93e6acff-2ef9-4c85-9d0b-c9948a8ee93b' http://127.0.0.1/oauth2/user/client/
【问题讨论】:
-
如果是 cURL 之类的,您可以多次使用
-H。这是一个带有示例的页面:cyberciti.biz/faq/…
标签: rest header apachebench