关于LoadRunner的Snapshots

本文介绍了LoadRunner (LR) 中树型视图的功能及其如何通过Snapshot提供图形化的测试步骤展示。录制和回放期间产生的Snapshot文件有助于确定需要关联的动态值,确保脚本的稳定运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在LR的树型视图中提供了图形方式展现测试步骤。

 

A snapshot is a graphical representation of the current step. When working in Tree view, VuGen displays the snapshot of the selected step in the right pane. The snapshot shows the client window after the step was executed.

 

VuGent在录制和回放脚本时都会产生Snapshot文件。

 

VuGen captures a base snapshot during recording and another one during replay. You compare the Record and Replay snapshots to determine the dynamic values that need to be correlated in order to run the script. For more information, see the section on correlation after recording.

 

录制时的Snapshot文件存在脚本目录中的data文件夹,在每一次回放脚本时会把Snapshot文件保存在result目录中对于的回放目录,例如Iteration1、Iteration2...

 

默认情况下,VuGen将录制的Snapshot跟第一次回放的Snapshot进行比较,但是我们也可以自己选择回放的Snapshot。

 

Each time you replay the script, VuGen saves another Replay snapshot to the script's result directory: Iteration1, Iteration2, and so forth.

By default, VuGen compares the recording snapshot to the first replay snapshot. You may, however, select a different snapshot for comparison. To select a specific replay snapshot, select the expanded menu of View > Snapshot > Select Iteration. Select a set of results and click OK.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值