pactflow / swagger-mock-validator

Other
13 stars 4 forks source link

Negative scenario testing (allow testing 4xx, 5xx responses) #9

Closed tl-madhulika-mitra closed 1 year ago

tl-madhulika-mitra commented 2 years ago

For some tests the request body has missing information, or the authentication headers are skipped in order to get the 4XX response. But when this interaction is tested with BDCT there is an error on request body correctness.

How can this be avoided, since in this case, the interaction is correct and just the response should be evaluated.

github-actions[bot] commented 1 year ago

👋 Hi! The 'smartbear-supported' label has just been added to this issue, which will create an internal tracking ticket in PactFlow's Jira (PACT-1038). We will use this to prioritise and assign a team member to this task. All activity will be public on this ticket. For now, sit tight and we'll update this ticket once we have more information on the next steps.

See our documentation for more information.

mefellows commented 1 year ago

We had an item on our backlog for this, I'm going to link the issues so we can better track this.

mefellows commented 1 year ago

Closed in #30