Use the Governance Rules Playground to validate your JSON or YAML documents against a series of Spectral rules.
Validation will return the elements in the API spec that are being validated (using JSONPath Plus) as well as the result of the Spectral validation.
Spectral is a flexible linter for JSON/YAML that comes with out of the box support for OpenAPI 2/3 and Async API.
JSONPath is a query language for JSON similar to XPath for XML. JSON Path allows you to search through JSON documents for elements that are then evaluated against the Spectral rulesets.
A getting started guide is hosted on the Github wiki.
The source code for this project is available on Github. Please raise an issue there or feel free to submit a PR.
Data submitted to this service for validation purposes is not stored or tracked. That said, please don't go submitting sensitive information online.
Use the Visual Test Composer to generate tests via a handy GUI. Just provide a valid JSON response from the API you wish to test, and the tool will render a form to help you generate tests/chai assertions. As you edit the fields within the form, the tests/chai assertions will be dynamically updated. Once you've settled upon your testing logic, copy and paste the generated tests/chai assertions into Postman!
Chai or more correctly, the Chai Assertion Library is a javascript package focusing on enabling users to author robust tests using Behavior-Driven-Development and/or Test-Driven-Development practices. If you are not familiar with Chai, it is quite ubiquitous within the world-wide API ecosystem and is natively included in the Postman testing sandbox (no need to overcome difficulties with importing external libraries)
1. Provide a response from the API you wish to test in the left-most pane.
2. Watch as a graphical form and tests are generated before your eyes.
3. Tweak the form to modify the generated tests.
4. When finished, copy the chai assertions to Postman
The source code for this project is available on Github. Please raise an issue there or feel free to submit a PR. Support for this tool is provided on a best-effort basis. *Importantly* this tool is not officially supported by Postman Inc. and was written by members of our Solutions team to enable and support our customers as much as we are able, but does not have the weight of the entire Postman organization behind it
All computation/generation for the Visual Test Composer is performed in client-side javascript and no JSON, form information, or chai assertions leave the web browser unless said action is explicitly performed by you.
Use the Test Reporter to generate a report based on the JSON Export from the Postman Collection Runner.
1. Run a collection using Postman Collection Runner.
2. Click the 'Export' button at the top of the screen.
3. Upload the JSON file to this tool.
4. View and save the generated report.
The source code for this project is available on Github. Please raise an issue there or feel free to submit a PR. Support for this tool is provided on a best-effort basis. *Importantly* this tool is not officially supported by Postman Inc. and was written by members of our Solutions team to enable and support our customers as much as we are able, but does not have the weight of the entire Postman organization behind it.
This tool helps you visualize and analyze your API test results. Here's how to use it:
The report includes:
Endpoint | Method | Response Code | Tests |
---|