WSDL Refactoring Download Trial - Free 14 day evaluation

Reference - Request interface

PDF Print E-mail
User Rating:  / 5
Rate this article: PoorBest 

figure13a

figure13a


Editor Toolbar

 

The editor toolbar (see 1_snag_evi of figure above ) has the following actions:

run Submit - submits the request to the specified endpoint

addToTestCase Add to TestCase - prompts to add the request to a TestCase, same as the request-menu action described above

mockResponse Add as MockResponse Step (soapUI Pro only) - prompts to create a MockResponse Step this request in an existing or new TestCase as described above.

mockResponse Add to MockService - prompts to add the requests operation to a MockService, same as the request-menu action described above

recreate_request Recreate Request - prompts to recreate the request xml from the operations input message definition. Also prompts if any values in the current request should be kept in the recreated request

create_empty_request Create Empty - prompts to create an empty soap-request with no soap-body

clone_request Clone Request - prompts to clone the request, same as the request-action described above. You will be prompted for a name for the new request and the new request will be placed after the cloned request.

cancel_request Cancel Request - cancels an ongoing request (disabled if no request is running)

Endpoint Combo - a combo-box listing the endpoints available for this requests operations' interface. The combo box also contains the following options (as shown in the image):

o [edit current...] option for changing the current new endpoint directly

o [add new endpoint...] option for adding a new endpoint directly

o [delete current...] option for deleting the current endpoint directly

Editor Layouts

The editor layout ( see 2_snag_evi of figure above) can be customised. See below for explanation:

toggle_tabs Tab Layout - toggles between the tab and split request editor layouts as described below

split_request_pane Editor Orientation - changes the orientation of the request/response editors between left/right and top/bottom

help-browser Online Help - Displays this page in an external browser

The editor is available in 2 layout modes which can be toggled with the figure13a_icon "Tab Layout" toolbar button (top right):

Split Layout (default, shown above) - the editor is divided into a left request-area and a right response-area; submitting the requests posts it to its endpoint and displays the result in the right area. When moving focus to one of the editors, the dividing split pane will automatically be moved to give the focused editor a larger visible area, diminishing the requirement to resize the split pane manually when working with request/response messages. This behavior will be disabled when manually dragging the split-pane to a desired position and re-enabled when changing the split pane orientation or when closing/re-opening the request-editor for the current request. It can also be turned off completely using the designated option in the UI Settings

Tabbed Layout - the editor displays the request or response areas in separate tabs available at the top of the editor window. Submitting a request automatically selects the response tab after the response has been received.

 

The Request Editor

 

The request editor is opened by either double-clicking a request in the navigator or by selecting its Open Request Editor popup menu item, and displays the current request and response messages together with a toolbar and a number of detail tabs as shown below in a configurable Editor Layout.

Vertically on the left side of each editor are tabs for each editor view (see 3_snag_evi of figure above). The 'XML' source view is always available, as is the 'Raw' source view. soapUI Pro also adds the following addition views:

An Outline Editor for both request and response messages.

A Form Editor for easier editing of request messages.

An Overview View for easier inspection of response messages.

The following inspectors are available at the bottom of each message editor;

HTTP Headers : shows the request/response HTTP Header editor/viewer

Attachments : show the associated request/response Attachments editor

SSL Info (Response only) : shows detailed response SSL Details for the current response

WS-A : shows WS-Addressing header properties

 

In soapUI Pro, the bottom right corner (under the scrollbar) contains a button to show a panorama view of the current editor view, allowing easier navigation around large/complex messages/views (available in all editor views, see screenshot to the right)

 

Inspectors


Below are explanation of each inspector(see 4_snag_evi of figure above):

Aut - allow us to use the WS-Security setting set in the WS-Security Tab in the Project viewer.

HTTP Headers - displays the configured/received HTTP headers for the corresponding request/response message. For request message headers, buttons for adding/removing HTTP headers to be sent with the request are available from a toolbar below the table.

SSL Info - displays a list of certificates that were involved in negotiating the current message exchange, the following screenshot shows this information for a default request to the PayPal API.

WS-A - displays properties used for adding WS-A headers to a Request/MockResponse according to WS Addressing specification

WS-RM - displays properties used for setting up and using a WS-RM Sequence for the request according to the WS Reliable Messaging specification


XML Source Editor

 

The request and response XML editors support syntax highlighting, undo or redo, copy and paste, etc. soapUI Pro also adds a number of additional editor views to the default "XML"; "Outline" and "Form", together with a number of Message Inspectors shown below the request and response message The following actions are available from the request and response editor right-button menus:

figure12d

Below are some explanation for each xml editor action ( see figure above)

Validate - validates the editors' content against its message definition as described below

Format XML - pretty-prints the xml in the editor

Add WSS-Username Token - prompts to add a WSS-Username SOAP-Header to the request message using the username/password specified in the Request Details Tab

Add WS-Timestamp - prompts to add a WS-Timestamp SOAP-Header to the request message

Outgoing WSS - enabled only when there are Outgoing WSS Configurations added and applies or removes outgoing wss from request.

WS-A Headers - enabled only when WS Addressing is enabled for the request and removes or adds WS-A Headers from the request as configured in the inspector

Undo/Redo/Copy/Cut/Paste/Find/Replace - standard editing functions

Go To Line - prompts for a line to move to

Show Line Numbers - toggles line-number visibility

Save as - prompts to save the editors content to a local file

Load from - prompts to load the editors content to a local file

Get data.. - a soapUI Pro specific popup that allows you to select a property accessible from the request for generating the corresponding property-expansion at the current caret-position.

Shortcut:

Also, a number of custom keyboard actions are available to make your "everyday-soapui-editing" easier:

Alt-Enter : submits the request to the specified endpoint

Alt-X : cancels a running submit

Alt-left/right arrow : moves between element values

Shift-Tab : moves focus between request/response areas



Go to Article Page: Go to Previous Page 1 2 3