Tcpmon Plugin
Dependency :
compile ":tcpmon:0.1"
Summary
Provides the TCPMon web service monitoring tool
Installation
Addto BuildConfig.groovy
runtime ':tcpmon:0.1'
Description
Provides the TCPMon library and a script to run the tool. TCPMon is useful for testing web services since you can configure it to listen on a port and intercept requests for viewing, then forwarding the request to the real server.For example if you are running a Grails application locally on port 8080, you can runand it will listen on port 8888, forwarding requests to 8080. Change your clients to use port 8888 instead of 8080 and you can view the SOAP XML in the Swing ui.You can override the default values for the listen port, target port and target host. Runningis the same as runningso you could intercept a remote server with a tcpmon instance running on local port 9090 with
grails tcpmon
grails tcpmon
grails tcpmon --listen=8888 --target=8080 --host=localhost
grails tcpmon --listen=9090 --target=80 --host=servername.com