loadrunner中controller 中scenario-> rendezvous灰色不可用的解决方法:

loadrunner中controller 中scenario-> 集合 灰色不可用的解决方法

1.首先确保lr_rendezvous(“login”);函数添加成功

Action()
{

web_set_max_html_param_len("2048");


lr_rendezvous("login");


lr_start_transaction("login");



web_submit_data("AjaxLogin", 
	"Action=http://192.168.0.188:81/Account/AjaxLogin?r=0.6937264444814134", 
	"Method=POST", 
	"RecContentType=textml", 
	"Referer=http://192.168.0.188:81/Account/Login", 
	"Snapshot=t3.inf", 
	"Mode=HTML", 
	ITEMDATA, 
	"Name=UserName", "Value={user}", ENDITEM, 
	"Name=UserPwd", "Value=111111", ENDITEM, 
	LAST);

web_url("Index", 
	"URL=http://192.168.0.188:81/UserCenter/Index?r=0.6172461120396082", 
	"Resource=0", 
	"RecContentType=textml", 
	"Referer=http://192.168.0.188:81/Account/Login", 
	"Snapshot=t4.inf", 
	"Mode=HTML", 
	EXTRARES, 
	"Url=../Areas/Shop/Themes/M1/Content/Images/image/sprite_usermember.png", "Referer=http://192.168.0.188:81/UserCenter/Index?r=0.6172461120396082", ENDITEM, 
	"Url=../Areas/Shop/Themes/M1/Content/images/image/icon_level.png", "Referer=http://192.168.0.188:81/UserCenter/Index?r=0.6172461120396082", ENDITEM, 
	"Url=../Areas/Shop/Themes/M1/Content/images/userCenter_print.png", "Referer=http://192.168.0.188:81/UserCenter/Index?r=0.6172461120396082", ENDITEM, 
	"Url=../Areas/Shop/Themes/M1/Content/images/msg.png", "Referer=http://192.168.0.188:81/UserCenter/Index?r=0.6172461120396082", ENDITEM, 
	LAST);

lr_end_transaction("login",LR_AUTO);

/* Registering parameter(s) from source task id 61
// {Siebel_Analytic_search_id2} = "1"
// */

web_reg_save_param("Siebel_Analytic_search_id2", 
	"LB/IC=sid="", 
	"RB/IC="", 
	"Ord=1", 
	"Search=Body", 
	LAST);

web_link("退出", 
	"Text=退出", 
	"Snapshot=t5.inf", 
	LAST);

web_custom_request("_GetDateTime", 
	"URL=http://{Siebel_Analytic_search_id2}92.{Siebel_Analytic_search_id2}68.0.{Siebel_Analytic_search_id2}88:8{Siebel_Analytic_search_id2}/Partial/_GetDateTime?r=0.{Siebel_Analytic_search_id2}2004432052{Siebel_Analytic_search_id2}45364", 
	"Method=POST", 
	"Resource=0", 
	"RecContentType=textml", 
	"Referer=http://{Siebel_Analytic_search_id2}92.{Siebel_Analytic_search_id2}68.0.{Siebel_Analytic_search_id2}88:8{Siebel_Analytic_search_id2}/Home", 
	"Snapshot=t6.inf", 
	"Mode=HTML", 
	"EncType=", 
	LAST);

return 0;

}
如果还是没有,怎么办呢?

在这里插入图片描述

新建场景的时候“Manual Scenario”下的check box不能选中,取消选中就好了。
既Vuser不能以百分比的形式。

所以:集合点灰化有两种情况:

1.脚本没有添加集合点函数
在这里插入图片描述

2.场景中设置以Vuser组模式,不要选择以百分比模式执行
在这里插入图片描述

3.如果选择的是 面向目标 的场景方法,集合点是不可用的

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值