When an API test runs locally, its output is captured in a Local Run Output window and does not persist inside the mabl app.
You can find the following types of output from a local API test run:
|Request method and endpoint|
|Status, response size, and API response time|
|Console log statements|
When an API test runs in the cloud, its results are captured in the Test Output page.
There is no live view for API tests. When you trigger an API test in the cloud, the test executes to completion and then the results are shown.
Click on View all to review information about the test run.
Click on test steps to review detailed information about that specific API request:
- Request details
- Response details
- Assertions: Indicates the status (pass/fail) of each assertion for a test step
- Console logs: If you are running a console log statement in a script, it appears in this tab.
- Errors: Error messages for failing steps appear here.
To avoid accidental exposure of secrets, the values of sensitive properties and headers are replaced with a
***** placeholder. If you want to view the masked values in a specific tab, you can click on the
Show icon in the upper right corner.
When sensitive values are revealed in that particular tab, the
Show button changes to
Hide. To mask values again, click on the
If you navigate away from a tab where values are revealed and return to it later, the values will be masked again when the tab is reopened.
Sensitive values that are being masked
Note that names are case-insensitive.
Updated about 2 months ago