peng yun
08/20/2023, 5:10 AMMarty Pitt
08/23/2023, 12:58 PMOleg Nenashev
08/25/2023, 6:48 AMShaikh Mansur
08/25/2023, 7:42 AMOleg Nenashev
08/30/2023, 8:46 AMOleg Nenashev
08/31/2023, 8:42 AMTom
08/31/2023, 3:25 PMLinenBot
09/01/2023, 2:16 PMantonio
joined #general.Oleg Nenashev
09/05/2023, 6:26 AMTom
09/05/2023, 12:22 PMJames
09/06/2023, 3:28 PMOleg Nenashev
09/06/2023, 3:40 PMOleg Nenashev
09/06/2023, 6:15 PMjaspal singh
09/07/2023, 6:34 PM{
"request": {
"method": "GET",
"url": "/body-file"
},
"response": {
"status": 200,
"bodyFileName": "path/to/myfile.xml"
}
}
I am not sure how can I also give "bodyFileName" in the request body. As I want to give a path for my request xml file the way I have given on the response. Kindly advice. thanksAdam Wojszczyk
09/08/2023, 12:00 PM.filenameTemplate("{{{insertionIndex}}}.json")
wiremock 3.0.3Tom
09/08/2023, 5:13 PMRASHMI K YAMAKANAMARDI
09/11/2023, 3:26 PMVictor Pacheco
09/12/2023, 9:44 AM<http://WireMock.post|WireMock.post>(WireMock.urlPathTemplate(PATH))
.atPriority(1)
.withPathParam("instrumentReferenceId", matchingJsonPath("$.requestId"))
.willReturn(WireMock.badRequest()));
But, I get this response (see image):
There is anyway to match a path param with body request attribute? Can I use matchingJsonPath and withPathParam together?Oleg Nenashev
09/12/2023, 3:35 PMOleg Nenashev
09/13/2023, 2:12 PMTanumoy Mitra
09/14/2023, 8:13 PMBhavin Modi
09/15/2023, 3:01 AMNicolas Homble
09/15/2023, 3:46 PMTom
09/18/2023, 9:29 AMTom
09/18/2023, 12:11 PMTodor Avramov
09/18/2023, 7:18 PMOleg Nenashev
09/19/2023, 6:11 AMOleg Nenashev
09/19/2023, 10:30 PMOleg Nenashev
09/20/2023, 7:47 AM