10 June 2009 - 3.0-beta-2 |
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).
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
The following properties are available at the bottom left for a REST Method:
Right-clicking a resource shows a popup with the following actions: