mercredi 22 avril 2020

Postman Request in Pre-Request Script

So basically, for my Restful Webservice I need to log in as an Admin, before I can start an automated series of tests in Postman. In there any way to send a login request (http://localhost:8080/Webservice_war_exploded/resource/user/login) with Form-Parameters username=admin1 & password=1234 as a Pre-Request Script? Alternatively can I link to a already existing test case that that logs in as an admin?

Aucun commentaire:

Enregistrer un commentaire