URL - Request Test - plain text, expression

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
sebirello
Posts: 25
Joined: Wed Nov 02, 2016 12:56 am

URL - Request Test - plain text, expression

Post by sebirello »

Hi,

can anybody tell me how to setup a URL - Request Test, which tests if the following is available in plain text:

https://.../.../.../... : OK
...@https://.../.../.../... : OK
...@https://.../.../.../... : OK
...@https://.../.../.../... : OK
...@https://.../.../.../... : OK

Or a better way I guess would be an expression which checks if the text contains anything other than OK? So it could be, that the result is for example "failed" or "bad".

With "Check contents" it is only possible to type in 126 characters.

Thank you!
Kind Regards,
Sebastian
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Or a better way I guess would be an expression which checks if the text contains anything other than OK
You have "https:/..." in the text, right?
So, if you check for anything but Ok, it will find "https:/...".

If you need to check for some errors (more than one possible error message), use expression mode and expression like not ('Error1' or 'Error2')"

Regards
Alex
sebirello
Posts: 25
Joined: Wed Nov 02, 2016 12:56 am

Post by sebirello »

Thanks Alex, I'll try the expression:

not "('failed' or 'error')"

Kind Regards,
Sebastian
Post Reply