Maybe this is what you’re looking for???

http://tinyurl.com/b9t5q

 

TCPMonitor

The CPS simple install on Windows includes a nifty utility for monitoring network traffic. It is located at {install directory}\jrun4\bin\sniffer.exe. This is useful, not only for examining SOAP packets sent back and forth from web services, but for capturing and repeating events. For instance, if your service fails on a specific event, you can try correcting the problem and resubmitting the exact same event with TCPMonitor.

A complete guide to TCPMonitor is beyond the scope of this article, but here is a quick example of how to configure it to monitor the events forwarded to the sample ColdFusion service described throughout this article.

  1. Launch sniffer.exe to open the TCPMonitor
  2. On the Admin tab, create a new TCP/IP monitor on port 8501.
  3. Act as a listener for target hostname 127.0.0.1, target port # 8500.
  4. Click Add.
  5. Click the Port 8501 tab.
  6. In the Forwarding service configuration in settings.xml, as described above, change the URL of the sample ColdFusion service to use for 8501 instead of 8500: http://localhost:8501/cf/MacromediaContributeNotificationService.cfm
  7. Restart CPS so the new URL takes effect.
  8. Trigger some events in Contribute.
  9. Switch back to TCPMonitor and observe the entries, which should contain the SOAP XML requests and responses for each event, one event per entry. (If you have configured the Forwarding service to forward events to multiple services on the ColdFusion server, each service has its own entry for the event.)
  10. To resubmit an event to the custom service, select the corresponding entry and click Resend.

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Cook
Sent: Wednesday, April 27, 2005 7:28 AM
To: CFUG List
Subject: how to use Sniffer exe

 

Does anyone know exactly how to use Sniffer.exe in ColdFusion? I was asked to use it to do some testing by a MM person, but I'm embarrassed to say I don't know how to use it.  Perhaps someone has an idea of where to read up on using it.

 

Thanks,

Justin

Reply via email to