I recently started a new job and a new project that called for me to make use of some things I have used separately over the past few years: combine SoapUI and Selenium into one framework, and make them work together – actually pass information from one to the other and back. While I am at it, I thought I would dust off some skillz from a box that I have not been in for some time: Eclipse and Java (I know the title says Groovy, I’ll get to that).
setting it all up on Windows
Of course at work they must run Windows.
- Download and install (unpack?) Eclipse Classic 3.7, and run the Check for Updates. Mental note: gotta look at Eclipse for Testers, someday.
- You need to give it Java: set
JAVA_HOMEand add%JAVA_HOME%\binto the PATH. The first one that I tried – there were like half-dozen different versions on my machine
– Eclipse complained that it is missing something called jvm.dll. Better get the real thing. - If you create a shortcut to launch Eclipse from your desktop, I found that it is a good idea to set the “Start in:” field to the same thing as what your workspace is.

- Install SoapUI. This plugin needs some post-install work/commentary. If you also run the SoapUI IDE, especially a different version than what you just downloaded, the two will share one
%userProfile%\soapui-settings.xmland there could be collisions; I would really like to find a way to relocate this file for the Eclipse plugin. Also, if you did not start Eclipse from your workspace – point 3 above – then you are going to 1) possibly overwrite your%userProfile%\default-soapui-workspace.xml, and 2) possibly pollute your Eclipse installation with three*.logfiles that SoapUI always creates on startup. Lastly: what used to be%SOAPUI_HOME%\bin\ext(external jars that should be added to soapUI classpath, for example JDBC drivers) is now%userProfile%\ext; another thing I would really like to relocate for the Eclipse plugin. - Install Groovy. The instructions say to use
http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.7/, but if you read between the lines, you will notice this is the development build and as such it changes often, like almost daily. I usedhttp://dist.springsource.org/release/GRECLIPSE/e3.7/and it seems to have worked right out of the box. - Install SVN. I am not sure why Eclipse still comes pre-installed with CVS; does anyone still use this? When you’re done, make sure it worked. Normally there are problems.
setting it all up on Linux
Of course at home I run Linux. Surprisingly the Linux setup was a little more work.
- I run Linux Mint 9 (Ubuntu Lucid Lynx – LTS); the repos have only Eclipse 3.5, which is way too outdated by now. Download and install (unpack?) Eclipse Classic 3.7, and run the Check for Updates.
- LM9 comes set up with OpenJDK. Eclipse will run with this, however, when doing this last time, I ran into some problems, like various things kept crashing the JVM. Somewhere on the Eclipse site (unfortunately, I cannot find the link now) they suggested that you use genuine Sun Java. This is accomplished with
sudo apt-get install sun-java-jdk, and then you need to modify youreclipse.inito point to/usr/lib/jvm/java-6-sun/bin/java. - Install SoapUI. I’m still having problems with this one.
- Install Groovy. Use the same location as mentioned above, which makes it work right out of the box.
- Install SVN. Fix the problems.





Hi Shashi,
visit http://blog.infostretch.com/?p=49 You may get some idea.
Comment by chirag — September 5, 2011 @ 2:07 am |
Thanx for that link. Now if only I could find a way to call a SoapUI test from my Selenium test.
Comment by siking — September 6, 2011 @ 7:16 am |
@Chirag,
Thanks for the link, However I had visited that link earlier and also siking’s post helped in understanding the whole idea better. Now I’ve started with integrating Selenium with SoapUI and have found some success.
Thanks for all the help
Shashi
Comment by Anonymous — September 6, 2011 @ 7:31 am |
Hi Siking,
The project requires me to work on the integration of Selenium and soapUI. Could you please share some knowledge and experiences on the same?
The purpose of the integration is same as yours – “combine SoapUI and Selenium into one framework, and make them work together – actually pass information from one to the other and back.”
Please help me.
Thanks,
Shashi
Comment by Shashi — July 25, 2011 @ 4:34 am |
I will be working on the second part this week: WebDriver with Groovy. Stay tuned …
Comment by siking — July 25, 2011 @ 8:17 am |