Create Http Context | ${server} | scheme=http | |
Set Request Header | User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.6 Safari/537.36 | |
Set Request Header | Accept | text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 | |
HttpLibrary.HTTP.GET | / | ||
${cookie} | Get Response Header | Set-Cookie | |
${cookie} | Evaluate | ${cookie}[0] | |
${cookie} | Fetch From Left | ${cookie} | ; Path=/safety/; HttpOnly |
可参考:https://www.cnblogs.com/weizhideweilai/p/11221410.html