Skip to content

Specmatic Expects 4xx Response for Valid Request #1152

Closed Answered by harikrishnan83
premsvmm asked this question in Ask For Help
Discussion options

You must be logged in to vote

@premsvmm Thanks again for the details.

In your spec the examples COUNT_EXCEEDED, INVALID_SKIP and INVALID_COUNT are only in the responses section. However I do not see the corresponding named examples under the request section. Did you intend to setup the corresponding named example under the request section also as per your test data so that your application responds with appropriate error status?

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by premsvmm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants