Mitch Etter’s Weblog

February 26, 2010

soapUI

Filed under: Programming, Testing, Web — mitchetter @ 7:39 pm

It’s annoying sometimes when there is only a live version of a web service and no test versions. It inhibits the testing of code that integrates with the web service because your best option, many times, is to test connected to the live service, and you don’t want to mess too much with live data (especially if it belongs to a client). I found a tool today that helps with this issue. It simulates a web service given a wsdl. It’s called soapUI (http://www.soapui.org/). I found it fairly easy to use, and it can be used on the command-line (http://www.soapui.org/userguide/commandline/mockrunner.html). The only down-side to it so far is that it requires java to be installed.

Advertisement

1 Comment »

  1. Something else you could to is wrap your webservice API in an interface, and then using IoC(windsor) you just mock(Rhino Mock) it out and inject it.

    Comment by Kevin Upchurch — February 27, 2010 @ 6:50 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.