Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Sorry, the code for the second one should actually be
Good luck!
/Nenad Ristic
http://eviware.com
// pretty print XML request in all test cases
for(s in project.testSuiteList)
{
for(c in s.testCaseList)
{
for(st in c.testStepList)
{
def r = st.testRequest;
if (r instanceof com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep) {
r.requestContent = XmlUtils.prettyPrintXml(r.requestContent);
}
}
}
}
Good luck!
/Nenad Ristic
http://eviware.com
Related Content
- 7 years agocata12
- 2 years agoLennSar
- 4 years agojamadarshivani