In order to distinguish between actual time spent on processing and displaying information and human/idle-waiting overhead, the idea of Wasted Time was established.. Wasted time is calculated as a factor of unnecessary waiting. Your script can also add wasted time with lr_wasted_time() function.
For Web http html script, the time taken for web_reg_find or web_reg_save_param functions to look for a particular string in the response buffers, is counted as wasted time. The transaction time includes the ''wasted time'' but it is subtracted from transaction time when displayed in Controller and Analysis.
The wasted time does not include the time spent writing the Vugen log file and the Vuser log files. The actual elapsed transaction time is increased by the logging time. The function lr get transaction duration() returns the real amount of transaction time that has passed. The analysis and creation of test scripts may benefit from this knowledge.
You can retrieve the total wasted time (both that generated automatically and that added with lr_wasted_time) with the function lr_get_transaction_wasted_time(), or with lr_get_trans_instance_wasted_time(), as appropriate.
No comments:
Post a Comment