Hi colleagues, I am trying to mock <https://graph....
# help
p
Hi colleagues, I am trying to mock https://graph.microsoft.com/v1.0/users endpoint using wiremock by directly hitting the wiremock endpoint https://wiremock.test:8443/v1.0/users. This only seems to work when in the mapping I set the request scheme to http. If I set it to https it fails with error saying scheme doesn't match. Can someone help me understand what that is the case?
l
I am not sure why that would be off the top of my head. Could you post all the output you get so we can get a little more information. Also, where are you running your WireMock instance? Are you running it in k8s and if so, where are you terminating the SSL? Could it be by the time the request reaches the WireMock instance it is actually a
http
request?
p
ah right, it is behind a load balancer and tls is getting terminated at lb itself, thanks!
👍 1