Rajesh Narayanappa
03/21/2023, 3:49 AMusingFilesUnderDirectory
method to save all files in different path. We observed for responses over 2MB response body was null. On further debugging, we found bigger size responses are going into this method - <https://github.com/wiremock/wiremock/blob/master/src/main/java/com/github/tomakehurst/wiremock/recording/SnapshotStubMappingPostProcessor.java#L61>
. and here rootDirectory is not path given at ``usingFilesUnderDirectory` method.
Suspected bug could be at this level as this looks for constant path which is __files
and not user provided path. Looks like this is bug. Please confirm.
Pre-cond:
• response size is >2MB
To overcome this issue, we have extended default bodyTextsize to make sure size condition is not met.