This is a mirror of official site: http://jasper-net.blogspot.com/

Testing a web service using “wireshark”

| Tuesday, February 15, 2011
Wireshark is a well known network protocol analyzer, which further can be used to monitor web service communications as well.

Here, I am going to briefly note how this tool can be used to test the web service that we have developed in our previous blog post examples. (i.e. StudentService)

How to install wireshark on Linux?

Just type “sudo apt-get install wireshark”.

How to run wireshark on Linux?

Just type “sudo wireshark” at the command prompt. You will see a page with a “interface list”. Chose the correct interface that you can test your web service. In my case I select the interface, which listens to 127.0.0.1. (Since I am running the Server and Client on the same machine for demonstration purposes) This may vary depending on your testing platform.

Read more: The web space of Crishantha Nanayakkara

Posted via email from Jasper-net

0 comments: