Hi there,
How far does the "Follow redirect" option extend within the HTTP test?
to reach my test candidate page, I first need to visit another page that includes:
- a form with a url in the 'action', uname/passwd etc.
- an onload form.submit()
- cookie initialization
Process-wise, I need HostMonitor to follow the form submission in order to setup the right cookies etc. and then end up at the desired page for testing. I can't seem to get HostMonitor to follow the form.submit() as a browser would (instead, HostMonitor stops at the page with the form in). Is this the desired behaviour of "Follow redirect"?
With thanks
Jason
HTTP test - Follow Redirect
Actually "Follow redirect" option its not what you need. This option defines HostMonitor's behavior when HTTP server issues redirect (HTTP codes 301 or 302).
In your case I do not see any redirection. I see HTML code (form.submit)
that sends form's data to the server (as HTTP request) and retrieves respond from the server. Most likelly HostMonitor can do what you need but you should check what data your form sends to the server and create URL that will send the same data using GET or POST method (depends on CGI script on the server).
Regards
Alex
In your case I do not see any redirection. I see HTML code (form.submit)
that sends form's data to the server (as HTTP request) and retrieves respond from the server. Most likelly HostMonitor can do what you need but you should check what data your form sends to the server and create URL that will send the same data using GET or POST method (depends on CGI script on the server).
Regards
Alex