Applies to ReadyAPI 2.5, last modified on October 22, 2018

The Form panel shows user-friendly input forms for the request parameters.

The Form panel

Click the image to enlarge it.

Depending on the value type – for example, for the date/time, byte-array, enumerator, and list values – ReadyAPI displays different field types. These are custom fields that make working with them faster and easier.

Panel Limit

To display the request in the Form panel, ReadyAPI has to analyze it and display the contents. For complex requests, this may take an extended period of time, so ReadyAPI displays a warning instead. You can dismiss this warning and continue, but creating a form may take long or cause ReadyAPI to crash.

The warning appears if there are over 2000 items in the service definition, or if the XML definition is over the maximum value specified in ReadyAPI options. Also, when you open the panel, only the first level of forms will be available to prevent possible issues. We recommend keeping only the necessary forms open.

Configuring View Type

You can use the View Type drop-down list to filter fields by their definition. This is useful in a manual testing scenario where you need only to modify certain fields.

The View Type drop-down list

Click the image to enlarge it.

Below are the available options:

Option Description

All

Shows all elements.

Mandatory

Shows only required elements.

Data

Shows only elements containing data.

Mandatory And Data

Shows required elements and elements containing data.

Validate Parameter Values

To check if the data types of parameter values match the specification of your request, click on the toolbar. The editor will highlight the parameters with mismatching data types:

API testing: Validate request values

This feature works for WSDL services and for the REST services based on Swagger 2.0 specifications in the JSON and YAML formats. Also, these Swagger 2.0 services must be added to the project in ReadyAPI 2.2 or later.

For other services, the check always succeeds.

If you test a RESTful service, you may change the parameter data type on the Request page of the editor, but the command will validate request values against the spec, not against the settings on this page.

See Also

Request (REST) Panel
REST Request Toolbar
Outline Panel
Raw Panel
XML (SOAP) Panel

Highlight search results