Transaction and Page Timers

Scripts can be modeled to include:

Transaction timers

Transaction Timers let you measure a series of HTTP requests that represent a complete Web browser transaction. A Transaction Timer defines a sequence of code within a Script in order to measure the duration of the HTTP transaction delimited. An HTTP transaction is a user-defined sequence of code within a Script contained by the Start Timer and the End Timer commands in the Code section of a Script. During Script creation, a transaction timer named T_<SCRIPTNAME> delimiting all the HTTP requests of the script is automatically generated.

To add a new transaction timer:

  1. Click an insertion point in the Code section of the Script where you want to start your Transaction Timer and type:

    Start Timer "First Purchase Transaction";
  2. Click an insertion point in the Code section of the Script where you want to end your Transaction Timer and type:

    End Timer "First Purchase Transaction";

 

Page timers

During Script creation, Page Timers are automatically generated to measure the period of time that elapses between an HTTP request being issued and the corresponding Web page being loaded. Page Timers enable you to measure a series of HTTP requests that represent a complete Web browser page.

A Page Timer defines a sequence of code within a Script in order to measure the duration of the delimited HTTP Page. An HTTP page is a user-defined sequence of code within a Script contained by the Start Page Timer and the End Page Timer commands in the Code section of a Script.

To add a new page timer:

  1. Click an insertion point in the Code section of the Script where you want to start your Page Timer and type:

    Start Page Timer "First Purchase Page";
  2. Click an insertion point in the Code section of the Script where you want to end your Page Timer and type:

    End Page Timer "First Purchase Page";

 

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap