Loadrunner参数化
设置迭代次数6
测试数据phone.bat
phone
13862607106
13862607107
13862607108
13862607109
13862607100
空一行
参数化
测试代码,参数名只出现一次:
Action()
{
lr_output_message("取到的值:%s",lr_eval_string("{phone}"));
return 0;
}
方式1运行结果
Virtual User Script started at: 2022/3/13 12:55:27
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Notify: Next row for parameter phone = 1 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式2运行结果
Virtual User Script started at: 2022/3/13 12:57:28
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 1 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式3运行结果
Virtual User Script started at: 2022/3/13 12:58:24
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式4运行结果
Virtual User Script started at: 2022/3/13 12:59:08
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式5运行结果
Virtual User Script started at: 2022/3/13 12:59:52
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 1 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式6运行结果
Virtual User Script started at: 2022/3/13 13:00:40
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式7(Abort Vuser)运行结果
Virtual User Script started at: 2022/3/13 13:03:53
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Error: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The Vuser is aborted according to "When Out Of Values" policy.
Action was aborted.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式7(Continue in a cyclic manner)运行结果
Virtual User Script started at: 2022/3/13 13:04:41
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The parameter continue to beginning of range in a cyclic manner according to "When Out Of Values" policy.
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式7(Continue with last value)运行结果
Virtual User Script started at: 2022/3/13 13:05:14
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式8(Abort Vuser)运行结果
Virtual User Script started at: 2022/3/13 13:08:42
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Error: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The Vuser is aborted according to "When Out Of Values" policy.
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式8(Continue in a cyclic manner)运行结果
Virtual User Script started at: 2022/3/13 13:10:33
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The parameter continue to beginning of range in a cyclic manner according to "When Out Of Values" policy.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式8(Continue with last value)运行结果
Virtual User Script started at: 2022/3/13 13:11:02
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 取到的值:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 取到的值:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 取到的值:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 取到的值:13862607100
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式9运行结果
Virtual User Script started at: 2022/3/13 13:11:57
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 取到的值:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
测试代码,参数名出现二次:
Action()
{
lr_output_message("参数第一次出现取到的值===1111===:%s",lr_eval_string("{phone}"));
lr_output_message("参数第二次出现取到的值===2222===:%s",lr_eval_string("{phone}"));
return 0;
}
方式1运行结果
Virtual User Script started at: 2022/3/13 13:18:10
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 参数第一次出现取到的值===1111===:13862607107
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Notify: Next row for parameter phone = 1 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式2运行结果
Virtual User Script started at: 2022/3/13 13:18:56
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Notify: Next row for parameter phone = 1 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 参数第一次出现取到的值===1111===:13862607107
Action.c(5): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 1 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式3运行结果
Virtual User Script started at: 2022/3/13 13:27:30
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式4运行结果
Virtual User Script started at: 2022/3/13 13:28:02
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 参数第一次出现取到的值===1111===:13862607107
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Notify: Next row for parameter phone = 1 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式5运行结果
Virtual User Script started at: 2022/3/13 13:28:31
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 1 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 1 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 参数第一次出现取到的值===1111===:13862607107
Action.c(5): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式6运行结果
Virtual User Script started at: 2022/3/13 13:29:20
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式7(Abort Vuser)运行结果
Virtual User Script started at: 2022/3/13 13:30:00
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 参数第一次出现取到的值===1111===:13862607107
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Error: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The Vuser is aborted according to "When Out Of Values" policy.
Action was aborted.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式7(Continue in a cyclic manner)运行结果
Virtual User Script started at: 2022/3/13 13:30:39
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 参数第一次出现取到的值===1111===:13862607107
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The parameter continue to beginning of range in a cyclic manner according to "When Out Of Values" policy.
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式7(Continue with last value)运行结果
Virtual User Script started at: 2022/3/13 13:31:17
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Notify: Next row for parameter phone = 2 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 参数第一次出现取到的值===1111===:13862607107
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Notify: Next row for parameter phone = 3 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Notify: Next row for parameter phone = 4 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Notify: Next row for parameter phone = 5 [table = phone].
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式8(Abort Vuser)运行结果
Virtual User Script started at: 2022/3/13 13:31:57
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Error: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The Vuser is aborted according to "When Out Of Values" policy.
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式8(Continue in a cyclic manner)运行结果
Virtual User Script started at: 2022/3/13 13:32:23
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The parameter continue to beginning of range in a cyclic manner according to "When Out Of Values" policy.
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(4): 参数第一次出现取到的值===1111===:13862607107
Action.c(5): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(5): 参数第二次出现取到的值===2222===:13862607108
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(4): 参数第一次出现取到的值===1111===:13862607109
Action.c(5): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5]. The parameter continue to beginning of range in a cyclic manner according to "When Out Of Values" policy.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式8(Continue with last value)运行结果
Virtual User Script started at: 2022/3/13 13:33:12
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '1'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Next row for parameter phone = 2 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '2'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607107"
Action.c(5): 参数第二次出现取到的值===2222===:13862607107
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 3 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '3'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607108"
Action.c(4): 参数第一次出现取到的值===1111===:13862607108
Action.c(5): Notify: Next row for parameter phone = 4 [table = phone].
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '4'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607109"
Action.c(5): 参数第二次出现取到的值===2222===:13862607109
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Next row for parameter phone = 5 [table = phone].
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Action.c(4): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(4): 参数第一次出现取到的值===1111===:13862607100
Action.c(5): Warning: Parameter 'phone': No more unique values for this parameter in table 'phone.dat' [unique range is 1-5].The parameter continues with last value of the range according to "When Out Of Values" policy.
Action.c(5): Notify: Getting new value for parameter 'phone': table = 'phone.dat' column = '0' row = '5'.
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607100"
Action.c(5): 参数第二次出现取到的值===2222===:13862607100
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
方式9运行结果
Virtual User Script started at: 2022/3/13 13:33:42
Starting action vuser_init.
Web Turbo Replay of LoadRunner 2021.0.0 for Windows 10; build 430 (1月 05 2021 19:27:22) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) [MsgId: MMSG-26988]
Runtime Settings file: "D:\Documents\VuGen\Scripts\xnb001\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 2.
Starting iteration 3.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 3.
Starting iteration 4.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 4.
Starting iteration 5.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 5.
Starting iteration 6.
Starting action Action.
Action.c(4): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(4): 参数第一次出现取到的值===1111===:13862607106
Action.c(5): Notify: Parameter Substitution: parameter "phone" = "13862607106"
Action.c(5): 参数第二次出现取到的值===2222===:13862607106
Ending action Action.
Ending iteration 6.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
|