need help to write an irule for interactive http login via username and password and then perform a content check on the url by requesting for certain content to be fetched like charts etc
Rather than using an iRule, it would probably be better to use APM to handle authentication/authorization. You can find some info about APM here.
Best of luck,
I need to test the application functionality using an advanced monitor like application check monitor and content check monitor. APM usage for this would be slightly difficult as it would require licensing which i do not want to acquire just for advanced helath check of the application functionality
Why interactive check?
can't you only do a standard HTTP monitor with POST data? then check the response data to search for a string?
my basic requirement is that i have an application whose url is https://abc:8100/NewSession which is the login page of the application.
The pool members for this url are 220.127.116.11 and 18.104.22.168
I need my monitor to login to this page using the username=abc and password=xyz
Post successful login i need to fetch some charts from the url=https://abc:8100/GetChart
The response status for this chart fetch should be success which i need to monitor as well using a monitor.
How can i achieve both of these requirements?
do the following actions:
The POST request is as below and the url is https://abc.com:8100/NewSession
"Uid" : "V9999",
"OdinId" : "1234567ahafjhiqhj2O2J12345JEWJFNLMO3JOQ4WG4JKPKlfemfalm"