Automated test creation for REST API

I have about 30 REST endpoints for GET, POST, PUT, DELETE. To test their stability and functionality, I would like to have tests for invalid queries:

  • Empty body (if the endpoint requires a body)
  • Exisiting Body (if the endpoint does not require a body)
  • Invalid body data (missing values, values ​​with incorrect data types, etc.).
  • Invalid data for query parameters
  • Invalid headers

Is their a framework where I can specify the behavior of the endpoint (HTTP method, request data format, response data format) and that automatically generates test data or even tests from it?

+3


source to share





All Articles