Using body to stub responses

35 views
Skip to first unread message

Niels Meersschaert

unread,
Jan 11, 2010, 2:17:41 PM1/11/10
to webmock-users
I am trying to use WebMock to test a SOAP service integration. As the
SOAP service I am integrating with will deliver different responses
based on the body, I need to stub different responses for different
bodies. However, any time I specify a body in the stub's request, it
never matches, even though I am logging the request & that is exactly
what I provided in the stub.

Any thoughts on how to workaround this, or is the request limited to
simple bodies like those shown in the examples?

Bartosz Blimke

unread,
Jan 12, 2010, 7:11:00 PM1/12/10
to webmoc...@googlegroups.com
Hi Niels,

Could you provide and example test code where request is not matched by body correctly?

Cheers,

Bartosz

2010/1/11 Niels Meersschaert <nmeers...@mac.com>
Reply all
Reply to author
Forward
0 new messages