Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Services and the fly likes Automating webservices testing with SOAPUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Automating webservices testing with SOAPUI" Watch "Automating webservices testing with SOAPUI" New topic

Automating webservices testing with SOAPUI

reachme guru

Joined: Jan 07, 2007
Posts: 12
Hi, i am using SOAPUI for testing the webservices. But as of now they are individual requests, the criterias are providing manually. But i want to automate this process for some complex situations.

So is there any way that i can get the input criteria dynamically?

Masoud Kalali
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

It is simply possible by using a Groovy, a properties step and a datasource; analyse the previous response using a groovy script step and using the result of your analysing and some xml or configuration file, decide about the next step input values which can be read from a database using datasource. take a look at:

Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
reachme guru

Joined: Jan 07, 2007
Posts: 12
Hi Masoud, thanks for your reply.
I will give a try and let you know. BTW, If you have a small working example ... please share it. That would be more handy.

rashmi arora

Joined: Nov 19, 2008
Posts: 2
I too want to see an example how do we use Groovy script for automation???
I have a doubt... cant we record sopui request using some other tool like QTP ....
I agree. Here's the link:
subject: Automating webservices testing with SOAPUI
Similar Threads
Testing web services
Error generating client stubs using eclipse
Unit Testing Web Services.
Testing restful web service
Help regarding Security Header