How to get login cookie in Jython script and call it in related script #735
Answered
by
imbyungjun
zhougy1989
asked this question in
Q&A
-
测试场景是登录获取cookie,然后在下一个脚本中使用cookie维持登录状态 |
Beta Was this translation helpful? Give feedback.
Answered by
imbyungjun
Jan 8, 2021
Replies: 1 comment 1 reply
-
You can find a jython login scenario sample code here. If you want to maintain the cookie in another script(=another performance test), you have to store the cookie value to somewhere and then, set the cookie before run the test. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
donggyu04
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can find a jython login scenario sample code here.
If you want to maintain the cookie in another script(=another performance test), you have to store the cookie value to somewhere and then, set the cookie before run the test.