We’re happy to announce that we've expanded support for results analysis to API tests!
A failure analysis for an API test
Already available in early access for web and mobile tests, results analysis uses generative AI to analyze test output and provide a succinct explanation of why the test failed. With results analysis, you can quickly understand failures, identify patterns in failures, and reduce overall time spent on identifying and resolving bugs.
For API tests, mabl sends the following test output data to the model to generate a failure analysis:
- Test name and description
- Information on the request and response for up to 5 failing test steps
- Information on the request and response for the same test steps in a recent passing run, if there is one
- The pre-request script, post-request script, and assertions for failing test steps
- The variables defined in the test run and their values