How it works
Your tests keep running where they do today. After they finish, one step in your pipeline sends the report to TestBridge with the tool’s project token. One engine reads every format, recognises each test across runs, and decides what each result means for your defects.
- A new failure waits in Failures to review with a suggested defect, or files one automatically, depending on Failure handling.
- A repeat failure of a test linked to an open defect is added to that defect’s history, with the build and CI run. No duplicate report.
- A flaky test, one that passes on retry or flips between pass and fail, is marked flaky and never becomes a defect on its own.
- A passing test linked to a defect in review or ready for retest is attached as retest evidence. It never changes the defect’s status and never closes it: QA still verifies.
Connect a tool
- 1Open the project’s Integrations → Testing & QA and pick the tool. Maestro, REST Assured and Grafana k6 are on the line under the cards.
- 2Choose the settings in <Tool> Integration, then Connect. TestBridge issues the tool’s project token and shows it in full once.
- 3Open Pipeline setup. Save TESTBRIDGE_RESULTS_URL as a CI variable and the tool’s token as a secret named after it (for example TESTBRIDGE_PLAYWRIGHT_TOKEN), at repository level so the test job can read them. These are separate from CI & Build’s TESTBRIDGE_DEPLOY_URL and TESTBRIDGE_DEPLOY_SECRET. Then make your test runner write a report file (its config gains a reporter; the file itself is created when the tests run) and add the upload step to the job that runs your tests, right after the test step: GitHub Actions, GitLab CI, Jenkins, Azure DevOps or any CI with curl.
- 4Run your tests and choose Check for results. The card shows Connected once the first report arrives.
| Tool | Report it sends | How to produce it |
|---|---|---|
| Playwright | JUnit XML or Playwright JSON | reporter: junit or json in playwright.config.ts (JSON keeps flaky retries) |
| Cypress | JUnit XML or Cucumber JSON | mocha-junit-reporter, merged into one file |
| Selenium, REST Assured | JUnit XML, TestNG XML or Cucumber JSON | Maven Surefire / Gradle reports, or testng-results.xml |
| Appium | JUnit XML, TestNG XML or Cucumber JSON | WebdriverIO junit reporter, or Surefire for Java |
| Maestro | JUnit XML | maestro test --format junit --output results/junit.xml |
| Postman | Postman CLI / Newman JSON, or JUnit XML | postman collection run … --reporters cli,json, or newman -r json |
| Grafana k6 | k6 summary JSON | k6 run --summary-export=summary.json; each crossed threshold fails |
Settings and sync
| Setting | What it does |
|---|---|
| Test suite name | A label for the results in Recent test runs, used when a run sends no name. Type any name; names from earlier runs are suggested as you type, so a suite keeps one name. It never changes which project the results go to: that is always the project the tool is connected on. |
| Test environment | Used when a report names no environment. Pipeline names that differ (stg, prod) are mapped in Pipeline setup. |
| Report format | Auto-detect, or one format to refuse anything else. |
| Execution source | CI & Build (your CI), API, or manual upload. The pipeline steps follow it. |
| Default branch | Used when a report names no branch. Type it, or pick a suggestion: the branches of the repository linked in Version Control, plus branches seen in earlier runs. |
| Failure handling | Suggest defects for review (default), Create or update defects, or Record only. |
| Import test results from CI & Build | Off pauses uploads with the token; manual uploads still work. |
| Link failed tests to defects using defect ID or test key | A test whose name, suite or file carries an open defect’s key, such as PSM-119, is linked to it. |
| Create defect suggestions for new failures | Each failure to review gets a likely match or a prefilled draft. |
| Include test evidence | Links to logs, screenshots and traces in the report are kept with each result and on the linked defect. |
| Notify project members on test failures | QA leads get an in-app notification when new failures wait for review. |
| Sync only selected test suites | Only the suites or spec files you pick are imported. |
How results are handled, above Failures to review, holds the project-wide rules: link repeat failures to the open defect, flag flaky tests, and record passing runs as retest evidence. All are on by default.
Review failures
Failures to review groups failed tests by test, with tabs for Needs review, Linked, Flaky and Ignored. Each row shows the test, its file, tool and browser or device, the failure, when it was first seen and how often it failed.
- Create defect opens a draft prefilled from the failure (title, steps, expected and actual result, environment, build); finish and submit it.
- Link to defect searches this project’s defects. When the test was linked before, or an open defect reads like it, the row says Looks like PSM-131 with a one-click link.
- Ignore keeps the test quiet until someone un-ignores it. Mark flaky and Unmark flaky do what they say.
Recent test runs lists every run with its build, branch, results and duration; open one to see each result, failures first. A defect’s Engineering and QA Verification tabs show its Automated tests: linked tests, their latest outcome, and the runs that passed or failed on each build. The mobile app shows the same block, read-only. Members who cannot open project settings see runs and failures in the project’s Automated tests tab.
Sending reports by API
POST /api/v1/test-results with Authorization: Bearer <project token>. Send the report as a multipart file field, or as the raw request body. Optional fields (form fields or query parameters): format, build, environment, branch, commit, ciUrl, runName. Reports are limited to 10 MB and 20,000 tests. The reply has the run number, the counts and what happened to the failures.
Who can do what
| Action | Permission | Held by default |
|---|---|---|
| Connect tools, tokens, settings and rules | Connect testing tools (testResults.manage) | Workspace Owner, Workspace Admin, Engineering Lead, QA Lead |
| Create or link defects, ignore, mark flaky | Review automated test failures (testResults.review) | QA Lead, QA Engineer, Engineering Lead, Project Manager; the Owner always; Admins when nobody else holds it |
| See runs, failures and a defect’s automated tests | Project access | Everyone who can see the project |
Coming next
BrowserStack, Sauce Labs, TestRail and Apache JMeter connect with an account rather than a report file; they are coming soon. Choose Request to tell us you need one.
