Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automating webservices testing with SOAPUI

 
reachme guru
Greenhorn
Posts: 12
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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!
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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
  • 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!!!
 
rashmi arora
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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 ....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic