KRR
8 years agoNew Contributor
Assert not equals a specific value
I have a web service that I am creating a test suite for in Soap UI Pro (Ready API 2.0). I need to add an assertion that a particular field does NOT return the value 1.0 but I can't figure out how to...
- 8 years ago
So if you use an XPATH assertion, you'd end up with an xpath statement that ends up like:
//ns1:myWebServce/return/factor
in the top part of the assertion and
1.00000605897785
in the bottom pane, saying that this is the expected value.
You can change your XPATH statement to
//ns1:myWebServce/return/factor = 1.0
and have your expected value be
false