got-swag
got-swag copied to clipboard
:monkey_face: A tool to test Swagger-powered APIs automatically through monkey testing and custom test suites
Right now DELETE requests do not work. The problem is hat `delete` is a reserved word in JavaScript. I have changed the command to `del` to make it work.
Do you plan to support PUT in the future? It would be really helpful for our monkey tests 👍 Greetings, Felix
Hello, it will be very nice, if the got-swag tool could take the host param from the command-line arg like -h google.de instead of the yaml Greetz Fival
Sometimes it would be beneficial to generate test cases dynamically. Consider for example zip code ranges or numbers 1 to 100. Need to r&d an API to simplify that.
Parameters on path-level (and possibly other levels, need to check this) are ignored, e.g. ``` paths: /test parameters: ... # ignored get: parameters: ... # work ``` This seems to...
Notes: - POSTs are possibly destructive - A whitelist of hosts may be beneficial to prevent running POST monkey tests against a production environment
When running the monkeystore example on the petstore: got-swag http://petstore.swagger.io/v2/swagger.json examples/monkeystore.yaml -m the status does not get filled in { "MONKEY_LAST": { "parameters": { "status": null }, "statusCode": 200 }...
Otherwise, non-conforming error responses slip through.
Support would be nice. However I'm unsure if this is generally possible without human interaction, as login/consent is often application-specific.