Execution and Results

PureLoad Logo
PureLoad 3.5
November 2007
http://www.minq.se
support@minq.se

Documentation Index

Start and Run Execution

Load execution ca only be started if:

Start

Select the Run->Start Load Test menu choice or the  button in the tool bar to start a load execution. The following dialog window is displayed when the execution is started:
start dialog
The update interval determines how often results are collected from the workers. Count bytes transferred must be enabled for bytes read/write result metrics to be available.

Stop

Select the menu choice Run->Stop Load Test or the  button in the tool bar to force halt of the current execution. The execution will be stopped at once but it might take some extra seconds to get all results since worker threads still are executing.

Delayed Start

Load executions can be started automatically by defining a start time. This is convenient when starting a load test late at night without actually monitor the execution.

Select the menu choice Run->Run Load Test at... to display a dialog to schedule a start time.

Note that when a delayed start has been scheduled, this wil be indicated in the status bar displaying Waiting... To cancel a delayed load execution that are waiting to be started, select the Run->Start Load Test at... menu choice and then select the Stop Timer button.

Get Persistent Results

If Worker persistence is enabled using Tool Properties, results are stored on the worker side. This means that after an execution is finished, the Run->Get Persistent Results menu choice may be used to retrieve the last saved results.

When persistent results are fetched, the console will retrieve the results and update most result information as when used in real-time.

This option may typically be used when running for a long time, where you want to check results after execution is finished.

Result Information

The following explains the various information and metrics reported in PureLoad and how to interpret them.

Task Name

The name of all tasks as they appear in the result presentation are the same name as specified in each tasks Name parameter. This identifier is used to group tasks in the result presentation.

Elapsed Execution Time

The Time field in the status bar indicates in hours, minutes and seconds the elapsed time of the load execution. This timer starts when the first task is starting to execute. The timer stops at the same time as the last task in the actual scenarios has finished executing.

General Result Metrics

The following general metrics exists:

Min
Minimum execution time for the object.
Average
Average execution time for the object. Note that execution time from objects that indicates timeout is not included in the calculation of the average.
Max
Maximum execution time for the object.
Total
Total number of executed iterations.
Ok
Number of executions that reported success
Timeout
Number of executions that were timed out (exceeded the specified time out value).
Failed
Number of executions that have failed.
Tasks/Sec
Number of objects that have been executed per second (see Tasks/Second below for more information)

Result metrics  that include results for Scenario and Task Sequences objects are summaries of the contained child objects.

Metrics reporting time might report N/A which indicates a Not Applicable result. This might be a result of a scenario with only failed tasks. In this case it is not possible to calculate the time for Min, Average, etc. All time metrics are always expressed in seconds and milliseconds. These are separated using the character for the actual locale.

Task/Second

The Tasks/Sec needs some extra attention since its reported values might confuse the results of the load execution. In the Summary view there is a column indicating Tasks/Sec which is also Scenario/Seq and Task Sequences/Sec depending of what is in the summary table.

It is, independently of what object type it represents, calculated by dividing the total execution time of the executed objects with the total time of the load execution.

Task Type Specific Result Metrics

Some tasks have the ability to report bytes transferred between the task and the tested application. For these the following metrics are reported:

Kbytes
Number of Kbytes transferred
Kbytes/Second
Number of Kbytes transferred per second
Kbytes Read
Number of Kbytes read
Kbytes Read/Second
Number of Kbytes read per second
Kbytes Written
Number of Kbytes written
Kbytes Written/Second
Number of kbytes written per second
Transactions
Number of transactions
Transactions/Second
Number of transactions per second

Result Views

The results main tab presents various result metrics from a load execution that is either executing or has finished. The results information is updated on a regular basis during a load execution, using the update interval as specified in the Tool Properties dialog.

The results main tab contains several views organized in sub tabs at the bottom of the screen:


Summary

The Summary View shows all result metrics for the selected node in the worker tree to the left in the view. Selecting the Naming node in the tree will show the complete summary for all scenarios that are included in the load execution independently on which host that were executed. The summary can be narrowed by selecting a Manager, Worker or Worker Thread node in the tree, i.e. selecting a Manager node will show the result summary based on what all workers and worker threads for that manager have executed. Selecting a specific Worker Thread will only show the result summary executed by that worker thread.


The figure above shows the summary information for a load execution that has completed. This load test included one scenario, Test Scenario, that was executed for 1000 iterations. The worker tree lists all worker threads that were part of the execution. Selecting a node in the tree will list the summary for that node and all children. This example illustrates the Naming node and thereby will the summary information list the metrics for all worker threads.

Note that some of the tasks has been executed more than 1000 times even though the Iteration setting for all tasks were set to 1 during editing of the scenario. The reason for this is that tasks with the same Name in a path will be reported as one task. An example is the Test Scenario/Login/image task, that includes 2 tasks, both named image.

Summary Graph

The Summary Graph is basically the same as the Summary view but presented in a bar graph. Here you select the actual scenario objects to be presented in the graph.

