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. |
ModifyEmulationDetails Method
Description
Updates emulation settings in real time according to the specified parameters.
Syntax
NV.ModifyEmulationDetails(latency, 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.StartEmulation(profileName)
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.
dim Emulation1
Emulation1=NV.StartEmulation("CloudServer")
NV.StopEmulation(Emulation1)
StartOrModifyEmulation Method
Description
Updates emulation settings in real time according to the Network Virtualization profile options.
Syntax
NV.StartOrModifyEmulation(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.
IMPORTANT
If a test is not running this method launches it.
StartEmulationExcludeIPs Method
Description
Starts a network emulation and specifies an an array of IP addresses to exclude.
Syntax
NV.StartEmulationExcludeIPs(profileName, 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.
Dim Emulation1
Dim ExcludedIPs(0)
ExcludedIPs(0) = "1.1.1.1"
Emulation1 = NV.StartEmulationExcludeIPs("CloudServer", ExcludedIPs)
NV.StopEmulation(Emulation1)
StopEmulation Method
Description
Stops a network emulation.
Syntax
NV.StopEmulation(testToken)
Arguments
Argument | Type | Description |
---|---|---|
testToken | String | The emulation ID on the Network Virtualization server |
Returns
None
Dim Emulation1
Dim ExcludedIPs(0)
ExcludedIPs(0) = "1.1.1.1"
Emulation1 = NV.StartEmulationExcludeIPs("CloudServer", ExcludedIPs)
NV.StopEmulation(Emulation1)
See also:
- Crypt Object
- DataTable Object
- Description Object
- DeviceReplay Object
- DotNetFactory Object
- DTParameter Object
- DTSheet Object
- Environment Object
- Extern Object
- Parameter Object
- JSON Object
- JsonUtil Object
- MercuryTimers Object (Collection)
- MercuryTimer Object
- NV Object
- OptionalStep Object
- ParallelUtil Object
- LocalParameter Object
- PasswordUtil Object
- PathFinder Object
- PDFUtil Object
- Properties Object (Collection)
- QCUtil Object
- RandomNumber Object
- Recovery Object
- Remote Connection Object
- Reporter Object
- RepositoriesCollection Object
- Repository Object
- Services Object
- Setting Object
- SystemMonitor Object
- TestArgs Object
- TextUtil Object
- UIAutomation Object
- VisualRelation Object
- VisualRelations Object
- VisualRelationsCollection Object
- WebUtil Object
- XMLUtil Object