Stop Processing Assertion

The Stop Processing assertion always returns "false" (that is, "assertion failed") in a policy when it is encountered. Depending on the policy logic, this may fail a branch or the entire policy, or it may have no impact on the policy.
gateway83
The Stop Processing assertion always returns "false" (that is, "assertion failed") in a policy when it is encountered. Depending on the policy logic, this may fail a branch or the entire policy, or it may have no impact on the policy.
This assertion may be useful in the following scenarios when you need to stop and report on a message condition:
  • A particular Evaluate Request or Response XPath assertion is successful. However, this success indicates a back-end failure. Use the Stop Processing assertion at the point to indicate a failure.
  • Processing of a message needs to stop as soon as it is reported to the audit subsystem (via the Audit Messages in Policy assertion)
Note that the Stop Processing assertion may result in misleading error messages from the client (for example, that an assertion has been falsified).
 
 
Stop Processing vs. Raise Error:
 While the Stop Processing simply returns "false", the Raise Error assertion halts policy processing immediately. For more details, see Raise Error Assertion.
Using the Assertion
  • Add the assertion as described in Add an Assertion.
The assertion is added to the policy window; no further configuration is required.