This graph is typically useful to get an overall understanding of what requests that takes more time to execute compared to others.

The figure above shows the average execution time for the selected task sequences. Select any nodes in the scenario tree to show them accordingly in the graph. The order of the bars (and legend) in the graph will be the same as the order each node in the scenario tree is selected.

The Graph Type box is used to set what metrics to show in the graph.

Time Slot

The Time Slot tab shows metrics in a tabular format. There is one row per update interval (time slot) in the table. The first column shows the actual time for the time slot. All other columns shows metrics for the selection(s) made in the scenario tree.


In this example we have chosen to show the Total metrics.

There might be empty slots in the table and this indicate that there were no results reported during that period. This might also indicate that the value of update interval seconds should be increased.

Time Slot Graph

The Time Slot Graph shows the same information as the Time Slot table, but in a line graph view.


Again use the box below the graph to set what metric to show in the graph. It is also possible to zoom the graph on the X-axis by selecting the area in the graph using the mouse. Use Reset to return to the original zooming.

In addition, this view allows for two metrics to be displayed. Select a 2nd metrics using Y-Axis 2 to display second metrics:


Here we display Task/Second (left Y-axis) and Average (right Y-axis).

It is also possible to zoom the graph by selecting the area in the graph using the mouse. Use Reset to return to the original zooming.

Failed Tasks

Detailed task results for failed Tasks can be viewed in the Failed Tasks sub tab. This tab is only enabled if one or more tasks have failed during execution.


The scenario task tree shows all executed scenarios, where scenarios with errors are underlined with a red line.The view to the right shows a summary table of the various reported errors and a graph with errors over the execution time.

To see more errors expand the tree down to where the individual errors are displayed. Select a child error node to see details about a reported error:


To reload the view, select a node in the tree and choose the View->Reload menu option or the  in the tool bar. Reloading error information and fetching detailed error nodes might take some time to process, that will be indicated in the user interface.

Save/Export Results

Export Tables and Graphs

The File->Export menu option is used to export a snapshot of the current visible result view into a file.

The tables in the Summary and Time Slot views are exported in CSV (Character Separated Values) format. The column separator and the new line character that will be part of the exported file can be set in the tool properties.

Tip: It is also possible to copy cells in any of the result tables to the system clipboard for later inclusion into for example a spreadsheet program or similar. Do this by selecting cells in the actual table and then press Ctrl-C for copy. Now open the target document and paste the cells into it. The column and new line separators are specified in tool properties.

The graphs in Summary Graph and Time Slot Graph views are exported as PNG (Portable Network Graphics) files.

Information from the Summary and Time Slot views, as well as comparer data can also be exported using the File->Export All menu option. This will display an Export Wizard, described later in this section.

Generate Reports

The report functionality is accessed by the File->Generate Report menu choice or the generate report button button in the tool bar.

The content of the generated report can be configured in many ways. Since it is HTML and PNG image files that are produced the report may be viewed in the majority of web browsers.

generate report

The following report configuration options can be specified:

Note: All graphs that are selected to be generated in the report are always the Time Slot Graph view. The Summary Graph can not be exported in the generated report. Use File->Export while the Summary Graph view is visible to save the graph.

Export Comparer Data

Exporting the results of a load execution using the File->Export Comparer Data menu option enables the use of the Result Comparer. This tool is used to visualize the results of many load tests.

Export Wizard

Use the File->Export All menu option to display the Export Wizard where you can select to export data from the Summary and Time Slot views, as well as comparer data:
export wizard
The Export Wizard will guide you through a set of panes to configure what to be exported, depending on what data you choose to export. When using the export wizard you also have a choice to export summary information and time slot information in Excel format at well as CSV format:
export wizard

It is possible to specify which parts of the scenario results that should be included in the exported data:

export wizard

The metrics to include can be chosen individually as well:
export wizard

Finally a pane to select a directory where the exported data files to be saved is presented.
export wizard

Result Comparer

The Result Comparer available in Tools->Result Comparer menu is used to compare result metrics from several load tests. This is a useful when performance enhancements has been applied in the server application between load tests. The comparer visualizes the Time Slot views that is presented in the Result main tab in the console.

The comparer can be started outside the PureLoad Console using the following platform specific commands:

ON UNIX:
% $INSTALL_HOME/bin/pureload comparer &

On Windows, simply use the PureLoad Comparer shortcut.

Load a Result Set

Select File->Open or the open button in the tool bar. Select the result comparer file that was previously saved using File->Export Comparer Data in the PureLoad Console.

The following screen shows two loaded result sets, onlinemag_sep.dat and onlinemag_oct.dat:

result comparer

The result views can be exported in either CSV (Character Separated Value) format for the grid view or in PNG (Portable Network Graphic) for the graph. Select the File->Export menu option to export. Use the Edit->Remove menu option or the remove button button in the tool bar to remove a result set from the scenario tree.


Copyright © 2007 Minq Software AB. All rights reserved.