• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Automating webservices testing with SOAPUI

 
Greenhorn
Posts: 12
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reachme guru
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!!
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ....
reply
    Bookmark Topic Watch Topic
  • New Topic