Thanks for tutorial and nicely explained. Can I override baseURL at runtime? I mean after we run the test? THe reason i need to do is, I mocking for certain features and some features it has to go to real remote service. Thanks in advance.
There might be some hacky solutions to override the baseURL via reflection, but I would rather use the Proxying feature for WireMock to proxy particular calls to the real remote service: wiremock.org/docs/proxying/
I am using feign and Eureka to connect to my client...my test fail, my base URL still localhost/port. DynamicPropertySource not working for me?! Any help?