https://linen.dev logo
#help
Title
# help
d

Daniel Augustin

10/30/2023, 5:27 PM
I am trying to migrate to WireMock 3.2. How can I access the FileSource in the
ResponseDefinitionTransformerV2.transform(ServeEvent serveEvent)
method? In the previous version
FileSource
is passed in as a parameter to the
ResponseDefinitionTransformer.transform(Request request, ResponseDefinition responseDefinition, FileSource files, Parameters parameters)
method.
o

Oleg Nenashev

10/31/2023, 7:56 AM
I need to check the code, but normally it should now use the new data provider extension and reference it. Not 100% sure without code https://github.com/wiremock/wiremock/issues/2145