cancel
Showing results for 
Search instead for 
Did you mean: 

Soapui - updating response xml file

SOLVED
Highlighted
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?
1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Soapui - updating response xml file

Please check the similar thread on updating xml


Regards,
Rao.

View solution in original post

4 REPLIES 4
Community Hero

Re: Soapui - updating response xml file

Occasional Contributor

Re: Soapui - updating response xml file

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
Tags (1)
Community Hero

Re: Soapui - updating response xml file

Please check the similar thread on updating xml


Regards,
Rao.

View solution in original post

Community Hero

Re: Soapui - updating response xml file

New Here?
Join us and watch the welcome video:
Final Interview in the Series
API_testing_mistake#7
Top Kudoed Authors
Top Kudoed Posts