surya megham
09/10/2025, 12:22 PMexist field inside the auth object but when i pass the below pattern in mapping then it should point to different file but it is not doing - for both true and false it is going to same file, that is because it always maps to the same mapping irrespective i give true or false
im using gradel deps --> implementation "com.github.tomakehurstwiremock jre8 standalone2.35.1
"bodyPatterns": [
{
"matchesJsonPath": {
"expression": "$.auth.exist",
"absent": "false"
}
}
]Mina Medic
09/12/2025, 8:17 AMAlona Sapiro Haitovich
09/16/2025, 7:00 AMDhruvraj Mishra
09/25/2025, 4:30 PMService A utilises org.springframework.http to call APIs.
It is failing at the line of toEntity()-.retrieve()`
.toEntity(String.class);
Other services like B uses apache camel(routes), from there when it is invoked it is working. Just wanted to understand is this any mock related issue or it do not support http of spring.Oumaima
09/26/2025, 10:18 AMТимур Вольных
09/30/2025, 3:50 PMMatt Pascual
10/03/2025, 10:11 PMUgo El Koubi
10/07/2025, 9:04 PMMarcel Scheck
10/08/2025, 6:54 AMcode. I use serveEventListeners to trigger a call. This call needs to extract the sub claim from the JWT and include it as user_id to body. I tried it with the jwt plugin like this {{jwt path='sub' token=originalRequest.query.code}} but it generated a new jwt, what is not really what I need. Is there any way to only extract that claim from the token?Rajesh Singh
10/22/2025, 9:51 PMDavid Micheau
11/10/2025, 10:20 AMContent-Type: multipart/form-data to wiremock, as it's the only accepted content-type accepted by my real third-party.
Using only basic JSON stub, is it possible to extract the body from the request and pass it to a webhook body ?
When I post my request with content-type application/json , the following stub works very well and I receive the transcript_id from the original request. But as soon as I send the original request with multipart/form-data, it doesn't work anymore :
{
"request": ...,
"response": ...,
"serveEventListeners": [
{
"name": "webhook",
"parameters": {
...
"body": "{\"transcript_id\":\"{{jsonPath originalRequest.body '$.transcript_id'}}\"}"
}
}
]
}Gary Gregory
11/13/2025, 11:35 AMVlad M
11/16/2025, 10:38 AMVikram Harindran
12/02/2025, 4:41 PMVikram Harindran
12/02/2025, 4:41 PMVikram Harindran
12/02/2025, 4:42 PMDamien
12/10/2025, 8:33 PMException in thread "main"
Exception: java.util.MissingResourceException thrown from the UncaughtExceptionHandler in thread "main"Benoit LEFEVRE -CAMPUS-
12/26/2025, 2:15 PMLouis Sayer
01/14/2026, 5:15 PMbasuradeluis basuradeluis
01/14/2026, 7:28 PMSandeep
01/22/2026, 1:14 PMCezar B
02/02/2026, 3:31 PMBryan
02/05/2026, 8:39 PMvar builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
await app.RunAsync();
Then it does stay up, but Wiremock isn't reachable. If I try hitting it, it just returns a 404.
Any advice would be appreciated.Zach
02/06/2026, 4:06 PM"body":{"/n"}
Is there support for protobuf->json decoded for pattern matching gRPC requests? I noticed it is marked as “TODO” here: https://wiremock.org/dotnet/request-matching-protobuf/#multiple-proto-definition-filesWayne Liang
02/08/2026, 11:01 PM/__admin/mappings) with the persistent flag set to true.
I've read from the Wiremock documentation that when there are "overlapping" stubs, Wiremock will default to using the most recently added matching stub. One thing I've noticed however is that that only seems to hold true until the next time Wiremock is restarted (or the stubs are reloaded). Just to get a better understanding of the underlying behaviour, I had a look at the relevant classes I could find (JsonFileMappingsSource, AbstractStubMappings, InMemoryMappingStore, and SortedConcurrentPrioritisableSet) and it appears that although the insertionIndex is persisted in the stub mapping JSON file. it effectively gets overwritten during the stub loading process.
I couldn't seem to find much about this specific situation in the documentation or other discussion forum, so I wanted to ask: is this intended behaviour?
I am a beginner when it comes to looking at Wiremocks codebase, however I'm absolutely happy to share/discuss what I've found/observed if it's any help at all.
Thank you!Tanja Maier
02/16/2026, 9:03 AM4.0.0-beta versions? I really want to try out the new websocket support.
ThanksCristian Toma
04/02/2026, 2:31 PM__files. Thanks.Ana T.
04/14/2026, 5:30 PMKrzysztof
04/23/2026, 12:08 PMwiremock/wiremock:3.13.2 docker image with the wiremock-state-extension:0.10.1.
I'm getting an Unrecognized field error for serveEventListeners
Is 0.10.1 extension fully compatible with the WireMock 3.x core, or do I need a specific startup flag to allow legacy field mapping?
In case,
content of extensions dir as follows
[ 4096] ./extensions/
├── [ 30245] accessors-smart-2.6.0.jar
├── [ 1020615] caffeine-3.2.3.jar
├── [ 3046899] datafaker-2.5.4.jar
├── [ 287913] json-path-3.0.0.jar
├── [ 340068] snakeyaml-2.6.jar
├── [ 1982] wiremock-faker-extension-0.2.0.jar
└── [ 60089] wiremock-state-extension-0.10.1.jar
docker run command
docker run -it --rm \
-p 8443:8443 \
-v $(pwd)/mappings:/home/wiremock/mappings \
-v $(pwd)/extensions:/var/wiremock/extensions \
wiremock/wiremock:latest \
--https-port 8443 \
--verbose \
--global-response-templating
mapping file loading which fails
{
"request": {
"method": "POST",
"url": "/state/enable"
},
"response": {
"body": "User logged in",
"serveEventListeners": [
{
"name": "state",
"parameters": {
"context": "auth",
"state": {
"loggedIn": "true"
}
}
}
],
"status": 200
}
}
Error log
2026-04-23 12:04:09.816 Verbose logging enabled
Exception in thread "main" com.github.tomakehurst.wiremock.standalone.MappingFileException: Error loading file /home/wiremock/./mappings/state-set.json:
Unrecognized field "serveEventListeners" (class com.github.tomakehurst.wiremock.http.ResponseDefinition), not marked as ignorable
at com.github.tomakehurst.wiremock.standalone.JsonFileMappingsSource.loadMappingsInto(JsonFileMappingsSource.java:126)
at com.github.tomakehurst.wiremock.core.WireMockApp.loadMappingsUsing(WireMockApp.java:288)
at com.github.tomakehurst.wiremock.core.WireMockApp.loadDefaultMappings(WireMockApp.java:282)
at com.github.tomakehurst.wiremock.core.WireMockApp.<init>(WireMockApp.java:143)
at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:68)
at com.github.tomakehurst.wiremock.standalone.WireMockServerRunner.run(WireMockServerRunner.java:71)
at wiremock.Run.main(Run.java:23)renatas
07/10/2026, 1:37 AM