| Author |
Automating webservices testing with SOAPUI
|
reachme guru
Greenhorn
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? Thanks!
|
 |
Masoud Kalali
Author
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: http://www.soapui.org/userguide/functional/groovystep.html http://www.soapui.org/userguide/functional/datasourcestep.html
|
Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
|
 |
reachme guru
Greenhorn
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. Thanks!!!
|
 |
rashmi arora
Greenhorn
Joined: Nov 19, 2008
Posts: 2
|
|
Hi, 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 ....
|
 |
 |
|
|
subject: Automating webservices testing with SOAPUI
|
|
|