...
context
: Context of your Android's application.packageName
: Package name of the application to monitor (for examplecom.android.chrome
). If it is blank (""), the probe does not monitor any particular process.lstPid
: In case of system applications, the probe can't get the PID by package name so you need to precise the PID list matching the package name. (Optional)appName
: GREENSPECTOR's application name.version
: GREENSPECTOR's application version.url
: GREENSPECTOR's server URL. For SaaS: https://api.greenspector.com/api. For on premises servers, replace api.greenspector.com by your URL.privateToken
: Your private token.timeout
: Test time in seconds. The measure stops when the measure time reaches this timeout.interval
: Measure interval in milliseconds. The interval must be greater than 100 ms or can be 0 if you do not want to set it.online
: Setfalse
to write the results on your device. Use this case if you launch your automated tests (UI Automator or Espresso for example) with the Test Runner or the Power Test Cloud/Bench. Settrue
to send the measures immediately to your GREENSPECTOR server. Use this case if you launch your tests with Android Studio (i.e. you do not use the Test Runner or the Power Test Cloud / Bench).
...