Skip to content

CTRF report ​

--report-ctrf writes a CTRF JSON report. The GitHub test reporter and other CTRF tools can read it.

Tests ​

Each Hurl entry of a node becomes one test. An entry is one request with its assertions.

CaseTest statusMessage
All assertions of the entry passpassedNone
An assertion failsfailedThe Hurl assertion on one line, for example Assert status code: HTTP 200 (actual value is <500>)
Hurl marks the file failed, and no assertion failedfailedOne test for the node
The Hurl process failedfailedThe error
A dependency failedskippedfailed dependency: <id>
A known failureother, with flaky: trueThe matched signature. The entry name is in tags.
A dependency was a known failureskippedknown failure upstream: <id>

Retries ​

With the Hurl option [Options] retry, Hurl writes one entry for each attempt, with the same index. The report keeps only the last attempt. Thus a request that failed two times and then passed is one passed test.

With the retry policy of hurl-orchestra, the report contains only the last attempt of the node.

Summary ​

summary.other counts the known failures. They do not increase summary.failed.