NeoLoad

Global object. Use it to perform actions not related to a particular object. You do not need to record or learn this object, it is always automatically available in any test.

Action Summary

Action Description
CaptureBrowserPerformance Captures duration of loading a page and resources.
CaptureHostPerformance Sends host performance metrics to NeoLoad: CPU, Memory, Network, Battery.
CapturePerformanceValue Sends performance value to NeoLoad.
CreateClient Connects to NeoLoad.
EndTransaction Marks end of a transaction and sends performance metrics to NeoLoad.
GetNetworkInterfaceNames Gets names of network interfaces.
SetBaseContainer Sets current step (Init, Actions, End) during test conversion
SetContainer Sets current container/business transaction during test conversion
StartTransaction Marks start of a transaction.

Action Detail

CaptureBrowserPerformance(url)

Captures duration of loading a page and resources.

Parameters:

Name Type Description
url Node name for NeoLoad entry tree.

CaptureHostPerformance()

Sends host performance metrics to NeoLoad: CPU, Memory, Network, Battery.

CapturePerformanceValue(entry, path, units, value)

Sends performance value to NeoLoad.

Parameters:

Name Type Description
entry Name of a group of performance metrics. Can be a transaction name.
path Name of a metric to capture.
units Units of measure.
value Current value of the metric.

CreateClient(hardware, location, networkInterface)

Connects to NeoLoad.

Parameters:

Name Type Description
hardware string Hardware details (Apple MacBook Pro, Sony Vaio, etc.)
location string Location information.
networkInterface string Name of network interface to monitor. Names of available interfaces can be obtained using GetNetworkInterfaceNames.

EndTransaction(name)

Marks end of a transaction and sends performance metrics to NeoLoad.

Parameters:

Name Type Description
name string Name of a transaction.

GetNetworkInterfaceNames()

Gets names of network interfaces. Use one of them to CreateClient.

SetBaseContainer(name)

Sets current step (Init, Actions, End) during test conversion

Parameters:

Name Type Description
name string Name of a step.

SetContainer(name)

Sets current container/business transaction during test conversion

Parameters:

Name Type Description
name string Name of a container/transaction.

StartTransaction(name)

Marks start of a transaction.

Parameters:

Name Type Description
name string Name of a transaction.