I am interested to be able to have full API E2E test automation based on the OpenAPI *examples <https://swagger.io/specification/#examples-object-92>*. I’d like to figure out a way to accomplish this ideally without having to pay for a *3rd party tool <https://swagger.io/commercial-tools/>* to accomplish it and am open to do some coding to make it happen.
The E2E high-level test flow executed by (TravisCI/CircleCI/Jenkins/VSTS/etc) would look something like the following: 1. Check-in updated OpenAPI spec with examples for every API call available into source 2. Some tool exports the OpenAPI spec into testable format 3. Add/Update/Inject Environment secrets/variables (i.e. like JWT auth token, etc) 4. Some tool executes the entire suite based on the examples from the OpenAPI spec with added secrets/parameters to test the actual API works via the examples provided in the spec itself. At any rate: Are you aware of any tools which accomplish the E2E flow I’m talking about (or better solution)? I’m aware of *newman <https://github.com/postmanlabs/newman>* (some holes in the flow 2-3 there with Postman, but can do #4) and started looking at *these tools <https://github.com/OAI/OpenAPI-Specification/blob/master/IMPLEMENTATIONS.md> *but none of them seem to do all of the above… I realize this doesn’t cover every scenario, but I feel it would be helpful for PR validation, API usability, and possibly ‘basic’ monitoring solution. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
