Loadrunner中百分比模式和Vuser模式

时间:2021-07-19 15:26:21

从百分比模式切换到Vuser模式后,多个脚本时候,每个脚本的比例仍然维持不变:

Loadrunner中百分比模式和Vuser模式

切换到Vuser模式后:

  1. 如果在场景执行过程中需要动态添加Vuser,只能在Vuser模式下执行场景

  2. 如果需要执行“组”模式,只能在Vuser组模式中执行

Loadrunner中百分比模式和Vuser模式

Loadrunner中百分比模式和Vuser模式

问题1:

方法一:

Loadrunner中百分比模式和Vuser模式

Loadrunner中百分比模式和Vuser模式

优点:可以添加多个压力机

缺点:虚拟用户数只能增加

方法2:

将Vuser组模式,临时切换到百分比模式:

Loadrunner中百分比模式和Vuser模式

Loadrunner中百分比模式和Vuser模式

Loadrunner中百分比模式和Vuser模式

Vuser组模式下,对于多脚本,可以使用组模式做场景:

Loadrunner中百分比模式和Vuser模式

Loadrunner中百分比模式和Vuser模式

Loadrunner中百分比模式和Vuser模式

Loadrunner中百分比模式和Vuser模式

相关文章