Forum Discussion
The title of your post says "SoapUI Pro" but the body says Open Source. Which one are you using?
- Sandyapitester10 years agoFrequent Contributor
Both am using SoapUI pro NG 1.8 and open source 5.2.1
- Sandyapitester10 years agoFrequent Contributor
.andExpect(jsonPath("$.username", is("XYX")))
This is not working
if some one can help me to fix this issue
because I cant give element value here
.andExpect(jsonPath("$[0].username", is("XYX")))
because element value will change every time
any solution foe this issue
- Sandyapitester10 years agoFrequent Contributor
below the script while using in xquery assertion am getting all the data from description but I need only
username = XYX
Assertion Script :
declare namespace m= 'https://xxx.xxx.com';
<Result>
{
for $x in //username/text()
return $x
}Out put
<Result>XYX ANC UNB SJB HDB </Result>If any one can help me to fix this issue i would be more helpful for my execution