positive testing code example
Example 1: positive testing
How I do positive testing,
- I send valid path and query parameters,
- valid headers,
- valid request body to valid url and verify that
- response status code is correct and
- response body is as expected
Example 2: positive testing
How I do positive testing,
Testing the application with valid inputs
- I send valid path and query parameters,
- valid headers,
- valid request body to valid url and verify that
- response status code is correct and
- response body is as expected