Skip to main content
Data generation without continuous validation creates silent false positives. In Quixa, every visual node includes an Assertion & Validation Engine that executes comprehensive checks immediately upon receiving a response.

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:
This guarantees true end-to-end data integrity across distributed microservices.

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.
The acceptance criteria of a request node:
  • With an enabled status_code assertion, that assertion decides the HTTP status. A GET after a DELETE with status_code equal 404 passes when the API returns 404.
  • Without one, 2xx is the implicit criterion, so a test-data step that gets 500 never 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.
The flow result follows from its nodes: any error → error, else any failed → failed, else passed. Skipped nodes do not change the result. Suites, the CLI exit code (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.