Skip to main content

Qmpass Test Agent

Runs your Qmpass test jobs on machines you control — QA laptops, shared runners or CI — and reports results back to Qmpass.

Requirements

  • Python 3.10 or newer
  • Node.js 18 or newer (for Browser tests)
  • An agent token from Qmpass: Project settings → Agents → Add agent

Install

pipx install qmpass-test-agent          # or: pipx install "qmpass-test-agent[postgres]" / [mysql] / [salesforce]
qmpass-agent setup                      # one time: installs the browser used by Browser tests
qmpass-agent doctor                     # checks everything below, with a fix for each problem

doctor checks Python, Robot, Node.js and Chromium, your AGENT_TOKEN / BACKEND_URL, that Qmpass can be reached, and that the token is accepted — without starting a session, so it's safe to run while an agent is already running.

No pipx yet? brew install pipx (macOS), python3 -m pip install --user pipx (Windows / Linux), then pipx ensurepath.

Run

Copy the command shown with your agent token in Qmpass, or:

export AGENT_TOKEN=qmp_agent_…
qmpass-agent run

The agent connects to https://api.qmpass.ai (set BACKEND_URL for other deployments), waits for jobs, and logs one line when each run starts and finishes.

Useful options: --worker N (parallel jobs, up to 5), --log-file PATH, --log-format json, --log-level DEBUG. Run qmpass-agent --help for all commands.

Update

pipx upgrade qmpass-test-agent

Exit codes

Code Meaning
0 Stopped normally
2 Configuration error
3 Refused by the platform (invalid or expired token, agent disabled) — the log says which
4 Agent too old — run pipx upgrade qmpass-test-agent
5 A prerequisite is missing (e.g. Node.js) — run qmpass-agent setup

License

Proprietary — for use with a Qmpass subscription. See LICENSE.

Metadata

Release files for qmpass-test-agent 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for qmpass-test-agent 1.0.0
File Interpreter ABI Platform
qmpass_test_agent-1.0.0-py3-none-any.whl Python 3 none any Details

Release files / qmpass_test_agent-1.0.0-py3-none-any.whl

Download URL qmpass_test_agent-1.0.0-py3-none-any.whl
Size 201.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
234514d363a938234d8ebd8ea9fc0d351d8c1b52c4797cdea1c6dd8db0974c06
BLAKE2b-256 checksum
How to use checksums
4b16dcff21c54768189eeaebcf8d09e75eed6b872ea4c304a066d5ac4e1f752a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.10

Release history Release notifications | RSS feed

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page