Skip to main content

Local agent for SUSATest — connects your Android device to the cloud testing platform

Project description

susatest-agent

Local agent for SUSATest — connects your Android device to the cloud testing platform.

Install

pip install susatest-agent

Usage

  1. Get your API key from susatest.com/app/settings
  2. Connect your Android device via USB (USB debugging enabled)
  3. Run:
susatest-agent connect --api-key susa_YOUR_API_KEY

Your device will appear in the SUSATest dashboard. Upload an APK and tests run directly on your phone.

Requirements

  • Python 3.9+
  • ADB installed (adb in PATH) — comes with Android Studio
  • Android device connected via USB with USB debugging enabled

Commands

# Connect to SUSATest (default server)
susatest-agent connect --api-key susa_xxxx

# Connect specific device (if multiple)
susatest-agent connect --api-key susa_xxxx --device R5CR1234567

# Custom server URL
susatest-agent connect --api-key susa_xxxx --server wss://your-server.com

# Custom ADB path
susatest-agent connect --api-key susa_xxxx --adb-path /path/to/adb

How It Works

The agent creates a WebSocket tunnel between your local machine and susatest.com. When you start a test on the website:

  1. Server sends commands (tap, screenshot, swipe, etc.) through the tunnel
  2. Agent executes them via ADB on your local device
  3. Results stream back to the server in real-time

No ports need to be opened — the connection is outbound only.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

susatest_agent-0.2.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

susatest_agent-0.2.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file susatest_agent-0.2.0.tar.gz.

File metadata

  • Download URL: susatest_agent-0.2.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for susatest_agent-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0a8eadbde45a692245150602771bbe2acb853f05fb0a72e300f4c35869a300a7
MD5 95c1d9a28ec8b2d5015a7e0f93035d28
BLAKE2b-256 419fa39bcf0b2aeebe5405c16bc057fb7a7f62d0b9e0c49ffc1f8b0f57f77402

See more details on using hashes here.

File details

Details for the file susatest_agent-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: susatest_agent-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for susatest_agent-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1a46bfded901f49f0071da26d145ba841b0046e677df0ba802464342b7e0559
MD5 20fdf9689c8801a455c7d304afe268a3
BLAKE2b-256 a9125a419b7023f4545c609d6178aae5b8ba4121ddf3c651eb14a4742549ceb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page