Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Hi!
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
Related Content
- 7 years agocata12
- 2 years agoLennSar
- 4 years agojamadarshivani