???????Run-Time Setting?????????????
??????loadrunner??vuser????μ?Run-Time Setting??General??LOG????п?????????????Loadrunner????????????????ж??壬??????????????????
????1??Enable logging??????????
?????????и????Loadrunner????н????????????????????????????
????2??Send messages only when an error oclearcase/"target="_blank">ccurs???????????????
????????JIT(??)?????????????????????д?????????????????????????????????????????С??loadrunner?????????С?1k
????3??Always send messages
?????????????
????4??Standard log
???????????????????????????????????????????????????????á?
????????????????????????????????????????????
??????????????????????“???”????????????????????????????????
?????????????????????????????“Send messages only when an error occurs”????????????????????????????????“???”????????????????????????????????н???????????????????á?
????5??Extended log-----Parameter substitution
?????????滻???????????????????????????в?????????????
????????????в??????????????????????????????н???????У?????????????????????????????????????????????????????????????????????????????????????????????????????????
????6??Extended log-----Data returned by server
????????????????????????????????????
????Loadrunner?????ж????????????????response????????????У??????????п?????????????????????????????????ù?????????????????????в???????????????????????????????硣
????7??Extended log-----Advanced trace???????
????????????????Vuser????????????к??????????
????????Vuser????????????????á?
????????????????????
????Loadrunner??????????message??????
????1??lr_message
????int lr_message(const char*format??exp1??exp2??...expn.);
????????????lr_message???????????????????????????????VuGen?????????????????output.txt??
???????磺
????char*abort="aborting";
????lr_message("login failed:%s"??abort);
??????????н?????:login failed:aborting
????2??lr_log_message
????int lr_log_message(const char*format??exp1??exp2??...expn.);
????????????lr_log_message??????????????Vuser???????????(???????ó???)???????????????????????????????????????????????????????????????ú???????????
????3??lr_error_message
????int lr_error_message(const char*format??exp1??exp2??...expn.);
????????????lr_error_message??????????????????????????Vuser????????
???????Run-time settings>General>Miscellaneous>Continue on errorδ????У????????е????????????У??????????????????????????????????????????????ú???????Continue on error
????4??lr_output_message
????int lr_output_message(const char*format??exp1??exp2??...expn.);
????????????lr_output_message?????????н????????к??????????????????????????
?????????????ж?????????????
????int lr_debug_message(unsigned int message_level??const char*format??...);
????????????lr_debug_message???????????????????????????????????????????????????????δ????????????????????????????????????????lr_set_debug_message?????????????????????????MSG_CLASS_BRIEF_LOG??MSG_CLASSS_EXTENDED_LOG??????????????????lr_get_debug_message??
????unsigned int lr_get_debug_message();
????????????lr_get_debug_message???????????????????????á??????????????????????????????????????????????????????????lr_set_debug_message??????????
????int lr_set_debug_message(unsigned int message_level??unsigned int on_off);
????????????lr_set_debug_message???????y????е???????????message_lvl?????????????????????????????Щ???????????????????LR_SWITCH_ON???on_off??????????????????????LR_SWITCH_OFF??