https://linen.dev logo
r

Rohit Manmath Binjagermath

03/20/2023, 2:26 PM
How can I use configuration.usingFilesUnderDirectory() to scan wiremock mapping req and response from wiremock folder under resources of another module in multimodule wiremock application, where as this module is added as dependency in main module pom.xml Tried by passing path to directory but it is not working
t

Tom

03/20/2023, 6:38 PM
Hi @Rohit Manmath Binjagermath you might want to try setting the file source as a
ClasspathFileSource
instance when starting WireMock
r

Rohit Manmath Binjagermath

03/21/2023, 3:59 AM
@Tom could you pls provide any example for this that would be so helpful, I have been trying to achieve this but not succeeded
6 Views