Is there a way to monitor the contents of a web page/REST web service using regular expressions for example? Ideally I would like to extract an attribute value from an XML-document and check wether the value is above a certain threshold.

Regards, Rune

asked 02 Sep '15, 07:34

run66's gravatar image

run66
1003712
accept rate: 14%

edited 07 Sep '17, 04:35


Hi Run66,

The Web Page Monitor does not have the ability to use Regular Expression to check for content in a web page. You could use the Execute Script Monitor and most likely be able to use Regular Expression to check for content in a file (XML-document).

Thanks
Quinn

Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer.

link

answered 02 Sep '15, 12:21

Quinn's gravatar image

Quinn ♦♦
14.5k3925
accept rate: 35%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3
×1
×1
×1

Asked: 02 Sep '15, 07:34

Seen: 4,969 times

Last updated: 07 Sep '17, 04:35