Forum Discussion

catrinj's avatar
catrinj
New Contributor
11 years ago

Capture and test outgoing SOAP request

I am testing a service which upon receiving a JMS-message, among other things, makes a SOAP-request to another service.

I would like to intercept and validate the outgoing message in a testcase. I am able to tunnel the request through the HTTP-monitor and attach an event handler, but don't know if this is the way to go to make it a testcase.

Any suggestions?
  • catrinj's avatar
    catrinj
    New Contributor
    Sorry, can't quite see how. It tells me how to schema-validate an outgoing request with a script assertion if that is what you mean

    What I want to do is intercept and validate a request that is initiated in the tested service.

    I was thinking HTTP-monitor and event listener, but maybe this is not the way to go at all.