You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the read the FAQs in the Readme <--- Where is the FAQs, I can't find
I have triple checked, that there are no unhandled promises in my code and have read the section on intermittent test failures
I have set my log level to debug and attached a log file showing the complete request/response cycle
For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem
Expected behaviour
The request GET /any should return 404, and mock server should report the request GET /api/users/14f6626f-c51e-4311-ac52-182c8f2a7634 is expected but not received.
Actual behaviour
The request GET /any return 200 with json body that didn't belong to it.
👋 Hi! The 'smartbear-supported' label has just been added to this issue, which will create an internal tracking ticket in PactFlow's Jira (PACT-1137). 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.
When I add interaction like this:
I expect mock server should return 404 for this request
GET /any
, but it return 200 with body{"id": "14f6626f-c51e-4311-ac52-182c8f2a7634"}
For more development information, please take a look at this Slack's discussion https://pact-foundation.slack.com/archives/C9VBGLUM9/p1683003726545669
Software versions
Please provide at least OS and version of pact-js
v18.17.1
Issue Checklist
Please confirm the following:
Expected behaviour
The request
GET /any
should return 404, and mock server should reportthe request GET /api/users/14f6626f-c51e-4311-ac52-182c8f2a7634 is expected but not received
.Actual behaviour
The request
GET /any
return 200 with json body that didn't belong to it.Steps to reproduce
Here is the demo project https://github.com/tienvx/test-from-provider-state-generator
Relevant log files
The text was updated successfully, but these errors were encountered: