10

I have just started to use Siege to do load/stressing test on a new web server. I am trying to test on my most resource/performance heavy script, but the script requires cookies. What is the proper format for using the --header option in siege?

I have tried this with no luck:

siege --header="Set-Cookie: PHPSESSID=--COOKIE--; iptoken=--COOKIE--" http://www.myurl.com/script.php,

There is no documentation on this that I could find, so any ideas/suggestions would be appreciated.

Andrew
  • 1,226
  • 2
  • 13
  • 20

1 Answers1

16

The answer is to use --header="Cookie: --COOKIE_DATA--" (ref. wiki.wsmoak.net/cgi-bin/wiki.pl?Siege).

ejdyksen
  • 1,489
  • 1
  • 12
  • 15
Andrew
  • 1,226
  • 2
  • 13
  • 20