setFailureProbability
Deprecated
Probabilities are no longer supported
Replace with
setShouldFail(false)
Content copied to clipboard
Probability of Mockzilla returning a simulated http error for this endpoint. 100 being a guaranteed error .
Parameters
percentage
(0 -> 100 inclusive)