Forum Discussion
Hi, you will have to create a property transfer step to grab the particular value from the xpath. for that you will need to write a expression to pull specific value where status equals something
for example - //*:status[text()='INPROGRESS']/preceding-sibling::*:executionId/text()
I was able to grab the unique properties from node using above in soapUI
- CarsScott9 years agoNew Contributor
Thanks so much!
I understand this much of the xpath - //*:status[text()='INPROGRESS']
Could you explain the rest of your expression please? /preceding-sibling::*:executionId/text()
- testhrishi9 years agoFrequent Contributor
/preceding-sibling::*: is a literal you can keep that part and then you can provide the element name for the text you are looking to retain from the response node followed by the /text(). Tha should get you the conditional value you looking to grab. I may have to look at the response to know more.
- CarsScott9 years agoNew Contributor
Perfect, thanks for explaining and your help!