Forum Discussion

kdamod01's avatar
kdamod01
New Contributor
14 years ago

HttpMonitor control via Groovy/Soap script

Hi All,

I am a novice trying to test out an Asynchronous webservice.

Problem Definition:
A soap request I make to a black box triggers a process say "X" which results in a request generated by the black box. I need to validate this request that is being generated by the black box. The challenge is that this request will be generated any time within the agreed SLA (60 seconds). I plan on listening in on the port of the black box to capture the HTTP traffic (as XML). Towards this effort, I would like to know how to turn on and off the HttpMonitor functionality via scripts (SoapUI or Groovy).

I understood the mock service as a feature to help me test the system in the absence of a real web service and hence a non-viable option for my requirements.

Please advice on my approach.

Thanks

1 Reply

  • kdamod01's avatar
    kdamod01
    New Contributor
    Hi all,

    I realized that going through Httpmonitor will be a bigger challenge. So I have adapted the MockServices approach, where in I have the request sent out to my machine instead of the actual end point. The mockservice that I stand up on soap will respond to the request while I have some code running on the mock service to capture the request data.