CoAP Tab (Properties Pane - API Testing)
Relevant for: API testing only
This tab enables you to define request and response data for your test steps that send a CoAP Request to a CoAP service.
To access |
|
Relevant tasks | Send a CoAP request |
User interface elements are described below (unlabeled elements are shown in angle brackets).
UI Element |
Pane Body type |
Description |
---|---|---|
Request/Response:
|
Remove. Deletes the contents of the:
|
|
Request/Response:
|
Browse. Enables you to load a non-XML file containing the request/response body. |
|
Request/Response:
|
Link Body. Opens the Select Link Source Dialog Box (API Testing) for selecting a data source. |
|
<checkpoint list> |
Response pane |
A list of the checkpoints with the following information:
|
<message body> |
Request/Response panes
|
The body of the request or response loaded through a file, pasted from a clipboard (Edit > Paste), or manually entered. |
Clear |
Request/Response:
|
Clears the contents of the Request/Response Body areas. |
Import Schema |
Request/Response:
|
Imports an .xsd file containing the schema of the request or response. |
Load File |
Request pane:
|
Loads a non-.xml file containing the request. |
Load JSON |
Request/Response:
|
Loads a .json file containing the request or response. |
Load XML |
Request/Response:
|
Loads an .xml file with the request or response body. |
Request Body |
Request pane |
The format of the request body: XML, Text, File, or JSON. This request body is found in the <test results folder>\Report\Data folder. |
Response Body |
Response pane |
The format of the response body: XML, Text, File, or JSON. This response body is found in the <test results folder>\Report\Data folder. |