Check contents multiple lines

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
gorisdean
Posts: 23
Joined: Wed Jun 20, 2012 7:56 am

Check contents multiple lines

Post by gorisdean »

Hi,

Is there a possibility to let a URL request test check the contents of the returned page over multiple lines.

I want to monitor this page: http://status.messagebird.com/
But only the part REST API -> Operational is of interest to me.
Looking at the source this part of the webpage looks like this:

Code: Select all

<span class="name">
      API REST (HTTPS)
       
    </span>

    <span class="component-status">
      Operational
    </span>
I tried with "\r\n" and with CR and LF acsii hex codes, but no success.

Thanks![/code]
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We plan some improvements for URL and HTTP tests.
Probably we can adjust code for your needs in next version.

Please send request to support@ks-soft.net, provide your registration name or order number

Regards
Alex
Post Reply