robotframework-post request on a cookie request carrying the request returns

After the company's interface services need to login first to get the service side of the cookie, the cookie carry in subsequent requests can access

When attempting to use RF interface test automation tool, found that after the first login to access the interface, then the request is not automatically carried cookie is returned when the last request other interfaces, this is not the same with the postman, the need to manually handle requests it

 

After the first request is returned, at the second request to create a session, the contents of the specified cookies in response to the first request target your content cookies, cookie can carry the first request is returned when the second request content

 

Guess you like

Origin www.cnblogs.com/xiaxiaoxu/p/11299499.html