java - Is it possible to simulate connection timeout using wiremock tools? -


i know, can simulate sockettimeoutexception using withfixeddelay, connectiontimeoutexception?

yes possible wiremock calling adddelaybeforeprocessingrequests(300) against java api or posting following http://<host>:<port>/__admin/socket-delay:

{ "milliseconds": 300 }

(obviously replacing 300 many milliseconds you'd delay by)


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -