Parse and summarize a JUnit XML test report

Parse bounded JUnit XML from pytest, Jest, Maven, Gradle, or other test runners. Return suite totals, pass rate, duration, failed test names, failure messages, and the files or classes that need attention without executing embedded content.

$0.004 USDC   POST /v1/junit-summary

developer-tools · testing · junit · xml

Use it for

Example input

{
  "xml": "<testsuite tests=\"1\" failures=\"1\"><testcase name=\"test_total\"><failure>assert 1 == 2</failure></testcase></testsuite>"
}

Example output

{
  "success": true,
  "totals": {
    "tests": 1,
    "failed": 1,
    "passed": 0
  },
  "pass_rate": 0.0
}

Call it

Use an x402 v2 payment-aware client from the quickstart. An unpaid request safely returns the exact payment challenge before any work runs.