AnsweredAssumed Answered

Removing xml node from response

Question asked by zifirr on Jan 24, 2017
Latest reply on Jan 24, 2017 by Seenu_Mathew

Good Day,


<soapenv:Envelope xmlns:soapenv="">
<ser-root:abc xmlns:ser-root="http://***/abcTest" xmlns:xsi="">


I have this xml response from a service.

I would like to remove val1 node from this document. 


I am trying to complete the following steps.

1) route to server and get response

2) reponse mutch match xpath -> /soapenv:Envelope/soapenv:Body/ser-abc/Untitled/val1

3)  set the context variable    and remove xml elements 

I think I am having problems with step3.


How do I use the variable prefix in step 2 and context variable in step 3?


Any help with the assertions would be appreciated.

Also is there any documentation about handling assertions with examples?


Warm Regards.