Emin inal
01/17/2023, 9:28 AMEmin inal
01/17/2023, 9:29 AMTom
01/17/2023, 9:31 AMRuss Garratt
01/17/2023, 12:39 PMTom
01/17/2023, 12:39 PMTom
01/17/2023, 2:24 PMTom
01/17/2023, 3:46 PMSofia Pacifico
01/19/2023, 4:35 PMUri
01/19/2023, 5:15 PMCatarina Ferreira
01/20/2023, 8:33 PMTom
01/20/2023, 8:33 PMAnton Deriabin
01/21/2023, 2:30 PMAlan Lins
01/23/2023, 12:02 PMRamesh Hosmani
01/24/2023, 1:43 PMRamesh Hosmani
01/24/2023, 1:44 PMRamesh Hosmani
01/24/2023, 1:44 PMRamesh Hosmani
01/24/2023, 1:53 PMTom
01/24/2023, 3:41 PM/__admin/
path. You can hit this directly with curl, Postman or any other HTTP client.
Check out https://wiremock.org/docs/api/ for reference, https://wiremock.org/docs/stubbing/ for examples.Gabe
01/24/2023, 8:33 PMRequest: {{URL}}
Request Body: {
"customer": "${this_value}"
}
Response Body: {
"key1": "value1",
"key2": "${this_value}"
}
Leszek Izdebski
01/25/2023, 2:43 PMWireMockResponse response = testClient.get("/todo/items");
I need any import of WireMockResponse or instance of this class?Maxwell DeKock
01/25/2023, 8:16 PMNullPointerException
while trying to use programmatic declaration in a Junit5 test. I have this on the test class:
@RegisterExtension
static WireMockExtension wm = WireMockExtension.newInstance()
.options(wireMockConfig().port(31131))
.build();
But calling wm.stubFor(...)
in a test throws a NullPointerException
. It looks like the server is starting:
2023-01-25 20:13:50,822 INFO [org.ecl.jet.uti.log] (Test worker) Logging initialized @14821ms to org.eclipse.jetty.util.log.Slf4jLog
2023-01-25 20:13:51,074 INFO [org.ecl.jet.ser.Server] (Test worker) jetty-9.4.49.v20220914; built: 2022-09-14T01:07:36.601Z; git: 4231a3b2e4cb8548a412a789936d640a97b1aa0a; jvm 11.0.17+8-LTS
2023-01-25 20:13:51,093 INFO [org.ecl.jet.ser.han.ContextHandler] (Test worker) Started o.e.j.s.ServletContextHandler@f5b81f4{/__admin,null,AVAILABLE}
2023-01-25 20:13:51,100 INFO [org.ecl.jet.ser.han.Con.ROOT] (Test worker) RequestHandlerClass from context returned com.github.tomakehurst.wiremock.http.StubRequestHandler. Normalized mapped under returned 'null'
2023-01-25 20:13:51,101 INFO [org.ecl.jet.ser.han.ContextHandler] (Test worker) Started o.e.j.s.ServletContextHandler@35c95587{/,null,AVAILABLE}
2023-01-25 20:13:51,111 INFO [org.ecl.jet.ser.AbstractConnector] (Test worker) Started NetworkTrafficServerConnector@672c4e24{HTTP/1.1, (http/1.1, h2c)}{0.0.0.0:31131}
2023-01-25 20:13:51,112 INFO [org.ecl.jet.ser.Server] (Test worker) Started @15112ms
Is there some additional configuration that I'm missing, or is this a bug?Remi Cartier
01/25/2023, 9:29 PM500
any clue why it would do this ?Venkatesh Satturi
01/26/2023, 9:37 PMPRABAKARAN .D
01/27/2023, 4:24 PM{
"BookingId": "123"
}
) . Could you help to fix this ?Stanley Lighter
01/27/2023, 5:18 PMJon Wilmoth
01/27/2023, 8:45 PMManan Girdhar
01/30/2023, 6:58 AMTanyagorn Benjaprompadung
01/30/2023, 12:47 PMJorge Pereira
01/30/2023, 4:49 PMIain Adams
01/30/2023, 11:26 PM