About 1,230,000 results
Open links in new tab
  1. How to enable HTTPS for standalone Wiremock - Stack Overflow

    Feb 1, 2011 · 10 Generate java key store for wiremock keytool -genkey -alias wiremock -keyalg RSA -keysize 1024 \ -validity 365 -keypass password -keystore identity.jks -storepass password Important …

  2. How to match path variables in wiremock urlPathMatching

    Jul 25, 2024 · How to match path variables in wiremock urlPathMatching Asked 1 year, 4 months ago Modified 1 year, 4 months ago Viewed 767 times

  3. How to create dynamic response with json in wiremock

    May 5, 2024 · How to create dynamic response with json in wiremock Asked 1 year, 7 months ago Modified 1 year, 7 months ago Viewed 2k times

  4. Wiremock :How to read the stub from a file in wiremock?

    Jun 25, 2020 · This means that you start the wiremock server in java programmatically and still take advantage of configuring the stubs using json file. Correct? Initially I thought you can only use the …

  5. What's the right way to configure the directories with WireMock?

    Aug 16, 2025 · I ended up moving the wiremock directory to my project root directory and from then on it works but I don't like it. I want wiremock to be located under test/resources. Someone nests …

  6. Wiremock BodyPattern matching Contains this or that

    May 15, 2020 · I am trying to configure Wiremock to return the same response from a text file if the request body contains this or that etc. Here is my working file for a single request: { "priority": 1, "re...

  7. How to get to a WireMockServer from Junit 5 WireMockTest test case

    Mar 1, 2022 · Wire mock has a addMockServiceRequestListener function available on the JUnit4 Rule or on a wiremock server instance. How do I get to that function from a test class annotated with JUnit …

  8. WireMock - How to Include Request JSON Body Into the Response Body?

    Jun 12, 2023 · I've already read below answers but couldn't find a way of using the jsonPath: Wiremock variable substitution in JSON response WireMock: How configure a JSON to show request headers …

  9. Set property with wiremock random port in spring boot test

    However wiremock is supposed to mock an external service and I need to tell my application how to reach it. I do this with the external.baseUrl property. The value I want to set in my test depends of …

  10. Java WireMock defining stubs fail in multithreaded tests with …

    Mar 25, 2024 · I have Spring-Boot application and integration tests using Cucumber and WireMock. Executing tests in regular non parallel execution mode works fine without any issues, but when …