51Testing软件测试论坛

标题: loadrunner11 录制脚本无法确定需要参数化的变量 [打印本页]

作者: yjp5838028    时间: 2014-3-3 17:36
标题: loadrunner11 录制脚本无法确定需要参数化的变量
下面为我录制的脚本,可是我无法确定需要我参数化的登录用户名和密码,已在登录时插入事务和集合点,请大侠帮我看看。。


登录账户:000820  密码为空


lr_start_transaction("loginStart");



lr_rendezvous("login");



lr_think_time(30);



web_custom_request("UIDL_12",

"URL=http://172.29.0.181:8082/CNAPS2/login.view/UIDL/?windowName=1",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/login.view",

"Snapshot=t64.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=773e70bc-6a4b-4d11-8c59-ccb7ce664806\\x1D\\x1FPID17\\x1Ffocus\\x1Fs",

LAST);



web_custom_request("UIDL_13",

"URL=http://172.29.0.181:8082/CNAPS2/login.view/UIDL/?windowName=1",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/login.view",

"Snapshot=t65.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=773e70bc-6a4b-4d11-8c59-ccb7ce664806\\x1D\\x1FPID17\\x1Fblur\\x1Fs",

LAST);



web_custom_request("UIDL_14",

"URL=http://172.29.0.181:8082/CNAPS2/login.view/UIDL/?windowName=1",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/login.view",

"Snapshot=t66.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=773e70bc-6a4b-4d11-8c59-ccb7ce664806\\x1D\\x1FPID18\\x1Ffocus\\x1Fs",

LAST);



web_custom_request("UIDL_15",

"URL=http://172.29.0.181:8082/CNAPS2/login.view/UIDL/?windowName=1",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/login.view",

"Snapshot=t67.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=773e70bc-6a4b-4d11-8c59-ccb7ce664806\\x1Dtrue\\x1FPID18\\x1Fstate\\x1Fb",

LAST);



web_custom_request("UIDL_16",

"URL=http://172.29.0.181:8082/CNAPS2/login.view/UIDL/?windowName=1&onunloadburst=1",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/login.view",

"Snapshot=t68.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=773e70bc-6a4b-4d11-8c59-ccb7ce664806\\x1Dtrue\\x1FPID0\\x1Fclose\\x1Fb",

LAST);



web_url("j_spring_security_check",

"URL=http://172.29.0.181:8082/CNAPS2/j_spring_security_check?p=rFY4Ng0v69eUe%2BxxOt%2BrAEbFOEwrNSCxVofMmOmYCBXWwrNtMIS6yI7ZLF4gP%2BpiG4ftsKdoBXMi%0Awh%2BcjEES2w%3D%3D%0A",

"Resource=0",

"RecContentType=text/html",

"Referer=",

"Snapshot=t69.inf",

"Mode=HTML",

EXTRARES,

"Url=VAADIN/widgetsets/gneit.topface.ui.component.TopWidgetset/gneit.topface.ui.component.TopWidgetset.nocache.js?1393833993073", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/base/common/img/sprites.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/chameleon/img/grad-light-left.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/chameleon/img/split-handle.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/chameleon/img/tab-arrows.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/red/images/pagebar/Pagebar-FirstPage-Icon.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/red/images/pagebar/Pagebar-PreviousPage-Icon.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/red/images/pagebar/Pagebar-LastPage-Icon.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/red/images/pagebar/Pagebar-NextPage-Icon.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/red/images/pagebar/Pagebar-Refresh-Icon.png", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

"Url=VAADIN/themes/base/common/img/loading-indicator-delay.gif", "Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/", ENDITEM,

LAST);



web_url("F2E231716DC9B475785DC2C360127D98.cache.html_2",

"URL=http://172.29.0.181:8082/CNAPS2/VAADIN/widgetsets/gneit.topface.ui.component.TopWidgetset/F2E231716DC9B475785DC2C360127D98.cache.html",

"Resource=0",

"RecContentType=text/html",

"Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/",

"Snapshot=t70.inf",

"Mode=HTML",

LAST);



web_custom_request("UIDL_17",

"URL=http://172.29.0.181:8082/CNAPS2/MainApplication/UIDL/?repaintAll=1&sh=768&sw=1366&cw=1325&ch=563&vw=1325&vh=563&fr=",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/",

"Snapshot=t71.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=init\\x1D",

LAST);



web_custom_request("UIDL_18",

"URL=http://172.29.0.181:8082/CNAPS2/MainApplication/UIDL/?windowName=1",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/",

"Snapshot=t72.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=773e70bc-6a4b-4d11-8c59-ccb7ce664806\\x1D1\\x1FPID2\\x1Fpagelength\\x1Fi\\x1E1325|563|1325|563|1366|728|6|6|133|21\\x1FPID26\\x1FpositionInfo\\x1Fs",

LAST);



web_custom_request("UIDL_19",

"URL=http://172.29.0.181:8082/CNAPS2/MainApplication/UIDL/?windowName=1",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/",

"Snapshot=t73.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=773e70bc-6a4b-4d11-8c59-ccb7ce664806\\x1D29\\x1FPID35\\x1Fpagelength\\x1Fi\\x1E1325|563|1325|563|1366|728|226|25|133|21\\x1FPID43\\x1FpositionInfo\\x1Fs",

LAST);



web_custom_request("UIDL_20",

"URL=http://172.29.0.181:8082/CNAPS2/MainApplication/UIDL/?windowName=1",

"Method=POST",

"Resource=0",

"RecContentType=application/json",

"Referer=http://172.29.0.181:8082/CNAPS2/MainApplication/",

"Snapshot=t74.inf",

"Mode=HTML",

"EncType=text/plain;charset=utf-8",

"BodyBinary=773e70bc-6a4b-4d11-8c59-ccb7ce664806\\x1D563\\x1FPID0\\x1Fheight\\x1Fi\\x1E1325\\x1FPID0\\x1Fwidth\\x1Fi",

LAST);



lr_end_transaction("loginEnd",LR_AUTO);
作者: 云层    时间: 2014-3-4 10:28
问开发,不懂你业务没法回答
作者: lzqlove452    时间: 2014-3-4 15:22
确认程序是否加密,咨询程序员。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2