Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Sure!
Try this script:
This should format all requests in your project. You can modify it to run over TestSuites if needed.
Regards,
Dain
eviware support
Try this script:
import com.eviware.soapui.support.xml.XmlUtils;
for(i in project.interfaceList) {
for(o in i.operationList) {
for(r in o.requestList) {
r.requestContent = XmlUtils.prettyPrintXml(r.requestContent);
}
}
}
This should format all requests in your project. You can modify it to run over TestSuites if needed.
Regards,
Dain
eviware support
Related Content
- 7 years agocata12
- 2 years agoLennSar
- 4 years agojamadarshivani