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
Mock Server support this generator (obviously from its name), so Consumer's contract test passed.
But Stub Server doesn't support this generator, so Consumer's integration test failed.
I think:
This is a bug, and Stub Server should support this generator (because it support other generators, at least I tested with RandomInt)
Should we rename MockServerURL to something else that say that Stub Server support it too? I don't have suggestion, naming is hard.
Instead of starting stub server using yarn, run this command instead: target/debug/pact-stub-server -p 8001 -d ../test-mock-server-url-generator/pacts --cors
But it doesn't fix the issue. The connection refused error is still there.
Generator
MockServerURL
is used like this:Mock Server support this generator (obviously from its name), so Consumer's contract test passed.
But Stub Server doesn't support this generator, so Consumer's integration test failed.
I think:
RandomInt
)MockServerURL
to something else that say that Stub Server support it too? I don't have suggestion, naming is hard.Here are some additional information:
Pact file from the above demo project
In case you don't want to run the demo project to see the contract file
The text was updated successfully, but these errors were encountered: