09 July 2009 - 3.0 user guide eclipse intellij netbeans maven download nightly forum bugs blog sf.net eviware


Eviware Logo

REST Methods in soapUI

A REST Method in soapUI correspond roughly to a Method in WADL and is contained as a child to a REST Resource. It defines which HTTP Method, Parameters, Representations, etc are available to a child Request. Methods are created from the "New Method" Resource popup which prompts for an initial name, HTTP Method and if to open the method editor:

soapUI has built in support for visualizing both JSON and XML responses, and also internally converts HTML and JSON responses to XML so they can be used in functional tests together with other related features (property-transfers, xpath assertions, etc).

REST Method Viewer

The REST Method View is as follows:

The toolbar at the top contains an action to create a new request for this Method together with a combo box to edit the HTTP method of the Method. The "Method Parameters" tab contains all parameters for this Method and the "Representations" tab contains all representations, both as described in Parameters and Representations

Properties and Actions

The following properties are available at the bottom left for a REST Method:

  • Name : the name of the method
  • Description : a short description
  • HTTP Method : the HTTP Method to use by child requests

Right-clicking a resource shows a popup with the following actions:

  • Show Method Viewer - opens the Method Viewer (see below)
  • New Request - prompts to create a new Request for this Method
  • Clone Method - prompts to clone this Method including all children
  • Rename - prompts to rename the Method
  • Delete - prompts to delete the Method
  • Online Help - shows this page in a browser


Next: REST Requests