51Testing软件测试论坛
标题:
lr如何对cas单点登录登出性能测试
[打印本页]
作者:
shentao2018
时间:
2018-12-21 10:54
标题:
lr如何对cas单点登录登出性能测试
Action()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 5
// {PeopleSoftJSessionID3} = "2085551FD67FAB001A2D7D7123117669"
// */
web_reg_save_param("PeopleSoftJSessionID3",
"LB/IC=jsessionid=",
"RB/IC=?",
"Ord=1",
"Search=Body",
LAST);
web_reg_save_param("sessionID",
"LB=value",
"RB=>",
LAST);
web_url("mh",
"URL=http://127.0.0.1:8080/mh",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"URL=/cas/images/bbg.gif", "Referer=http://127.0.0.1:8080/cas/login?service=http%3A%2F%2F127.0.0.1%3A8080%2Fmh%2F", ENDITEM,
LAST);
lr_rendezvous("登录集合点");
lr_think_time(5);
web_submit_data("verify.jsp",
"Action=http://127.0.0.1:8080/cas/verify.jsp",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://127.0.0.1:8080/cas/login?service=http%3A%2F%2F127.0.0.1%3A8080%2Fmh%2F",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=type", "Value=CLIENT-JDBC", ENDITEM,
"Name=clientHello", "Value=fwzx", ENDITEM,
LAST);
web_submit_data("verify.jsp_2",
"Action=http://127.0.0.1:8080/cas/verify.jsp",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://127.0.0.1:8080/cas/login?service=http%3A%2F%2F127.0.0.1%3A8080%2Fmh%2F",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=type", "Value=CLIENT-HELLO", ENDITEM,
"Name=clientHello", "Value={sessionID}", ENDITEM,
LAST);
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2