KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

URL - Request Test - plain text, expression

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
sebirello



Joined: 02 Nov 2016
Posts: 12

PostPosted: Mon Jun 26, 2017 4:03 am    Post subject: URL - Request Test - plain text, expression Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11782
Location: USA

PostPosted: Mon Jun 26, 2017 7:39 am    Post subject: Reply with quote

Quote:
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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sebirello



Joined: 02 Nov 2016
Posts: 12

PostPosted: Mon Jun 26, 2017 7:47 am    Post subject: Reply with quote

Thanks Alex, I'll try the expression:

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

Kind Regards,
Sebastian
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index