简体   繁体   English

如何关联 loadrunner 的 cookies 值

[英]how to correlate cookies value of loadrunner

web_add_cookie("JSESSIONID=s%3A1Yim88omE7km7CjHfJbIkYsG7s32F82m.d7U2czNHMD9PYItOK9pzPGyu4c0JeROSolDsQgSHpjY; DOMAIN=XXX"); web_add_cookie("JSESSIONID=s%3A1Yim88omE7km7CjHfJbIkYsG7s32F82m.d7U2czNHMD9PYItOK9pzPGyu4c0JeROSolDsQgSHpjY; DOMAIN=XXX");

web_add_cookie(" VCAP_ID =5eebc8db-4f0d-42aa-77ac-31f9; DOMAIN=XXX"); web_add_cookie(" VCAP_ID =5eebc8db-4f0d-42aa-77ac-31f9; DOMAIN=XXX");

The cookie should be change everytime and can't been correlation, how can i get this cookie 应该每次都改变,不能关联,我怎么能得到这个

enter image description here在此处输入图像描述

Read your documentation.阅读您的文档。 Cookies are handled automatically in LoadRunner. Cookies 在 LoadRunner 中自动处理。 You only need to correlate values which appear in GET/POST/HEAD or other user based request going to the server您只需要关联出现在 GET/POST/HEAD 或其他基于用户的请求中的值到服务器

Cookies are handled automatically within LoadRunner. Cookies 在 LoadRunner 中自动处理。 You should parametrise anything that will be needed for requests further than the test.除了测试之外,您应该对请求所需的任何内容进行参数化。

You are getting an "Authentication Required" error.您收到“需要身份验证”错误。 You need to add a web set user to the top of your script.您需要将 web 设置用户添加到脚本的顶部。 This will allow you to get start a session with your script and ahttps://admhelp.microfocus.com/lr/ja/2020-2020_SP1/function_reference/Content/FuncRef/web/lrFr_web_set_user.htm这将允许您使用您的脚本和 https://admhelp.microfocus.com/lr/ja/2020-2020_SP1/function_reference/Content/FuncRef/web/lrFr_web_set_user.htm 启动 session

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何关联脚本加载程序的第一个请求中的动态值 - How to correlate a dynamic value in the first request of script loadrunner 如何在Loadrunner中关联具有动态边界的函数? - How to correlate a function having dynamic boundaries in Loadrunner? 我们如何在Loadrunner中关联日期/时间 - How can we correlate date/time in loadrunner 如何在loadrunner 12.50中清除cookie - How to clear cookies in loadrunner 12.50 如何关联和参数化文件路径,该文件路径未记录在LoadRunner和Fiddler的脚本中(版本:11.52) - How to correlate and parameterize, the file path, which is not recorded in the script in LoadRunner and Fiddler (version: 11.52) Loadrunner,如何获取cookie值? - Loadrunner, how to get cookie value? 如何将参数值分配给 loadrunner 中的字符串变量 - How to assign param value to a string variable in loadrunner 如何关联从LoadRunner 12.02中的Worklight服务器响应字符串发送的响应中发送的两个相同编码的变量? - How do I correlate two identically coded variables sent in the response from a Worklight server response string in LoadRunner 12.02? 如何在 loadrunner.. 中传递随机特定值? - How to pass random particular value in loadrunner..? 如何参数化json文件中的值-loadrunner - how to parameterize the value in json file - loadrunner
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM