Skip to content

NeoLoad

Important

NeoLoad integration has been removed in Rapise 7.0.

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

Captures duration of loading a page and resources.

CaptureBrowserPerformance(url) 

Parameters:

Name Type Description
url Node name for NeoLoad entry tree.

CaptureHostPerformance

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

CaptureHostPerformance() 

CapturePerformanceValue

Sends performance value to NeoLoad.

CapturePerformanceValue(entry, path, units, value) 

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

Connects to NeoLoad.

CreateClient(hardware, location, networkInterface) 

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

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

EndTransaction(name) 

Parameters:

Name Type Description
name string Name of a transaction.

GetNetworkInterfaceNames

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

GetNetworkInterfaceNames() 

SetBaseContainer

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

SetBaseContainer(name) 

Parameters:

Name Type Description
name string Name of a step.

SetContainer

Sets current container/business transaction during test conversion

SetContainer(name) 

Parameters:

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

StartTransaction

Marks start of a transaction.

StartTransaction(name) 

Parameters:

Name Type Description
name string Name of a transaction.