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


Start Performance Transaction collects data on Duration, CPU, Battery, Memory, and Network traffic of the device.

The command must be used with the following EndPerformanceTransaction 



Name of the Virtualization profile (Network Virtualization).

Note: If the empty value is passed, then the '3G-average' profile is selected and if the 'NONE' value is passed, no profile will be selected.

This will start a performance transaction. An exception is thrown if trying to start a transaction while an existing transaction is already run.

You can view the transaction, once ended, in SeeTest Reporter under the "Transactions" tab.


  • Supported version Android 5.0+ and all iOS versions.
  • A transaction maximum time is 5 min. After 5 minutes transaction will be canceled
  • The transaction will be canceled if you release client\quit driver. No data will be saved
  • Make sure the NV server is configured correctly and connected to Host Machine. The device should be connected to the NV network. Advise Network Visualization documentations 

Set Experitest Url and Access Key

Please make sure you replace <EXPERITEST_URL>, <ACCESS_KEY> with the appropriate URL and access key in the sample code below.


String accessKey = "<ACCESS_KEY>"
String url = "<EXPERITEST_URL>";
DesiredCapabilities dc = new DesiredCapabilities();
//...your capabilities
dc.setCapability("testName", "Transaction example Demo");
dc.setCapability("accessKey", accessKey);
dc.setCapability("deviceQuery", "@os='android' and @category='TABLET'");
dc.setCapability(MobileCapabilityType.APP, "cloud:com.experitest.ExperiBank/.LoginActivity");
dc.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, "com.experitest.ExperiBank");
dc.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, ".LoginActivity");

driver = new AndroidDriver(new URL(url), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "deviceid");
// Starts performance transaction

//do some work. For example - Login transaction:

// end performance transaction, returns a performance data in JSON format.
String loginPerfData = seetest.endPerformanceTransaction("Login");

  • No labels