Specmatic Expects 4xx Response for Valid Request #1152
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @premsvmm, thanks for reporting this issue. |
Beta Was this translation helpful? Give feedback.
-
@premsvmm Thanks again for the details. In your spec the examples |
Beta Was this translation helpful? Give feedback.
-
Thanks @harikrishnan83. After making the named example changes, it works as expected. |
Beta Was this translation helpful? Give feedback.
@premsvmm Thanks again for the details.
In your spec the examples
COUNT_EXCEEDED
,INVALID_SKIP
andINVALID_COUNT
are only in theresponses
section. However I do not see the corresponding named examples under therequest
section. Did you intend to setup the corresponding named example under therequest
section also as per your test data so that your application responds with appropriate error status?