How to handle http errors in API testing ??

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to handle http errors in API testing ??

Abhishek
With reference to you API videos,
how can i handle http errors like 404 - Not Found , 500 - Internal Server Error while doing API testing ?
Reply | Threaded
Open this post in threaded view
|

Re: How to handle http errors in API testing ??

softwaretestingforum
Administrator
check for response code and throw appropriate error or catch and proceed as per your requirement
~ seleniumtests.com