troubleshooting

return per-expectation mismatch debug information for a request

Evaluates the supplied HttpRequest against every active expectation and returns, for each, whether it matched and the per-field differences, plus a closest match. Only HttpRequest definitions are supported (not OpenAPI definitions).

put/mockserver/debugMismatch

Request

  • Base URL: http://localhost:1080
  • URL: http://localhost:1080/mockserver/debugMismatch
  • Auth: none declared

Request body

OR
OR

Response

mismatch debug information returned

correlationIdstring

a new id for this call, not the id of a recorded request

timestampstring date-time

when this result was computed

totalExpectationsinteger

how many expectations are stored

evaluatedExpectationsinteger

how many expectations were evaluated, at most maxExpectationsEvaluated

truncatedboolean

present and true when there were more expectations than maxExpectationsEvaluated

maxExpectationsEvaluatedinteger

the evaluation limit (100); present only when truncated is true

Changes

No recorded changes to this operation across all 1 revision of this API.