I am attempting to monitor a website using an HTTP Transaction sensor. This web page requires authentication and uses cookies for session management. Ideally I would like to check the health of the login page (this part is working), log in, and then verify the health of the next page by checking for the presence of some known content or even just the title of the page. I can't tell if the login is failing or if the redirect is the problem, but the content check for this second page is failing. The stored HTML result contains the login page, not the page I should land on if the login worked.
I have gone through a lot of attempted variations with no success for this second page check. The general structure I am using is:
- Transaction URL #1) Base URL of login page (after first 302 redirect), utilize POST request with login credentials and form action, verify title of login page <--this content check works
- Transaction URL #2) Have tried several variations of next URL after a second 302 redirect, check for title of next page or known content <--this content check fails
Any ideas?
Add comment