TestBench Defect Service
Introduction
A lightweight REST API service for imbus TestBench that provides a unified interface for creating and synchronising defects with external defect tracking systems.
Features
- Multiple clients: JSONL files for testing/offline use, or Jira Cloud and Data Center via REST API
- Unified REST API: a single API surface regardless of the underlying defect tracker
- Interactive setup wizard:
testbench-defect-service initgenerates a complete config in seconds - Swagger UI: built-in interactive API docs at
/docs - Per-project overrides: field mappings and configuration per project key
- Pre/post sync hooks: run shell commands before or after sync operations
- HTTPS & mTLS: optional TLS and mutual TLS for production deployments
- Extensible: implement
AbstractDefectClientto connect any defect tracker
Installation
With pip (Python 3.10–3.14 required):
pip install testbench-defect-service
Optional extras for additional clients:
| Client | Data source | Install command |
|---|---|---|
| JSONL (default) | .jsonl files |
included in base install |
| Jira | Jira Cloud / Data Center REST API | pip install testbench-defect-service[jira] |
Standalone executable (no Python required): download the pre-built binary from the GitHub releases page.
Quickstart
# 1. Create a configuration interactively
testbench-defect-service init
# 2. Start the service
testbench-defect-service start
The service runs at http://127.0.0.1:8030 by default. Open /docs for the interactive Swagger UI.
Documentation
Full documentation is available on the TestBench Ecosystem documentation site:
- Introduction
- Installation
- Quickstart
- Configuration
- CLI Commands
- Clients overview
- TestBench Integration
Contributing
Contributions are welcome. See CONTRIBUTING.md for setup instructions and guidelines.
Changelog
See CHANGELOG.md for release history.
License
Apache 2.0 — see LICENSE for details.
Metadata
Release files for testbench-defect-service 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| testbench_defect_service-0.3.1.tar.gz | 568.3 kB | Without provenance | Details for testbench_defect_service-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| testbench_defect_service-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for testbench_defect_service-0.3.1-py3-none-any.whl |
Total release size: 1.2 MB
Release files / testbench_defect_service-0.3.1.tar.gz
| Download URL | testbench_defect_service-0.3.1.tar.gz |
|---|---|
| Size | 568.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f898dd366df160edde11ed61ed104907007249d3caf67a11b6b3e9e3efa2dc1
|
|
BLAKE2b-256 checksum How to use checksums |
c3d4bb47955afc91f34ee15f3767f3482f35f046f5ed65cbd26efccba676393b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Release files / testbench_defect_service-0.3.1-py3-none-any.whl
| Download URL | testbench_defect_service-0.3.1-py3-none-any.whl |
|---|---|
| Size | 587.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6971987398e9bae2953f04dd27173f29ebfab8eca68aaebcece792c8e0afa01
|
|
BLAKE2b-256 checksum How to use checksums |
5fd199e48187c55e436362567dd930e62adc062377a59ebb8487c1a001684ef3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Security for testbench-defect-service 0.3.1
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.