Can I set multiple headers with Siege?

Viewed 12453

I want to use siege to target a number of URLs on my app, each with different headers. I can set headers for one request

siege -u http://localhost/xyz -d1 -r1000 -c25 --header="Token: f2840fc1"

(this appears to be undocumented)

I can specify a list of URLs in the URL file, with custom headers for each URL. But I can't see a way in the docs.

3 Answers

You can try this example siege --concurrent=5 --reps=100 --header='sdk:3.0, config:3.0,zid:0' 'https://google.com/api/REGME POST uid=a8qn&aid=43ZK0'

Related