Skip to content

LoadTest Window

NOTE: This page contains information on standalone SoapUI Pro that has been replaced with ReadyAPI. To try enhanced load testing functionality, feel free to download a ReadyAPI trial from our website.

Overview - LoadTest Window

LoadTestWindow

ComponentDescription
01LoadTest ToolbarOverall control of the LoadTest Project
02Strategy BarControl the LoadTest strategy
03Statistics TableDisplay the statistic data in table form
04LoadTest LogExamine the current LoadTest execution log
05LoadTest AssertionExamine the assertions of current LoadTest
06Setup ScriptSetup a script before the TestCase begins
07TearDown ScriptSetup a script after the TestCase ends
08Report ScriptSetup a script when generating TestCase Report
09Report ParametersExamine the Report properties

LoadTest Toolbar

Toolbar

icon-loadtest-toolbar LoadTest Toolbar Buttons

OptionDescription
runRunStarts the LoadTest as described under LoadTest Execution
stop_testcaseCancelCancels an ongoing LoadTest
stats_graphStatistics GraphShow the Statistics Graph for the LoadTest
samples_graphStatistics History GraphShow the Statistics History Graph for the LoadTest
reset_loadtestReset StatisticsResets the statistics for an ongoing LoadTest
optionsOptionsShows the LoadTest Options dialog
exportExport StatisticsPrompts to export the current LoadTest Statistics to a comma separated file
help-browserLimit SettingsSets the limit for the LoadTest as described in the Execution document
The far right contains a Progress Bar displaying the progress (in percent) of the current LoadTest execution

Strategy Bar

Strategybar

icon-loadtest-toolbar Strategy Bar Options

OptionDescription
ThreadsSets the number of threads to be used.
StrategyChoose a LoadTest Strategy.
Test DelayThe time in milliseconds between each batch of requests.
RandomThe random factor of the Test Load. With a Test Delay of 600 ms and a Random factor of 0.5, the actual delay will be uniformly distributed between 300 ms and 600 ms. The actual delay can thus be calculated as TestDelay - RandomNumberBetween( 0, TestDelay*Random ).

The following LoadTest Strategies are currently available:

NameDescription
BurstTestCase execution in “bursts”
ScriptLets a groovy script control the number of threads (ReadyAPI only)
SimpleTestCase execution with a configurable delay
VarianceTestCase execution varying the number of threads over time
GridDefines a custom variation of thread count (ReadyAPI only)
Fixed-RateExecute a TestCase at a fixed rate (ReadyAPI only)
ThreadTestCase execution with a fixed thread count modification

Statistics Table

StatisticTable

icon-properties-table During execution, the following statistics are periodically collected and displayed in the Statistics Table:

OptionDescription
Test StepSets the startup delay for each thread (in milliseconds), setting to 0 will start all threads simultaneously.
minThe shortest time the step has taken (in milliseconds).
maxThe longest time the step has taken (in milliseconds).
avgThe average time for the test step (in milliseconds).
lastThe last time for the test step (in milliseconds).
cntThe number of times the test step has been executed.
tpsThe number of transactions per second for the test step, see Calculation of TPS/BPS below.
bytesThe number of bytes processed by the test step.
bpsThe bytes per second processed by the test step.
errThe number of assertion errors for the test step.
ratFailed requests ratio (the percentage of requests that failed).

Statistics Table Actions

Right-click on any row of statistics table to open the action menu.

StatisticsTableAction

icon-right-click Statistics Table Actions’ option

OptionDescription
Max ErrorsAsserts the total number of errors
Step AverageAsserts a steps average
Step TPSAsserts a steps TPS
Step MaximumAsserts a steps max time
Step StatusAsserts a steps status

icon-settings-tab LoadTest Log Tab

icon-loadtest-toolbar LoadTest Log Tab – Toolbar

The top toolbar contains the following actions (left-to-right):

OptionDescription
clear_errorsRemove Errorsremoves all errors from the LoadTest Log
exportExportprompts to export the current LoadTest log to a file
Show Types filterfilters which type of errors/messages that should be shown in the log
Show Steps filterfilters which steps that should be shown in the log

icon-properties-table LoadTest Log Tab – Table

The table is sortable by clicking the column-header for the column to be sorted on. A label under the table displays the number of rows currently in the table.

ColumnDescription
TimeDate and Time of log entry
TypeType of log entry
StepTestStep when logging occurs
MessageError message

icon-settings-tab LoadTest Assertions Tab

LoadTest_Assertions_Inspector2

icon-loadtest-toolbar LoadTest Assertions Tab – Toolbar

The toolbar at the top of the tab contains the following actions (left-to-right):

OptionDescription
addAssertionAdd AssertionPrompts to add and configure a new LoadTest Assertion
remove_assertionRemove AssertionPrompts to remove the currently selected assertion
optionsConfigureShows the options for the currently selected assertion

icon-properties-table LoadTest Assertions Tab – Table

OptionDescription
NameConfigured name of the assertion
StepTarget step for the assertion
DetailsDetailed information on the assertion

LoadTest Assertions Table Popup Menu

LoadTest_Assertions_PopUp_Menu

IconsOptionDescription
optionsConfigureConfigure selection assertion
addAssertionAdd AssertionAdd an assertion to this LoadTest
remove_assertionRemove AssertionRemove an assertion from this LoadTest

icon-settings-tab LoadTest Setup Script Tab

Setup_Scipt_Inspector

icon-loadtest-toolbar LoadTest Setup Script Tab – Toolbar

icon-properties-table LoadTest Setup Script Tab – Editor

icon-settings-tab LoadTest TearDown Script Tab

TearDownScriptInspector

icon-loadtest-toolbar LoadTest TearDown Script Tab – Toolbar

icon-properties-table LoadTest TearDown Script Tab – Editor

Note: Setup Script, TearDown Script and Report Script are using the same script editor.

icon-settings-tab LoadTest Report Script Tab

LoadTest Report Script Inspector (Pro)

ReportScriptInspector

icon-loadtest-toolbar LoadTest Report Script Tab - Toolbar

OptionDescription
EditInsert the code at carat

icon-properties-table LoadTest Report Script Tab - Editor

Setup Script, TearDown Script and Report Script use the same script editor.

icon-settings-tab LoadTest Report Parameters Tab icon-pro

Report_Parameter_Inspector

icon-loadtest-toolbar LoadTest Report Parameters Tab – Toolbar

IconOptionDescription
add_propertyAdd PropertyCtrl/Add a property to the property list-C
remove_propertyRemove PropertyRemove the select property from the property list
up_arrowMove upMove selected property up one row
down_arrowMove downMove selected property down one row
arrow_downSort PropertiesSort Properties alphabetically
clear_propertiesClear all valuesClear all current property value
set_properties_sourceLoad property valueLoad property value from an external file
set_properties_targetSave current property valueSave current property value to a file

icon-properties-table LoadTest Report Parameters Tab – Table

ColumnDescription
NameName of the Parameter
ValueValue of the Parameter