标签: testing automated-tests postman prerequisites
因此,基本上,对于我的Restful Web服务,我需要以管理员身份登录,然后才能在Postman中开始一系列自动测试。 有什么方法可以发送带有表单参数http://localhost:8080/Webservice_war_exploded/resource/user/login和username=admin1作为预请求脚本的登录请求(password=1234)? 另外,我可以链接到以管理员身份登录的现有测试用例吗?
http://localhost:8080/Webservice_war_exploded/resource/user/login
username=admin1
password=1234