Object Model Reference for GUI Testing > Utility Objects > ModifyEmulationDetails Method

NV Object

Description

The object used for starting a Network Virtualization simulation.

Note: To start or end an NV transaction, use the StartTransaction and EndTransaction methods supported for the Services Object.

Methods and Properties

ModifyEmulationDetails Updates emulation settings in real time according to the specified parameters.
ModifyEmulationProfile Updates emulation settings in realtime according to NV profile options.
StartEmulation Starts a network emulation.
StartEmulationExcludeIPs Starts a network emulation and specifies an an array of IP addresses to exclude.
StartOrModifyEmulationFromProfile Updates emulation settings in real time according to the Network Virtualization profile options.
StopEmulation Stops a network emulation.

Back to top


ModifyEmulationDetails Method

Description

Updates emulation settings in real time according to the specified parameters.

Syntax

NV.ModifyEmulationDetailslatency, packetLoss, bandWidthIn, bandWidthOut

Arguments

Argument

Type

Description

latency

Integer

The amount of time between making a request and the completion of the response.

packetLoss Double The amount of data (number of packets) that fails to arrive at its intended destination
bandWidthIn Double The input data transfer capacity of a network.
bandWidthOut Double The output data transfer capacity of a network.

Returns

A token containing the details for the current emulation.


ModifyEmulationProfile Method

Description

Updates emulation settings in realtime according to NV profile options.

Syntax

NV.ModifyEmulationProfile(profilename)

Arguments

Argument

Type

Description

profileName

String

Name of the Network Virtualization profile from which options are used to update test settings

Returns

A token containing the details for the current emulation.


StartEmulation Method

Description

Starts a network emulation.

Syntax

NV.StartEmulationprofileName

Arguments

Argument

Type

Description

profileName

String

The simulation profile to use for the current session.

This profile name is saved in the Profiles section of the Network Virtualization Test Manager.

Returns

A token representing the name of the current emulation session.


StartOrModifyEmulation Method

Description

Updates emulation settings in real time according to the Network Virtualization profile options.

Syntax

NV.StartOrModifyEmulationprofileName

Arguments

Argument

Type

Description

profileName

String

Name of the Network Virtualization profile from which options are used to update test settings

Returns

A token containing the details for the current emulation.

IMPORTANT

If a test is not running this method launches it.

Back to top

StartEmulationExcludeIPs Method

Description

Starts a network emulation and specifies an an array of IP addresses to exclude.

Syntax

NV.StartEmulationprofileName, excludeIps

Arguments

Argument

Type

Description

profileName

String

The simulation profile to use for the current session.

This profile name is saved in the Profiles section of the Network Virtualization Test Manager.

excludeIps Array The list of IP addresses to include.

Returns

A token representing the name of the current emulation session.

Back to top

StopEmulation Method

Description

Stops a network emulation.

Syntax

NV.StopEmulationtestToken

Arguments

Argument

Type

Description

testToken

String

The emulation ID on the Network Virtualization server

Returns

None


See also: