Ask a Question

Smart Assertion Conditions NOT Matches Regex

Smart Assertion Conditions NOT Matches Regex

List of Smart Assertion Conditions

0.  <, > , >= , <=

1. Equals                AND   Not Equal

3. Equals (one of)  AND   Not Equal (one of)

5. Exists                 AND       Does NOT Exist

7. Empty                AND   NOT Empty

9. Contains            AND  does NOT Contain

11.  Matches (regex)  AND.... AND..... (!!)  And...  and..... and....!!!     Uh..... what happened to NOT MATCHES (regex)  ?!?!

3 Comments
KarelHusa
Regular Contributor

@JAvila ,

this is a good point.

 

In the time being we can use a negative regexp, e.g.:

 

(?!UnwantedString).*

 

Best regards,

Karel

 

JAvila
New Contributor

Thank you KarelHusa - I did not know about this regex function - I would remove this featuer request now!

Thank you

KarelHusa
Regular Contributor

@JAvila , I think that using Does Not Match (regex) would be much more intuitive for users than negative regex. So your feature request still makes sense to me.

 

Announcements
Welcome to the ReadyAPI Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here