Wednesday 10 September 2014

What is this "Wasted Time" in LR script replay?

Question
When I reply the script in VuGen, the following message is displayed in Output window -

Script_Name(LineNumber): Notify: Transaction "Transaction Name" ended with "Pass" status (Duration: 134.8640 Wasted Time: 2.0757).

What is this "Wasted Time"?
What is the significance of "Wasted Time"?

Answer
 From the product help:
Time spent on activities whose purpose is to support test analysis, but would never be performed by a browser user.

So what does it actually mean?
Here are a few examples:
Siebel-Web protocol – first web_reg_save_param… step that uses Siebel correlation library takes time on DLL  invocation and this time reported as “wasted”.
The similar case exists with openSSL components (additional 1 second before handshake).
Time spent of text search (web_reg_find) also reported as “wasted”.
So basically it is the time that was wasted in LR code which would not be wasted by a real user.

No comments: