HTTP test - Follow Redirect

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
jasons
Posts: 2
Joined: Wed Feb 04, 2004 8:45 pm

HTTP test - Follow Redirect

Post by jasons »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
Post Reply