Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

iRule for advanced interactive http url content check

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

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hello Babar,

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,

Austin

0
Comments on this Answer
Comment made 1 month ago by babaransari 55

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

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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?

0
Comments on this Answer
Comment made 1 month ago by babaransari 55

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 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=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?

0
Comment made 1 month ago by Stanislas Piron 10640

do the following actions:

  • use Firefox developper's tool
  • log on the form
  • read the POST request on Developper's tool, and paste it here (headers and POST DATA)
0
Comment made 1 month ago by babaransari 55

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" }

0