Ajax TruClient transactions end events (2256 Views)
Reply
Occasional Contributor
agimenez
Posts: 4
Registered: ‎08-24-2011
Message 1 of 5 (2,256 Views)
Accepted Solution

Ajax TruClient transactions end events

Hello,

I'm new on the Ajax TruClient protocol and I don't found an information.

Is someone can explain me the difference between transactions end events ? (Step network complete, Document Loaded, Dialog opened...)

Thanks in advance.

Please use plain text.
HP Expert
KMadan
Posts: 1,074
Registered: ‎05-27-2009
Message 2 of 5 (2,227 Views)

Re: Ajax TruClient transactions end events

  • Action Started - Dispatched when the action defined in the step is starting. For steps with objects (i.e. most steps) it will occur right after the object has been successfully found in the application.
  • Action Completed - Dispatched when the action defined in the step is completed.
  • Step network completed - Dispatched when the network activity associated with the step is completed. Ajax TruClient waits a small amount of time in order to make sure that no new requests are created after all other requests have ended. The threshold is configurable via the script Runtime Settings (default is 150ms).
  • DOM Content Loaded - Corresponds to the "domcontentloaded" event and is dispatched when parsing of the page is completed. The event will be dispatched only if the step's action has triggered a page navigation. For more information about the "domcontentloaded event see https://developer.mozilla.org/en/Gecko-Specific_DOM_Events#DOMContentLoaded
  • Document Loaded - Corresponds to the standard "load" event and is dispatched when the page is completely loaded, including frames/images/stylesheets. The event will be dispatched only if the step's action has triggered a page navigation. For more information on the "load" event see http://www.w3.org/TR/DOM-Level-3-Events/#event-type-load
  • Dialog opened - A modal dialog has opened. The dialog can either be opened from JavaScript (using the alert/confirm/prompt functions) or is an authentication dialog.

Madan
Please use plain text.
Occasional Contributor
agimenez
Posts: 4
Registered: ‎08-24-2011
Message 3 of 5 (2,224 Views)

Re: Ajax TruClient transactions end events

Thank you for your answer.

Please use plain text.
Occasional Contributor
moramramesh
Posts: 8
Registered: ‎04-05-2013
Message 4 of 5 (260 Views)

Re: Ajax TruClient transactions end events

Can you please explain the difference between the following events: Action completed, Step completed & After step ended?

Please use plain text.
HP Expert
rleitons
Posts: 136
Registered: ‎07-21-2009
Message 5 of 5 (244 Views)

Re: Ajax TruClient transactions end events

Hi

From the HP LoadRunner User Manual (<LR install folder> \help\PDFs). These options appears when you configure the transaction for a group of steps (Transaction Editor):

 

Action completed. This event is triggered when the action to be performed has completed. However, the step may not have ended yet. For example, for steps related to the application, there might be additional network or DOM activity.

 

Step completed. This event is triggered as soon as the work inside the step container has completed. It is triggered only if the step completed successfully.

 

After step ended. The last event in the events chain, it occurs after Step completed, but unlike Step completed it will be triggered regardless if the step was completed successfully or not.

 

 

Rodolfo Leitón

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

For LoadRunner here.
For Performance Center here.

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you found this information useful please leave a kudo.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation