Search the web
Sign In
New User? Sign Up
agile-testing · Agile Software Testing
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Tool for testing a socket-based protocol?   Message List  
Reply | Forward Message #15744 of 18128 |

Hi

 I'm working (evolving) on a java app that have a client and server modules that communicates thru sockets (TCP). The protocol is proprietary and text based.

One of the changes requested is to modify the protocol. I would like to have tests before start making changes.

Does anybody know a tool that allows me to record and play a custom protocol, generating some script (so I could change as I evolve the protocol … /before/ evolving it)?

I'm thinking in a mix of a TCP sniffer and soapUI, maybe

Any suggestion?


Thanks!

Juan Gabardini




Fri Nov 21, 2008 3:07 pm

jgabardini
Offline Offline
Send Email Send Email

Forward
Message #15744 of 18128 |
Expand Messages Author Sort by Date

Hi I'm working (evolving) on a java app that have a client and server modules that communicates thru sockets (TCP). The protocol is proprietary and text...
Juan Gabardini
jgabardini
Offline Send Email
Nov 21, 2008
3:07 pm

Hi: Take a look at PushToTest TestMaker. It's TOOL protocol handler library is for what you are looking to do. www.PushToTest.com Frank ... Frank Cohen ...
Frank Cohen
frankcohen2000
Online Now Send Email
Nov 21, 2008
4:51 pm

Hi Frank I did look in P2T docs, clearly not deep enough. Now I don't have any excuse, I have to try PushToTest! :D Thanks! Juan ... Hi Frank I did look in P2T...
Juan Gabardini
jgabardini
Offline Send Email
Nov 23, 2008
1:02 pm

... First of all, I don't think soapUI will help, unless the 'proprietary protocol' is, you know, SOAP. I'd suggest the easiest thing would be to write a...
chrs_mcmhn
Offline Send Email
Nov 21, 2008
4:55 pm

I think I will start from output to a text file and check with regex, then improve start from there. ... I think I will start from output to a text file and...
Carfield Yim
c8133594
Offline Send Email
Nov 21, 2008
5:14 pm

... regex, then ... You'll have to connect a client in order to pipe output to a text file, right? You could build the test checking regexes into the client...
chrs_mcmhn
Offline Send Email
Nov 21, 2008
7:24 pm

On Sat, Nov 22, 2008 at 3:24 AM, chrs_mcmhn ... If I am the one who develop the application, I will write everything that send out to network to a log file,...
Carfield Yim
c8133594
Offline Send Email
Nov 22, 2008
6:10 am

Hi Yes, I have the sources. I could add 'instrumentation' on the server and the client. I will eventually do something along this line. But I will have to...
Juan Gabardini
jgabardini
Offline Send Email
Nov 23, 2008
12:54 pm

... This is pretty close to what I would do. If the interactions were brain-dead simple, I would consider black-box testing it: Just write a client that...
heusserm
Offline Send Email
Nov 24, 2008
1:00 pm

... I'm not sure... Let me double check I'm already have the application (client & server) running (sort of). It was not designed or built for testability. ...
Juan Gabardini
jgabardini
Offline Send Email
Nov 24, 2008
8:16 pm

have a look at texttest. it does regression testing based on log files, so it is completely non-intrusive and works with the model that you need. also, it has...
Gojko Adzic
gojko_lastname
Offline Send Email
Nov 24, 2008
10:06 pm

Hi Gojko The tool is a good complement for one suggested strategy. Now I have to decide which strategy I will follow. Thanks Juan ... files, ... of). ... it ...
Juan Gabardini
jgabardini
Offline Send Email
Dec 1, 2008
4:40 pm

... I think what you are doing is resonable. I would suggest using a wiki and documenting the expected/actual/bug as they appear so you can slowly create a...
heusserm
Offline Send Email
Nov 25, 2008
4:52 pm

Hi Matt You mean wiki like Fitnesse? No sure, I will think about it Making it testeable... yes, I trying to do that, my main concern is the right balance...
Juan Gabardini
jgabardini
Offline Send Email
Dec 1, 2008
4:28 pm

... Extracting out the business logic so you can test with FitNesse would be great. However, if I read correctly, you have no specifications right now,...
heusserm
Offline Send Email
Dec 1, 2008
5:00 pm

If the protocol is text based, TCP sniffer is an overkill. You can just write a simple client in language of your choice that can read the commands from a text...
Dakshinamurthy Karra
kdmurthy2001
Offline Send Email
Nov 25, 2008
6:24 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help