WSUnit 1.0, a web service testing tool has been released. It is a tool that can help in automated and manual testing of Web Service consumers. It provides a predictable and repeatable simulation of a Web Service that is ideal for unit and integration testing. It is also useful when developing web service consumers when the actual web service may not be avaliable due to your remote location or may not have been fully developed itself.
WSUnit is, at it's core, a Java Servlet and comes packaged as an Eclipse Plugin making use of an embedded Tomcat engine. It can also be deployed into any J2EE container to run in a server environment.
if you're using Eclipse, it's also available as an Eclipse plugin, and can be installed by pointing the Eclipse Update manager to http://opensource.jpeople.com/wsunit/update.
-
WSUnit 1.0, Web Services Testing Tool, released (10 messages)
- Posted by: Daniel Bradby
- Posted on: May 04 2005 14:33 EDT
Threaded Messages (10)
- 403 Error by Keerthi P on May 04 2005 17:36 EDT
- Update site by Daniel Bradby on May 04 2005 17:50 EDT
- Update site by Keerthi P on May 04 2005 07:30 EDT
- Invaild URL by Mouloud - on May 06 2005 04:34 EDT
- Update site by Daniel Bradby on May 04 2005 17:50 EDT
- misleading name? by Ole Matzura on May 05 2005 08:45 EDT
- What's in a name :) by Daniel Bradby on May 05 2005 10:45 EDT
- Quick-Start by Tobias Pfannkuche on May 09 2005 05:44 EDT
- Quick-Start by Daniel Bradby on May 10 2005 08:04 EDT
-
The Documentation by javaid aslam on May 31 2005 02:30 EDT
- Questions by praveen pp on August 02 2005 09:00 EDT
-
The Documentation by javaid aslam on May 31 2005 02:30 EDT
- Quick-Start by Daniel Bradby on May 10 2005 08:04 EDT
-
403 Error[ Go to top ]
- Posted by: Keerthi P
- Posted on: May 04 2005 17:36 EDT
- in response to Daniel Bradby
Forbidden
You don't have permission to access /wsunit/update/ on this server.
That was what I got when I accessed the URL you have given. -
Update site[ Go to top ]
- Posted by: Daniel Bradby
- Posted on: May 04 2005 17:50 EDT
- in response to Keerthi P
That URL is meant for Eclipse, not for your web browser. Eclipse should look for the site.xml file in that directory. But to avoid confusion I have added an index.html explaining that.
The actual web site is at wsunit.java.dev.net -
Update site[ Go to top ]
- Posted by: Keerthi P
- Posted on: May 04 2005 19:30 EDT
- in response to Daniel Bradby
Sorry about that. I realized that only after posting the problem. I was unable to delete the post. Otherwise, I would have.
Thanks. -
Invaild URL[ Go to top ]
- Posted by: Mouloud -
- Posted on: May 06 2005 04:34 EDT
- in response to Daniel Bradby
The actual web site is at wsunit.java.dev.net
The actual actual ;-) web site is at http://wsunit.dev.java.net.
And WSUnit 1.0 is in fact a web service MOCKING tool.
Mouloud. -
misleading name?[ Go to top ]
- Posted by: Ole Matzura
- Posted on: May 05 2005 08:45 EDT
- in response to Daniel Bradby
This is good stuff, but isn't the name a little misleading? WSUnit allows you to test WS clients by "mocking" a WS, but it doesn't seem to provide any functionality for testing the behaviour of a Web Service itself!? maybe WSMock would be a better name?
regards!
/Ole -
What's in a name :)[ Go to top ]
- Posted by: Daniel Bradby
- Posted on: May 05 2005 10:45 EDT
- in response to Ole Matzura
You're probably right there. While WSMock is closer to what it is, to me anyway, it usually means the stub is in memory. We used to have XML Reflector, but that didn't really convey it's use in testing. -
Quick-Start[ Go to top ]
- Posted by: Tobias Pfannkuche
- Posted on: May 09 2005 05:44 EDT
- in response to Daniel Bradby
Just played around a bit with WSUnit. First of all, I have to agree that it should rather be called WSMocking, as this is what it actually does.
Did anyone try to run the demo-data shipped with the plugin? I keep getting exceptions over exceptions, from NullPointerExceptions to SAXParseExceptions, after configuring the plugin as described with these demo-data. Aside to the lack of documentation/tutorial (I would prefer a quick-stepin online doc rather than using Eclipse-Help), I did not get it run properly - but maybe I will have to do some more look inside. -
Quick-Start[ Go to top ]
- Posted by: Daniel Bradby
- Posted on: May 10 2005 08:04 EDT
- in response to Tobias Pfannkuche
Any stack traces would be gratefully accepted over in our forums or issues database.
You're right about the quick start and it's next on the list of things to do. However the documentation is available straight from CVS http://wsunit.dev.java.net/source/browse/wsunit/com.jpeople.wsunit.ui/html/ and can be viewed ok there. I will pull it out into something more browsable once I write the quick start. -
The Documentation[ Go to top ]
- Posted by: javaid aslam
- Posted on: May 31 2005 14:30 EDT
- in response to Daniel Bradby
The pagehttp://wsunit.dev.java.net/source/browse/wsunit/com.jpeople.wsunit.ui/html/
does not have anything but shows a directory which again do not contain any docs. In fact all the pages in each folder contain nothing useful! the Samples folder is empty!! -
Questions[ Go to top ]
- Posted by: praveen pp
- Posted on: August 02 2005 21:00 EDT
- in response to javaid aslam
Can WSUnit be used to test web services with callbacks. I have a scenario wherein the client makes an invocation on the web service and expects a callback from the server.
Can WSUnit support RPC based web service invocations.