This message was deleted.
# help
s
This message was deleted.
b
I think you need to set the path to “src/main/resources/wiremock-stuff” in your code.
r
Yes i did the same . Infact mappings are working on local with same structure. I see this issue being faced by others but didn't got solution on the web yet
o
Most likely the current dir is different in your EC2 Windows host.
r
Does that mean i should have exactly same stucture on remote standalone instance ? Even the directory like D: drive
o
No, it is not needed. You just need to follow the documentation on the file structure if you want to load the configuration files from the disc.
Personally I do not recommend this approach, because it complicates testing and distribution. I would recommend packaging WireMock and its configs together as a single job file or Docker image
r
That is already working from disk but i am pushing the files here to remote instance instead of manaully copying it
From disk it works both on lcoal and remote just files i am not able to push from local to remote
o
Why don't you package everything as a JAR since you have a Maven project anyway?
r
let me try that