Forum Discussion

apatnaik's avatar
apatnaik
New Contributor
14 years ago

notification message question and HTTP protocol

Hello,

I have soapui pro version and new to soapui in general. The WSDL has a notification operation which gets enabled when I call subscribe operation on the server. This notify causes the client to receive notifications. This is not request response, but notifications.

For testing purposes, I have a notify mock service that I enable and point to the host/port, etc.

But I need to understand a few things about how the notify mock service works.

1) Does this spawn a socket port at the address specified and then act as a HTTP web server to display notifications?

I need to be able to see the HTTP exchange between the sender of the notifications and the notify mock service. For simulation purposes, I ran the subscribe off the soapui GUI, then I created a socket port at the address specified in the client PC and started to echo everything dumped to the socket. I only got HTTP GET message. I didn't see the notification data.

I am wondering if I needed to output anything to server over HTTP to cause the data to be received. Does anyone know the HTTP protocol/exchange for notification messages? This would be godsend. Thanks!


2) Is there a way to do spawn notify mock service from command line and capture all the notifications received in a file that can be tailed? has anyone done this? I need to be able to specify the port/host dynamically when I launch from command line.

THANKS.
No RepliesBe the first to reply