Ask a Question

Soapui - updating response xml file

SOLVED
skaushik9
Occasional Contributor

Soapui - updating response xml file

My requirements is mentioned below
1) I am able to ready multiple rows from excel file using groovy script
2) I want to add dynamic child nodes based on data from step 1 in response xml using groovy script
3) then execute the test case using groovy script

Can I get code to achieve this?
4 REPLIES 4
nmrao
Community Hero

skaushik9
Occasional Contributor

Roa- Thanks for above.

Note - I am testing response message generates from WSDL in SOAPUI (web service)

Can you also guide on code for below steps in one groovy script
1) Groovy code for getting access to response XML which exist as part of WSDL response message
2) Add new nodes based on namespace in response XML using Groovy script
3) Using groovy script post the modified XML so that it gets executed after Groovy script modifies it

Thanks in advance

Please check the similar thread on updating xml


Regards,
Rao.

cancel
Showing results for 
Search instead for 
Did you mean: