Class SnapshotStubMappingPostProcessor
java.lang.Object
com.github.tomakehurst.wiremock.recording.SnapshotStubMappingPostProcessor
Performs stateful post-processing tasks on stub mappings generated from ServeEvents: 1. Detect
duplicate requests and either discard them or turn them into scenarios 2. Extract response bodies
to a separate file, if applicable 3. Run any applicable StubMappingTransformers against the stub
mappings
-
Constructor Summary
ConstructorDescriptionSnapshotStubMappingPostProcessor
(boolean shouldRecordRepeatsAsScenarios, SnapshotStubMappingTransformerRunner transformerRunner, ResponseDefinitionBodyMatcher bodyExtractMatcher, SnapshotStubMappingBodyExtractor bodyExtractor) -
Method Summary
-
Constructor Details
-
SnapshotStubMappingPostProcessor
public SnapshotStubMappingPostProcessor(boolean shouldRecordRepeatsAsScenarios, SnapshotStubMappingTransformerRunner transformerRunner, ResponseDefinitionBodyMatcher bodyExtractMatcher, SnapshotStubMappingBodyExtractor bodyExtractor)
-
-
Method Details
-
process
-