Skip to main content

Qmpass Test Agent

Run your Qmpass automated tests on your own laptops, servers or virtual machines — faster feedback, safer releases, and full control over your test environments.

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] / [rpa]
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 QMPASS_TOKEN / QMPASS_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.

Optional add-ons, only needed if your tests use them:

Add-on Install For tests that
postgres pipx install "qmpass-test-agent[postgres]" query a PostgreSQL database
mysql pipx install "qmpass-test-agent[mysql]" query a MySQL / MariaDB database
rpa pipx install "qmpass-test-agent[rpa]" use the RPA framework: Salesforce, Excel, PDF, Email, … (large install)

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 QMPASS_TOKEN=qmp_agent_…
qmpass-agent run

The agent connects to https://api.qmpass.ai (set QMPASS_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

When a newer version is available, qmpass-agent run says so in one line at startup (and doctor shows it). The agent never updates itself. Set QMPASS_AGENT_UPDATE_CHECK=0 to turn the check off.

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.21

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

Source distribution (sdist)

Source distribution for qmpass-test-agent 1.0.21
File Size Uploaded Provenance Actions
qmpass_test_agent-1.0.21.tar.gz 221.6 kB Without provenance Details for qmpass_test_agent-1.0.21.tar.gz

Built distribution (wheel)

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

Total release size: 451.6 kB

Release files / qmpass_test_agent-1.0.21.tar.gz

Download URL qmpass_test_agent-1.0.21.tar.gz
Size 221.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c5654048b49b14f03308c855f3f731ec0339ab8fd4423dd7c93833a9a110d018
BLAKE2b-256 checksum
How to use checksums
5805c345e44117b159192406507ff7380b9f7c0e001ca13390d527b8d5eb9117
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

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

Download URL qmpass_test_agent-1.0.21-py3-none-any.whl
Size 230.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
162a7bc81a3b4391f5099598c59eb5c26e384bcbb5aa81e1a72b2b8e3292f8c3
BLAKE2b-256 checksum
How to use checksums
b452129b24a1a4b96b5bb2bd794e453f3c1279ad730a177a1821a4ac4e7cace5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for qmpass-test-agent 1.0.21

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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