how does wiremock support async response?

1,081 views
Skip to first unread message

minw...@gmail.com

unread,
Aug 18, 2018, 3:47:51 PM8/18/18
to wiremock-user
Hi Tom,
I didn't find any references in regard to sending async response using wire mock except a one-line reference about jetty configuration. Could you please give some directions/samples?
Thanks a lot.
Min 

Tom Akehurst

unread,
Aug 20, 2018, 11:28:59 AM8/20/18
to wiremock-user
What do you need to do?

WireMock's async feature is just to support greater efficiency when running performance tests with delays added. Is this what you're trying to do?

minw...@gmail.com

unread,
Aug 20, 2018, 10:46:46 PM8/20/18
to wiremock-user

minw...@gmail.com

unread,
Aug 20, 2018, 10:49:03 PM8/20/18
to wiremock-user
Tom,
Thanks for the response.
This is not for performance test. Our application needs to receive async response from wiremock.
Thanks.
Min

Anne kootstra

unread,
Aug 21, 2018, 2:14:27 AM8/21/18
to wiremock-user
As WireMock does not support Async requests, using the https://github.com/viniciusffj/wiremock-http-requests-maker extension you might be able to emulate the effect. 

Op dinsdag 21 augustus 2018 04:49:03 UTC+2 schreef minw...@gmail.com:

Tom Akehurst

unread,
Aug 21, 2018, 7:37:43 AM8/21/18
to wiremock-user
OK, so it sounds like you're talking about calling a webhook from WireMock?

If that's the case, then try this extension: https://github.com/wiremock/wiremock-webhooks-extension

minw...@gmail.com

unread,
Aug 21, 2018, 4:31:02 PM8/21/18
to wiremock-user
Anne,
Thanks for the information, I will give a try and let you know the results.
Min

minw...@gmail.com

unread,
Aug 21, 2018, 4:31:39 PM8/21/18
to wiremock-user
Tom,
Thanks for the information, I will give a try.
Min
Reply all
Reply to author
Forward
0 new messages