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.2.tar.gz (18.6 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.2-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: susatest_agent-0.2.2.tar.gz
  • Upload date:
  • Size: 18.6 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.2.tar.gz
Algorithm Hash digest
SHA256 969c52fe9ee5a55dca8d2a9aace1cb82deae322b7c098f897556a93c6af66f2e
MD5 13ac2dc7e081c5587554e26bae5711b1
BLAKE2b-256 269ed1cc0daf665b1fee9d5dae6c3373a5cd9541aae17d26a2f6d62b016468f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: susatest_agent-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 17.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b78383ea409b6ca178fd2a4eec67af351f46ff1b007ab351f240c7895f0c6b5
MD5 19d72955409711b3b2093a92c4d07554
BLAKE2b-256 7c036da9bdd3d8b149804d220a8c6add4a7cea3305db4ff0cd5ad7c04d695513

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