1. Supported Assertion Targets
2. Comparison Operators
equals/notEquals: Strict equality checks against strings, numbers, or booleans.contains/notContains: Substring verification or array membership checks.greaterThan/lessThan: Numeric boundary and latency thresholds.matchesRegex: Regular expression validation (e.g. email format, UUID patterns, ISO timestamps).hasProperty/doesNotHaveProperty: Validates whether a key exists in the response object regardless of value.
3. Dynamic Token Assertions
Assertions support full token interpolation. You can compare the response of a node against values generated earlier in the flow:4. Expected Status Codes and the Run Outcome
Every node that ran has a result, separate from its lifecycle status:- Passed: the acceptance criteria held.
- Failed: a response came back, but the criteria did not hold.
- Error: no usable response (DNS, connection, TLS, timeout, outbound block), or an IF / Switch without a condition or evaluation target.
- With an enabled
status_codeassertion, that assertion decides the HTTP status. AGETafter aDELETEwithstatus_code equal 404passes when the API returns404. - Without one, 2xx is the implicit criterion, so a test-data step that gets
500never passes silently. - Body, header and response-time assertions always apply on top.
- Polling and assertion retries use the same rule (for example, poll until
404); a status condition in Continue when counts as the expected status.
0 / 1 / 2) and the Knowledge Pool failure signature use this result.
5. Assertion Retry Policy
In distributed environments, downstream state may take several hundred milliseconds to become consistent. Rather than failing the flow immediately on a momentary mismatch, Quixa supports Assertion Retries:- Max Retries: The maximum number of retry attempts (e.g.,
3). - Retry Interval (ms): Wait duration between attempts (e.g.,
1000 ms). - Execution: If an assertion fails, Quixa automatically re-invokes the HTTP request after the configured interval until the assertion passes or the retry limit is exhausted.
6. Visual Reporting of Assertion Outcomes
During workflow execution, assertion results are displayed with color-coded badges in the Execution Results Panel:- 🟢 Green Badge: All assertion rules passed successfully.
- 🔴 Red Badge: Highlights the exact assertion that failed, showing the Expected versus Actual values.