We are using wiremock to stub our endpoints for external dependencies. We have wiremock deployed in a remote target environment along with application artefacts and the tests run from either the local dev machine or a CI slave.
The particular use case we have is around serving streaming file response for a particular endpoint. However, this requires the file to be streamed to be sitting within the __files directory of the wiremock application. Is there anyway to upload the file programmatically from a remote location prior to registering a mapping that will use the file?
Thanks