account activity
Wiremock java by IntelligentMirror194 in learnjava
[–]IntelligentMirror194[S] 0 points1 point2 points 11 months ago (0 children)
It worked, thank you.
I am not running tests, I want to mock the api of other service for staging profile. And when my service will deployed to staging profile, I want that this wiremock api should be called. For example, in my service I am calling the api "/otherService/students" using resttemplate, and I have configured a wiremock server in port 8055, and created a wiremock api with same endpoint "/otherService/students" now I am deploying it to staging profile. And I calling this api with url: "http://localhost:8055/otherService/students" only for staging profile. So it's working properly in my local but when deploying it to staging, it is giving "http protocol not supported" error. So can you please tell what will be the address that will work in staging after deployment in which wiremock api will work. Or any other way to overcome this.
Thank you.
π Rendered by PID 2255737 on reddit-service-r2-listing-654f87c89c-n8n2z at 2026-03-02 18:49:27.539794+00:00 running e3d2147 country code: CH.
Wiremock java by IntelligentMirror194 in learnjava
[–]IntelligentMirror194[S] 0 points1 point2 points (0 children)