This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Faults

Fault count is one of the key statistics associated with sequences, Proxy Services and endpoints. The fault counting logic of the WSO2 ESB statistics module considers following situations as fault conditions:

  • Receiving a SOAP fault from a backend service
  • Encountering a communication error while sending a request out
  • Encountering a runtime exception while mediating a message through a mediator

The total count for a particular entity includes its fault count. Therefore fault count is always less than or equals to the corresponding total count. In situations where the total number of messages is very large and faults are unavoidable, the ratio between the fault count and the total count can become a very useful statistic.

To get most accurate fault counts, one should enable statistics on the relevant fault handler sequences. Since all the faulty messages are dispatched to the fault handlers, this will ensure that each and every fault will be counted by the fault counting logic.