if endpoint is not ready how would use test it
I would mock it with Postman
and swap the base url when it's ready
if endpoint is not ready how would use test it
I would mock it with Postman
and swap the base url when it's ready
how do you do positive api testing
How I do positive testing in api,
- 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
How I do negative testing in api,
- I send invalid request parameters
- or invalid headers
- or invalid request json body and verify
that response status code is not 200
- and response body contains error message
(for example there are 100 employees numbered
from 1 to 100 I send 101 as a parameter and I
should be able see 404 Not Found
The requested resource was not found.)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us