Hi, Mike here.
Just want to ask if it´s possible to compare and test if the answer the api delivers matches with the specified one on the API specification file. e.g.
The specification file says the answer for get: /products has to be an array, but the API´s response is an object. how can I make an assertion here?
Sorry if it´s a begginer question, but, I´m trying to get some help about it.
Thanks.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, Mike here.
Just want to ask if it´s possible to compare and test if the answer the api delivers matches with the specified one on the API specification file. e.g.
The specification file says the answer for get: /products has to be an array, but the API´s response is an object. how can I make an assertion here?
Sorry if it´s a begginer question, but, I´m trying to get some help about it.
Thanks.