[Webtest] CGI variables in WebTest
Jon Gunnip
webtest@lists.canoo.com
Sat, 20 Mar 2004 08:59:24 -0700
Hello,
I'm wondering if there is a way to get WebTest to set CGI variables
like HTTP_REFERRER when doing a GET?
Looking at my webserver log, it will only set HTTP_REFERRER when it
does a post. Browsers will set HTTP_REFERRER when doing a get.
This is my sequence:
POST of Login form leads to client-side redirect (GET) to User home
page. The user home page checks HTTP_REFERRER to make sure the user
came from our login site. Since WebTest's HTTP_REFERRER is blank, the
redirect fails and the user is sent back to the login page.
Thanks,
Jon