LR的消息函数

上一篇 / 下一篇  2012-08-23 23:17:21 / 个人分类:Loadrunner

51Testing软件测试网 e]:E3z Z3w.F

lr_message
S aLyw ^,Z0vugen的回放日志显示与否,取决于runntime settings-Log-enable logging
U j"_.@ CuP,\g0是否勾选always send messages
!B:fk4s)L3J*f0显示格式为直接显示,不带位置及行号,同样双击也不会跳到脚本对应位置
mP(bl#T(^0日志文件output.txt

&~&B:qYc_051Testing软件测试网giGtU6V

51Testing软件测试网K_COaD
lr_log_message51Testing软件测试网E0qB7`fE~O}
类似于lr_message,帮助里说其不会显示在output window,试了一下,结果还是显示了?51Testing软件测试网 [$s?J` _

E/b7PK/om%{0lr_error_message
!xQ.@&w-at0显示错误信息,标红显示,如果51Testing软件测试网e G@!c cnJ
runtime setting >general >miscellaneous>fail open transactions on lr_error_message勾选
fY*HH u}s T3@S0w0则调用该函数将导致之前打开的事务的状态为fail,并输出错误信息
,[ DvEN0runtime settings里的loging设置不会对其有影响
{"B3Z(np5~0显示格式为:位置加行号:错误信息,如Action.c(4): Error: error,双击跳到错误行

H(@&h;ya"~.a051Testing软件测试网j ^,Gv9b!f }SM

lr_output_message
:AZskr#| D0同样runntime settings-Log-enable logging
S-x7}.q$Y qR0勾选always send messages时才会在output window显示,同时写入output.txt
4NN:e+U'Z0显示格式为:位置加行号:错误信息,如Action.c(5): output message
vq~ ~9@_}'p,|0双击跳到该函数所在行

%pG@*xx}051Testing软件测试网1{)^Y^7m-xh-z

lr_vuser_status_message51Testing软件测试网ZoE8[3e:Z:L^
发送信息到controller中的Vuser 中的status列51Testing软件测试网%q.i;B0fQC Pq


TAG:

 

评分:0

我来说两句

Open Toolbar