Skip to main content

Errors

Smocker uses 6XX errors to clearly split errors due to its own execution from those returned by defined mocks.

Theses errors will only occurs on mock's endpoint started on the port 8080 by default.
It doesn't concern the Smocker API which will always return standard HTTP errors.

The list of existing Smocker errors is:

ErrorDescription
600 - Smocker internal errorError returned if a problem is encountered during the processing of requests or history
601 - Error during template engine executionError returned if a problem is encountered during template engine execution
602 - Error during request redirectionError returned if a problem is encountered during proxy mock redirection
666 - No mock foundError returned if no matching mock is found among those defined in Smocker for a request