Forum Discussion
SmartBear_Suppo
Alumni
17 years agoHi!
This should do what you want for TestSteps. Combine it with the old script to act over both Interfaces and TestSuites.
Regards,
Dain
eviware support
This should do what you want for TestSteps. Combine it with the old script to act over both Interfaces and TestSuites.
import com.eviware.soapui.support.xml.XmlUtils;
for(s in project.testSuiteList) {
for(c in s.testCaseList) {
for(st in c.testStepList) {
def r = st.httpRequest;
r.requestContent = XmlUtils.prettyPrintXml(r.requestContent);
}
}
}
Regards,
Dain
eviware support