SavePact() does not export actual interactions #497

Closed
opened 2025-12-29 15:25:18 +01:00 by adam · 1 comment
Owner

Originally created by @codegolem on GitHub (Mar 15, 2023).

Originally assigned to: @StefH on GitHub.

SavePact() does not save the actual interactions, but only the configured stubs.

I would have expected to see all entries from the LogEntries, with actual headers and body content, to be exported as interactions in the pact file.

Is this by design? Is it a missing feature?

Originally created by @codegolem on GitHub (Mar 15, 2023). Originally assigned to: @StefH on GitHub. SavePact() does not save the actual interactions, but only the configured stubs. I would have expected to see all entries from the LogEntries, with actual headers and body content, to be exported as interactions in the pact file. Is this by design? Is it a missing feature?
adam added the question label 2025-12-29 15:25:18 +01:00
adam closed this issue 2025-12-29 15:25:19 +01:00
Author
Owner

@StefH commented on GitHub (Mar 15, 2023):

As far I know / understood is pact used to test the contract.
So only the mappings are converted to Pact. Not all calls made to the service.

@StefH commented on GitHub (Mar 15, 2023): As far I know / understood is pact used to test the contract. So only the mappings are converted to Pact. Not all calls made to the service.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#497