Testing & QA integration

Send automated test results from Playwright, Cypress, Selenium, Postman, Appium, Maestro, REST Assured or k6. Failures become defect suggestions or link to defects; passing runs become retest evidence.

7 sections · Updated 30 November 2026

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

  1. 1Open the project’s Integrations → Testing & QA and pick the tool. Maestro, REST Assured and Grafana k6 are on the line under the cards.
  2. 2Choose the settings in <Tool> Integration, then Connect. TestBridge issues the tool’s project token and shows it in full once.
  3. 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.
  4. 4Run your tests and choose Check for results. The card shows Connected once the first report arrives.
ToolReport it sendsHow to produce it
PlaywrightJUnit XML or Playwright JSONreporter: junit or json in playwright.config.ts (JSON keeps flaky retries)
CypressJUnit XML or Cucumber JSONmocha-junit-reporter, merged into one file
Selenium, REST AssuredJUnit XML, TestNG XML or Cucumber JSONMaven Surefire / Gradle reports, or testng-results.xml
AppiumJUnit XML, TestNG XML or Cucumber JSONWebdriverIO junit reporter, or Surefire for Java
MaestroJUnit XMLmaestro test --format junit --output results/junit.xml
PostmanPostman CLI / Newman JSON, or JUnit XMLpostman collection run … --reporters cli,json, or newman -r json
Grafana k6k6 summary JSONk6 run --summary-export=summary.json; each crossed threshold fails
Note: No CI yet? Choose Upload report and drop a report file. It goes through the same engine.

Settings and sync

SettingWhat it does
Test suite nameA 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 environmentUsed when a report names no environment. Pipeline names that differ (stg, prod) are mapped in Pipeline setup.
Report formatAuto-detect, or one format to refuse anything else.
Execution sourceCI & Build (your CI), API, or manual upload. The pipeline steps follow it.
Default branchUsed 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 handlingSuggest defects for review (default), Create or update defects, or Record only.
Import test results from CI & BuildOff pauses uploads with the token; manual uploads still work.
Link failed tests to defects using defect ID or test keyA 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 failuresEach failure to review gets a likely match or a prefilled draft.
Include test evidenceLinks to logs, screenshots and traces in the report are kept with each result and on the linked defect.
Notify project members on test failuresQA leads get an in-app notification when new failures wait for review.
Sync only selected test suitesOnly 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.

Warning: Create or update defects files each new failure as the member shown under Failure handling (by default whoever connected the tool), through the normal report flow. A complete report goes to triage for QA approval; an incomplete one stays that member’s draft. Nothing skips triage or verification.

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.

Tip: A new token stops the old one at once. Managers can reveal the current token again; every reveal is recorded in the audit log.

Who can do what

ActionPermissionHeld by default
Connect tools, tokens, settings and rulesConnect testing tools (testResults.manage)Workspace Owner, Workspace Admin, Engineering Lead, QA Lead
Create or link defects, ignore, mark flakyReview 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 testsProject accessEveryone 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.