Setting Up
Create an API Key
Click + Add API Key, give it a name (e.g., “CI Pipeline” or “Staging”), and save. The key is shown only once — copy it immediately.
Configure Your Pipeline
Use the generated API key in your CI/CD configuration:Your Product UUID is displayed on the Integrations and API Keys page and can be copied with one click.
API Endpoints
OneTest provides ReportPortal v2 compatible endpoints:| Endpoint | Description |
|---|---|
POST /api/v2/{product_uuid}/launch | Start a new test launch |
POST /api/v2/{product_uuid}/item | Report a test item |
POST /api/v2/{product_uuid}/log | Add a log entry |
POST /api/v1/products/{product_uuid}/import/junit | Import JUnit XML results |
Managing API Keys
Each API key has:- Status — Active or expired
- Retention period — How long test results are kept (default: 90 days)
- Expiration date — When the key expires
JUnit XML Import
For frameworks that don’t support ReportPortal agents, you can import JUnit XML files directly:Each API call costs 1 coin from your weekly budget. Browser UI usage is always free. See Usage & Billing for details.
What’s Next?
View Test Runs
See your automated test results alongside manual runs
Usage & Billing
Monitor API usage and coin consumption

