I am trying to record the soap request via wiremock JAVA API,tried to record by using the below code but I couldn't see any stub mappings files in the mapping folder,Please help me out.
Request:
http://localhost:PORT_NUMBER/IntegrationServices/Bookings/BookFlow_v3 (With xml data in request)
//Staring the wiremock server
WireMockServer wireMockServer = new WireMockServer(options().port(HTTP_PORT).httpsPort(HTTPS_PORT));
options().notifier(new ConsoleNotifier(true));
WireMock.configureFor(HTTP_PORT);
WireMock.configureFor(HTTPS_PORT);
wireMockServer .start();
//Staring wiremock recording
wireMockServer .startRecording(recordSpec().forTarget("server name")
.onlyRequestsMatching(getRequestedFor(urlMatching("/.+"))).captureHeader("Accept")
.captureHeader("Content-Type", true).ignoreRepeatRequests());
System.out.println("Wiremock server started recording");
SnapshotRecordResult snapshotRecordResult = server.stopRecording();
List<StubMapping> stubMappings = snapshotRecordResult.getStubMappings();
Output: Getting stub size is zero but no error