You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subash Canapathy edited this page Jan 27, 2017
·
2 revisions
Why
Most teams looking to use STF as their IaaS provider for the devices they have in lab, have an implicit bias that "its not the same as a device connected via wired USB". Some of these concerns stem from the adb client being notoriously prone to disconnects and hence this creates a doubt of adding another layer might not be a good idea. This script can be used to stress test your setup to validate the stability of adb connection over remote/tcp and also vindicates the hardware choices recommended by OpenStf
What does it test
The script takes three arguments:
The device serial no
STF instance URL:port
API token for auth
For every device you kick off this script, it downloads an open source app, and runs monkey stress test over the device while tailing the verbose output (which uses logcat) to local disk in a log file. This pretty much covers any device farm use case where you would want to constantly run test and tail logs.