I want to get access token from the given REST-API call. I have tested this in postman and it is working fine which needs data to be entered in all 3 tabs( Authorization, Header and body and need to fire post method). Please find the attached screenshots for better clarity. Please guide me how to automate this with java and jayaway restassured library or any other solution.
Postman screenshot- Authorization tab
Postman Screenshot - Header tab
Note: Username and password is different in Authorization and in different in Body tab
Aucun commentaire:
Enregistrer un commentaire