https://linen.dev logo
#help
Title
# help
p

Pragya Rai

06/20/2023, 10:31 PM
Hello! I am looking into a way of how to create a proxy server when a URL is not available using wiremock. We are using a third party SDK. It does not provides URls which I can mock. For other third party API I am creating the mock server using the following info. I need help on how I can create a proxy server when URL is not available
Copy code
wiremock:
      proxies:
        - service-name: ABC
          port: 9091
          url: <https://abc.com>
          mappings-path: /wiremock/abc
          recording: false
Bumping this..
b

Bas Dijkstra

06/21/2023, 8:49 PM
If the SDK doesn’t expose / provide URIs, how do you communicate with it? Remember, WireMock is an HTTP mock server, meaning traffic has to go over HTTP to be able to mock it.
p

Pragya Rai

06/22/2023, 4:16 AM
They have exposed service methods and URI is abstracted from us.