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
URL - Request Test - plain text, expression
You have "https:/..." in the text, right?Or a better way I guess would be an expression which checks if the text contains anything other than OK
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