Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Dec 17, 2019 19:09

Command: vnetwork

Subcommand: start

Supported Platforms: Native,UFT,Selenium,Appium

Supported OS: Android, iOS

Starts the network virtualization for the device with the specified conditions. Network virtualization will be stopped when the script ends.


For network conditions testing, the device being used is connected to the Web via Perfecto WiFi – setup is completed by Perfecto Mobile.

Use the Network virtualization start and update commands to activate and update the network conditions. Without this activation there is no effect on the device communication to the Web.

Selecting latency effects both in and out traffic. For example, selecting latency of 100, results with the actual latency being 200 - 100 each way.

Click here to see typical network emulation values.

Emulation of problematic networks

Problematic LevelPacket loss (%)Corruption (%)Duplication(%)Reorder
Steady Network1002
Noisy Network2205
Unstable Network33210
Very Unstable Network55520


 * Mandatory parameter

Request & Response


JSON Response
  "reason": "Success",
  "timer.elapsed": "750",
  "returnValue": "",
  "testGridReportUrl": "[0]=john@perfectomobile.com_controller_16-11-09_12_44_59_31771",
  "description": "Success",
  "timer.system": "750",
  "completed": "true",
  "flowEndCode": "SUCCEEDED",
  "executionId": "john@perfectomobile.com_controller_16-11-09_12_44_59_31771",
  "timer.ux": "0",
  "singleTestReportUrl": "",
  "reportKey": "PRIVATE:controller/161109/controller_16-11-09_12_44_59_31771.xml",
  "timer.device": "0"