`
kingquake21
  • 浏览: 261973 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

监听调试web service的好工具TCPMon

阅读更多

监听调试web service的好工具TCPMon
http://ws.apache.org/commons/tcpmon/download.cgi

TCPMon Tutorial

Content

Introduction

TCPMon is a utility that allows the user to monitor the messages passed along in TCP based conversation. It is based on a swing UI and works on almost all platforms that Java supports. The aim of this simple tutorial is to explain how TCPMon works and also to explain some of its features.

Structure and Dependencies

TCPMon has absolutely no dependencies on third party libraries. But some of the UI features rely on JDK 1.4 so TCPMon needs a JRE that is 1.4 or higher.

Usage Patterns

As an Explicit Intermediate

The most common usage pattern for the TCPMon is as an intermediary. It is called explicit since the client has to point to the intermediary rather than the original endpoint in order to monitor the messages. The following figure explains this concept.

concept

In order to start the TCPMon in this configuration one has to provide the host name and the port for the listener in the admin screen. See image below.

first screen

Pressing the 'add' button opens up a new tab that allows the messages to be seen as in the following screen

message screen

At this point the requester should point to the listener port of the TCPMon instead of the original endpoint. Let us understand this with an example:

Say all messages passed between www.apache.org needs to be monitored.

Step 1 - Add a listener with host as www.apache.org and port as 80. Set the listener to port 8080 which may be any unused port in the local machine

the settings

Step 2 - Point the browser to localhost:8080 instead of www.apache.org.

browser address bar

Once the messages start flowing they can be seen in the relevant tab as seen below.

Filles screen

The bottom controls allow the messages to be XML formatted (useful in debugging Web services), save and resend the messages, and also to switch the layout of the message windows.

button set

As a Request Sender for Web Services

TCPMon can also be used as a request sender for Web services. The request SOAP message can be pasted on the send screen and then sent directly to the server.

request sender

As a Proxy

TCPMon can act as a proxy. To start the TCPMon at proxy mode, just select the proxy option from the radio buttons. When acting as a proxy, TCPMon only needs the listener port to be configured.

proxy

Advanced Settings

Slow Connection Simulation

TCPMon can simulate a slow connection, in which case the delay and the bytes to be dropped can be configured. This is specially useful in testing Web services.

slow-connection

HTTP Proxy support

If HTTP proxy support is required then that can also be set on the admin screen.

Conclusion

TCPMon is a simple and easy to use tool that has many benefits when developing message driven applications. It is particularly useful in developing Web services

分享到:
评论

相关推荐

    webservice 抓包工具TCPMON

    webservice 抓包工具TCPMON 抓取XML 发送和返回值

    监控工具TCPMon软件和使用说明

    介绍:TCPMon作为apache的一个独立项目,相当于一个中转站,可以设定接收的端口和目标的端口。 功能:可以拦截客户和服务器之间的HTTP请求和HTTP相应信息,并查看

    tcpmon工具监听webservice

    解压以后,在build文件里,点击.bat 或者执行.sh文件,在admin页面配置以后,就可以监听webservice

    tcpmon,webservice抓包工具

    webservice抓包工具 tcpmon

    tcpmon 1.0 官方正版

    2、TCPMon 可以截获 WebService 客户端与服务器之间传递的 SOAP 信息,以便调试。 3、使用之前,电脑上必须先配置好 Java JDK 运行环境,因为 tcpmon 是一个可运行的 jar 包 4、因为 tcpmon 这个项目官方已经很久...

    tcpmon,方便好用的http监控工具

    tcpmon是一个方便好用的http监控工具,可以调试web应用,强烈推荐!

    tcpmon-1.0-bin

    在重发之前,这可以允许你在窗口中通过手动改动某个 request-所以这就是一个用于测试不同SOAP xml性能的很好的工具. 实例演示:我想知道访问百度,数据是怎么传输的呢? 侦听端口 输入:80,目标主机:www.baidu.com, ...

    tcpmon-1.0.jar

    tcpmon,对webserivice信息进行拦截,方便开发调试,是一款好工具。

    tcpmon 简单小巧的抓包工具,直接双击就可运行

    tcpmon 简单小巧的抓包工具,直接双击就可运行

    tcpmon.jar以及tcpmon源码

    tcpmon.jar以及tcpmon源码 自己用eclipse生成的jar包。下载的tcpmon-1.1.jar运行不了,索性自己生成了一个

    tcpmon网络通讯监视

    tcpmon网络通讯监视 抓取tcp/ip数据

    tcpmon 1.1 端口转发工具,最新版

    tcpmon 1.1 端口转发工具,最新版 这是zip 压缩包,要解压后,运行里面的jar包, 前提条件,需要装java运行环境。 我搜索很多,且下载很多,这个亲测可用,且是最新版本 一般直接双击jar包即可运行,如果实在不行...

    tcpmon.jar

    tcpmon,网络工具,神器,tcp转发。

    tcpmon:TCPMon,用于开发和测试SOAPWS-Security Web服务

    为什么2.0 尚无用于测试基于SOAP / WS-Security的Web服务的开放源代码工具,SOAP UI Pro现在主要是付费版本,开发者并未在github上积极贡献它。 毫无疑问,它在市场上具有全面的功能,但是从开发的角度来看很难进行...

Global site tag (gtag.js) - Google Analytics