Forum Discussion
http monitor advanced monitoring and content check
need help to write an http monitor 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
my basic requirement is that i have an application whose url is which is the login page of the application. The pool members for this url are 1.2.3.4 and 1.2.3.5 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= 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?
The POST request is as below and the url is https://abc.com:8100/NewSession
Request Body:
{ "Uid" : "V9999", "OdinId" : "1234567ahafjhiqhj2O2J12345JEWJFNLMO3JOQ4WG4JKPKlfemfalm" }
Response Structure: { "status": true, "UTS": "2019-03-08T06:04:40.455Z" }
- Rico
Cirrus
You can send a post request from an HTTP monitor if the post does not require authentication to access as seen in this article. You can also use an external monitor to send a curl request to the specified url with the proper authentication as seen in this article.
If you have any more questions, I am sure I can help.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com