Skip to content

Instantly share code, notes, and snippets.

@infomaven
Last active May 27, 2024 20:23
Show Gist options
  • Select an option

  • Save infomaven/2bf3c495a3357e59c24d6541db6c391c to your computer and use it in GitHub Desktop.

Select an option

Save infomaven/2bf3c495a3357e59c24d6541db6c391c to your computer and use it in GitHub Desktop.
SoapUI OSS Cheat Sheets

Create SoapUI Project from a Request

REST

So you don’t have a WADL, Postman v1 Collection or OpenAPI file for your REST api?

There are a few options available for this scenario.

  1. Use SoapUI Endpoint Explorer with the uri leading to an active service endpoint.
  • SoapUI can create a new REST interface and Project based on that one request
  1. Create an empty Project and add the request to it
  • Right-click and select “New REST Service from URI”

SoapUI will create an API resource object for you and provide editor windows to add details needed for your resources.

  • If the ApI contains an endpoint that uses an identifier in the path, specify this by using Parameter syntax -> #{PARAMETER_NAME} instead of the hard-coded value (ex. /api/path/#{ID}

SOAP

SOAP services are slightly different in that they can use different protocols besides http.

In theory, http Soap services send the soap message as an xml payload in a POST request.

You can use the SoapUI Endpoint Explorer to try these out, but for creating a full project, it is highly prefereable to obtain a WSDL service definition file.

A sample request would look like this -

todo: find an example operation as POST 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment