Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How can I find out the average Response time[s] of a custom timer for any given interval in my loadtest?

How can I find out the average Response time[s] of a custom timer for any given interval in my loadtest?

Example:

To allow your client to be able to find out the average Response timeSleep of custom timers for any given interval in a test you will need to do the following:

 

  1. Edit your script to include a custom timer named Timer1.To do this please use the MeasureStart("Timer1") and MeasureStop("Timer1")
  2. Run a 10 minute loadtest with the TSD generation enabled
  3. Now, if you consult the TSD files overview report section, you will see the Timer1 timings reported in the users section of the overview report.

Example:Timer1Response timeSleep 27.334 4.276 170.565 103 103 2,815.390 23.950

Note: The Overview Report General Information section will show:Load test date: 27/05/2004 13:03:59 Duration of simulation: 00:10:10

 

  1. If you now select the menu option Wizard | Remerge Wizard- Select source file and destination file | select Next, you can select the time frame you wish to gather the average response time for.

Example:StartDate/Time: 27/05/2004 13:03:59 EndDate/Time: 27/05/2004 13:08:59

Note: If you modify the start/end times you get a warning:"The overview report is based on a loadtest file, which has modified start/end times. Therefore the report contains no user-type data."

The reason for this is that the User Types section of the report is taken from the repository and will not be included in the overview report, and because of this you do not get the custom timers section for the modified period that you require.

 

  1. After working through the Remerge Wizard the new Overview Report and TSD file will be loaded in Performance Explorer. However, you will notice that the user types section is empty and will not display the timings for the custom timer - Timer1

 

  1. To get the new average response time you will need to do the following: Add a blank graph (File | New | GraphLocate the remerge TSD (left pane) select Timer | Timer1 | and drag and drop into the blank graph

You will now see the average response time of the custom timer for the time period you have specified.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:51
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.