lundi 2 mars 2020

How can I test all my API calls with token, with out token, expired token and invalid token

I have several services for my application. I have doing functional test on all the APIs. I want ot build a test case where I want to create a method or Array that will test all the Rest APIs and validate if successful response with token, without token, invalid token and expired token. The token I have using is a 0AUTH2.0 Bearer token. How can I achieve this?

Aucun commentaire:

Enregistrer un commentaire