51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2180|回复: 2
打印 上一主题 下一主题

[求助] loadrunner11 录制脚本无法确定需要参数化的变量

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2014-3-3 17:36:45 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
下面为我录制的脚本,可是我无法确定需要我参数化的登录用户名和密码,已在登录时插入事务和集合点,请大侠帮我看看。。


登录账户: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);
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2014-3-4 10:28:03 | 只看该作者
问开发,不懂你业务没法回答
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2014-3-4 15:22:02 | 只看该作者
确认程序是否加密,咨询程序员。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-8 03:46 , Processed in 0.073364 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表