Navigate the API Testing menu
The API Testing menu consists of four sections:
API Testing menu
Module Attribute
Use the Module Attribute section of the API Testing menu to add, buffer, or edit Module Attributes.
You can use Module Attributes to steer message elements in your TestCase. For more information on how to use Module Attributes, see chapter "Module Attributes overview".
The following options are available in the Module Attribute section:
Option |
Description |
---|---|
Add |
Add Module Attributes. The dropdown menu offers the following options:
|
Buffer |
Add and buffer Module Attributes. The dropdown menu offers the following options:
|
Body |
Create a Module Attribute from the whole body of a message (see chapter "Create body Module Attributes"). |
Validate |
Check whether the Module Attributes in your API Modules are valid (see chapter "Validate Module Attributes"). |
Update |
Update Module Attributes for your API Module if the payload or schema has changed (see chapter "Update Module Attributes"). |
Connection
Use the Connection section of the API Testing menu to open the API Connection Manager and to add connections.
You can use the API Connection Manager to manage all your API connections and environments in one place. For information on how to work with the API Connection Manager, see chapter "Use the API Connection Manager".
The following options are available in the Connection section:
Option |
Description |
---|---|
Manage |
Open the API Connection Manager. |
Create a connection from an API Module to the API Connection Manager (see chapter "Manage API connections"). |
Tools
Use the Tools section of the API Testing menu to open Tricentis Tosca API Scan
The following options are available in the Tools section:
Option |
Description |
---|---|
API Scan |
|
Convert to TestCase |
Convert an OSV Scenario into an API TestCase. |
Message
Use the Message section of the API Testing menu to search message payloads, add files to your message, generate XTestStepValues, and to format the visible message. Additionally, you can update API Modules if the schema has changed.
The following options are available in the Message section:
Option |
Description |
---|---|
Update |
Update API Modules (see chapter "Update API Modules and Module Attributes"). |
Add Files |
Add a file to the payload of your message or as an attachment. |
Search for strings, regular expressions and wildcards in the message payload (see chapter "Search the payload"). |
|
Auto fill Values |
Generate XTestStepValues from the default values of the linked Module or from values pasted from your clipboard. |
Pretty Print |
Format the visible message in the Technical View of the selected Module. |
Word Wrap |
Break long text and wrap it into the next line in a selected module. |