150 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
83
views
Is it possible to use come context-path for Wiremock/Wiremock-UI
I am trying to use holomekc/wiremock-gui:3.x.x-alpine version as a Docker base image to create Docker file with wiremock UI. And my problem is that seems there is no way to set up some context-path in ...
0
votes
1
answer
87
views
Wiremock sending error response while running test suit
I run Wiremock as a standalone server by using below parameters.
java -Xms2048m -Xmx2048m -Dhttp.keepAlive=true -jar wiremock-standalone-3.12.1.jar --max-request-journal-entries 300 --global-response-...
0
votes
1
answer
90
views
Wiremock verify lost ThreadLocal Context in quarkus 3.19.1 and wiremock 3.0.1
I have a question about wiremock
AppResourceTest.class in the link below doesn't work as i expectedwith wiremock-standalone.
I start Wiremock server inside a QuarkusTestResourceLifecycleManager custom ...
0
votes
0
answers
145
views
WireMock verifyThat fails when tests are executed in parallel
I'm using WireMock standalone App through docker. A few mocked endpoints are shared across many tests. When I run my tests sequentially, all work fine and pass. But when the tests are executed in ...
0
votes
1
answer
192
views
Custom Action for a wiremock stub
I have my wiremock service running on a kubernetes pod. One of the mappings is as follows:
{
"request": {
"method": "POST",
"urlPattern": "/v1/...
0
votes
1
answer
257
views
Why does WireMock return a binary file with changes?
I have a stub with the following description: in the image.
wiremock stub in postman
The bodyFileName is set to response.bin, which WireMock should return. However, for some reason, WireMock returns a ...
0
votes
1
answer
425
views
Wiremock GRPC demo example is not returning response
I am trying to run the demo provided at wiremock grpc page using spring boot: https://wiremock.org/docs/grpc/
I have the following configuration for the beans:
@Configuration
public class ...
0
votes
1
answer
258
views
How to reference key from same JSON during response templating in Wiremock Standalone
I'm using WireMock Standalone to mock API responses, and I need to dynamically calculate values within my response templates. Specifically, I want to perform basic arithmetic operation (multiplication)...
0
votes
0
answers
104
views
How to override --root-dir when starting mock server in IntelliJ?
I want to use WireMock plugin in Idea Intellij Ultimate but I want to make the same folder's structure executable from WireMock standalone, which is:
<ROOT_DIR>/mappings
<ROOT_DIR>/...
0
votes
1
answer
626
views
Response Template in Wiremock Standalone is not working with json string
I have the following response configuration that I'm testing with wiremock standalone jar v3.4.0.
{
"id": "e6e2b5cf-52c1-3b0a-b368-3ea71e444fbf",
"request": {
&...
0
votes
1
answer
253
views
Wiremock extensions ClassNotFoundException with Dockerfile
I have the following situation:
I have the following folder structure:
-- wiremock (root)
--- src/main/java/org/company/wiremock/CustomHostTransformer.java
--- src/main/resources/META-INF/services/com....
0
votes
1
answer
404
views
Post json stub file to Wiremock server
I can use http post to post mapping definition to Wiremock
http://localhost:8080/__admin/mappings
I tried to post stub body json file to
http://localhost:8080/__admin/__files
Does not work. Is there ...
0
votes
1
answer
107
views
WireMock on Android: empty list of received requests
I'm trying to integrate WireMock to my Android autotests based on JUnit/Espresso/Kaspresso
I don't need to mock request, I'd like just to verify outgoing requests
build.gradle:
...
0
votes
1
answer
138
views
Wiremock standalone change a date
I am using Wiremock from docker compose
wiremock:
image: "wiremock/wiremock:latest"
ports:
- "8095:8080"
container_name: wiremock
volumes:
- ./...
1
vote
1
answer
90
views
Virtualizing XML-based API using WireMock
I'm trying to virtualize an XML-based API using WireMock and generate a JSON response using wiremock standalone jar. The requirement is to copy a tag value from the XML request payload to the JSON ...