Forum Discussion

Nita's avatar
Nita
Occasional Contributor
16 years ago

I need a method other than simple NotContains assertion!

Hai,

I need to check whether a response doesn't contain purticular values given in propery step.

So I added simple not contains assertions and tested.
But when I am checking for the absence of suppose 10, it shows failed if response has a 100.
This is just an example.

Now to solve my problem I need a method by which I can show (for more than two property values) they are not present in purticular nodes.
Like

in the response,in the tag

?//$(Property#name) is not present
? // $(Property#key) is not present

and namespace for msg is known.


Can anybody help me! You can consider me as a beginner in SOAPUI.


Regards,
Nita
  • barnash's avatar
    barnash
    Occasional Contributor
    I don't think I understand.
    I understood your example, which seems like you can just use a regular expression to solve it.
    But I'm not sure I got you real problem, can you try to explain it better?