loadrunner怎么设置参数化
时间:2023-12-31 05:02:30
1、在loadrunner的进行编写脚本,或者一个网页登录界面进行录制脚本,录制完成之后,在脚本找登录的用户名,选中用户右键》》replace with a pararmeter。
![loadrunner怎么设置参数化](https://img.aspxhome.com/file/2023/3/a292917_0.jpg)
2、弹出了一个为select or create parameter的框,可以对parameter name名称重名,也可不命名。
![loadrunner怎么设置参数化](https://img.aspxhome.com/file/2023/3/a292917_1.jpg)
3、这样在代码脚本中的用户名就变为了一种颜色,变为参数名。
![loadrunner怎么设置参数化](https://img.aspxhome.com/file/2023/3/a292917_2.jpg)
4、需要对参数名进行参数化,可以点击菜单中的open parameter list的按钮,点击进入。
![loadrunner怎么设置参数化](https://img.aspxhome.com/file/2023/3/a292917_3.jpg)
5、可以看到的是newparam默认的一个参数了为xinling,需要在行中在添加数据,可点击add row添加行,输入数据双击value就可进行输入,输入网页中其它的用户名。
![loadrunner怎么设置参数化](https://img.aspxhome.com/file/2023/3/a292917_4.jpg)
6、参数化数据准备好之后,就进行执行了,在执行前,需要到run-time settings设置的界面中,run logic的选项界面中,把循环的次数改为2次,因准备数据只有两条了,
![loadrunner怎么设置参数化](https://img.aspxhome.com/file/2023/3/a292917_5.jpg)
7、设置完成之后,可以点击loadrunner的界面中菜单运行按钮,等待脚本完成之后,可以在执行log看到执行的结果数据,是成功执行成功的。
![loadrunner怎么设置参数化](https://img.aspxhome.com/file/2023/3/a292917_6.jpg)
标签:loadrunner,参数化
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
SmallPDF转换器安装方法介绍
2023-09-02 15:57:03
![](https://img.aspxhome.com/file/2023/7/a330953_0s.jpg)
安卓微信7.0.19重磅更新:粤语语音转文字!
2022-09-20 15:17:08
![](https://img.aspxhome.com/file/2023/7/a329390_0s.jpg)
excel表格中日期格式转换为XXXX-XX-XX的样式
2022-11-19 15:01:15
![](https://img.aspxhome.com/file/2023/2/42792_0s.png)
Win10笔记本打不开任务栏设置怎么办?打不开任务栏设置具体步骤
2022-12-16 13:05:11
![](https://img.aspxhome.com/file/2023/6/51896_0s.png)
如何删除电脑中的kingsoft文件夹?
2022-05-08 05:51:59
![](https://img.aspxhome.com/file/2023/6/a322977_0s.jpg)
Word空白行为什么删不掉(无法替代)
2023-08-26 06:10:58
![](https://img.aspxhome.com/file/2023/7/33687_0s.jpg)
闪电PDF虚拟打印机支持合并多个PDF文档吗?
2023-06-02 01:29:34
![](https://img.aspxhome.com/file/2023/4/14994_0s.jpg)
K歌达人app如何调节音量 K歌达人app调节音量的方法
2023-11-18 09:34:31
![](https://img.aspxhome.com/file/2023/8/a335264_0s.jpg)
Win10新版Edge浏览器面向Win10 2004推送:安装后无法删除
2023-09-02 00:38:18
![](https://img.aspxhome.com/file/2023/28/a240881_0s.jpg )
荔枝fm如何修改密码?荔枝fm修改密码的方法
2023-12-06 01:44:57
![](https://img.aspxhome.com/file/2023/8/a337105_0s.png)
如何利用WPS下拉菜单批量录入数据
2022-10-06 10:58:12
![](https://img.aspxhome.com/file/2023/7/a164477_0s.png)
深入解析excel中INDEX+MATCH组合函数
2023-04-04 02:28:40
![](https://img.aspxhome.com/file/2023/3/a161583_0s.jpg)
cue文件怎么打开?Win7打开cue文件的方法
2023-07-16 23:17:43
![](https://img.aspxhome.com/file/2023/4/a308578_0s.jpg)
Excel工作簿合并的方法
2023-05-25 07:12:58
Notepad++如何显示隐藏字符?Notepad++显示隐藏字符的方法步骤
2022-11-12 15:53:10
![](https://img.aspxhome.com/file/2023/8/a333294_0s.jpg)
win10版本更新了怎么开热点
2023-11-08 10:03:42
![](https://img.aspxhome.com/file/2023/1/48211_0s.jpg)
向程序发送命令时出现问题解决方法
2022-05-21 03:54:39
![](https://img.aspxhome.com/file/2023/3/a299285_0s.jpg)
微软对win7的支持还剩下6个月,呼吁尽快升级到win10
2022-03-04 17:55:26
![](https://img.aspxhome.com/file/2023/3/a296033_0s.png)
用excel2007如何做数据分析
2022-05-06 11:15:32
Word2013表格中的橡皮擦怎么使用?有什么作用?
2022-03-31 02:47:27
![](https://img.aspxhome.com/file/2023/0/25020_0s.png)