Documentation / Agents and the API
Test results from CI
Post a JUnit report and Kaze records it against each item.
POST {KAZE_URL}/api/v1/junit?suite=CI&build=1.2.3&environment=staging
Authorization: Bearer kz_… (needs the test scope)
Content-Type: application/xml
<testsuites>…</testsuites>Kaze matches each test to items by the item key in its name, such as PAY-26 exports a PDF. Add key=PAY-26 to send every test to one item. Optional parameters: suite, build, environment and evidence (an https link). Reports up to 2 MB and 100 items.
The response lists each item and its result, and how many tests matched no item.