LoadRunner使用笔记
JSESSIONID的含义:
1.使用JSESSIONID访问网站
Action()
{web_add_cookie("JSESSIONID=C65D675FEB77813405EB7C31AD5846AF; DOMAIN=127.0.0.1"); //DOMAIN:域名
lr_start_transaction("浏览");
web_url("test.html",
"URL=http://127.0.0.1:88080/CMS/test.html", "Resource=0", "RecContentType=text/html", "Referer=http://127.0.0.1:88080/CMS/index.html?language=zh", "Snapshot=t21.inf", "Mode=HTML", LAST);lr_end_transaction("浏览",LR_AUTO);
lr_think_time(13);
return 0;
}