0

My Java application creates a wiremock to a mapping directory.

final var  baseDir = System.getProperty("user.dir");
final var mappingsDir = baseDir + "/src/test/resources/wm-mappings/app1";

Under app1 I have another folder called mappings.

wireMockServer = new WireMockServer(WireMockConfiguration
    .options()
    .port(56008)
    .usingFilesUnderDirectory(mappingsDir));

This works fine, but I want to include another directory. How can I do that?

khelwood
  • 55,782
  • 14
  • 81
  • 108
user1555190
  • 2,803
  • 8
  • 47
  • 80

0 Answers0