We help IT Professionals succeed at work.

Design and develope a testing environment to test Web Services flow?

pzaprianov
pzaprianov asked
on
Hi,

I have an application that is based on a flow of WebServices, and i want to create a testing environment for web services.

The idea is to use some testing framework, or create Web Services Client/Server testing environment and test the entire flow that includes 10 WebServices methods called one after another.

Thanks a lot
Comment
Watch Question

HonorGodSoftware Engineer
BRONZE EXPERT

Commented:
It sounds like you are going to need to be able to build the service requests, send them, and compare the actual response against expectations.  I know of some tools that let you do this (e.g., Curl, Expect), and programming Languages that provide modules that will let you write code to do this kind of thing (Python, Perl), but I don't know of a tool that will do it for you out of the box.

How would you like to proceed?
HonorGodSoftware Engineer
BRONZE EXPERT

Commented:
Coyote: an XML-based framework for Web services testing
  ttp://ieeexplore.ieee.org/Xplore/login.jsp?url=/iel5/8375/26364/01173120.pdf?arnumber=1173120

Web Service's Test Harness: A Functional, Load, and Performance Testing Framework for Web Services
http://www.developer.com/services/article.php/2229161

WebInJect - Web/HTTP Test Tool
http://www.webinject.org/
HonorGodSoftware Engineer
BRONZE EXPERT

Commented:

Author

Commented:
Thanks for the quick response, and:

WebInJect  and Coyote seems to be legacy projects.

I can't find the main page of Harness or a good tutorial to use it.

Maybe something with TestNG, Junit4

I need to start with something small and then it will grow up eventually.
HonorGodSoftware Engineer
BRONZE EXPERT

Commented:
Yeah, that's what I was afraid of.

The starting small, and iterating is good, if you have luxury of being able to completely develop the whole thing yourself.  Unfortunately, this is rarely the case.

What else might I be able to do for you?

Author

Commented:
I think i will start with a simple web service test, and wat should i use to create the clients? XFire, Axis, Axis2, another idea?

Thanks
Software Engineer
BRONZE EXPERT
Commented:
I would expect that in order to answer that question, you would need to know your environment.  If you start too grandiose, then you could (all to easily) fall into feature creep.

I would start by identifying the most important features to be tested, and then look for the best environment for building to suit these requirements.

The Apache JMeter (http://jakarta.apache.org/jmeter/) looks promising.  Take a look at this page that discusses it:
http://dev2dev.bea.com/pub/a/2006/08/jmeter-performance-testing.html

It is my impression that you prefer open source test tools to one that you would have to purchase.  This infoWorld article compares some:
http://weblog.infoworld.com/tcdaily/archives/2007/05/test_center_tra_162.html

Author

Commented:
Good answer thanks you
HonorGodSoftware Engineer
BRONZE EXPERT

Commented:
You are very welcome.
Thanks for the grade & points.
Good luck.  I hope that you have fun with it.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.