Request and response handling using Scripts

So far, we have discussed about manipulating individual elements such as projects, test cases, and test steps of a soapUI project. However, we have not specifically looked into the different operations which can be carried out on request and response messages. soapUI provides us with a few important APIs to use with request and response messages:

  • com.eviware.soapui.support.GroovyUtils: The API documentation of the GroovyUtilsclass (http://www.soapui.org/apidocs/com/eviware/soapui/support/GroovyUtils.html) provides us with all the necessary information to use this API.
  • com.eviware.soapui.support.XmlHolder: This is a very useful API to act upon XML request and response messages. More details about the API ...

Get Web Services Testing with soapUI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.