data for testing api code example
Example 1: where do you keep test data in api
I keep in jSon file
Example 2: what to test in api
Basicall we are checking response body
to verify if request matches with response.
After that we are writing SQL query
to double check if database matches.
We can say happy path if all pass