Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

Problem using xpath in validation

$
0
0

For a soapReuest step i created al validation on a respons.
I click on the radiobutton for "on a particular node" and entered a xpath "//resultaatcode".
To let te validation be succesfull the respons must NOT contain te letter F.
My response (simplified) is:

<?xml version="1.0" encoding="UTF-8"?>
<Envelope>
<Body>
<haalAantalBijStatusResponse>
<selectieResultaten>
<terugmelding>
<resultaatcode>F</resultaatcode>
<signaleringen>
<signalering>
<signaleringscode>X-1001</signaleringscode>
<omschrijving>Onverwachte technische fout opgetreden</omschrijving>
<toelichting>
... etc etc

The assertion result is: "Assertion failed. XPath expression is incorrect (No XML node found)."
Why does NeoLoad think the XPath is wrong?


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>