Testing & Monitoring Web Services Using soapUI in NetBeans IDE
What is soapUI?
soapUI is a leading tool for Web Services Testing, developed by eviware. It's free, open-source software, with a vast feature set that includes Functional and Load Testing for Web Services, Web Services Simulation and Web Service Monitoring. In addition to its standalone version, it provides a plugin for NetBeans, which is now available on the NetBeans IDE Update Center.
Web Service Testing and Monitoring Features in NetBeans
With the integration of soapUI Plugin in NetBeans IDE 6.1, a variety of Web Service Testing features have been added, including the following:
- Web Service Functional Testing
- Web Service Load Testing
- Web Service Simulation
- Web Service Monitoring
- Validating WS-Interoperability (WS-I) Compliance
Installation and Setup
Starting with NetBeans IDE 6.1, the soapUIModule Plugin is available from the stable update center. Once the Plugin is installed, no additional setup is needed. It adds a soapUI pop-up menu to the IDE's Tools options. Select Preferences from the pop-up menu to set up optional configuration, such as proxy settings.
Functional Testing
Testing is an integral part of any software development process. In the case of Web Service development, it is essential to make sure the operations provided by the Web Service perform correctly. NetBeans IDE 6.1 allows users to create and execute Test Cases and Test Suites for Web Services.
Creating Test Cases
To create Web Service Tests for a Web Service, first create and deploy the Web Service you need to test. Select the Web Service Node in the Projects tab and right click on it. Invoke the "Create Web Service Tests" from the pop-up menu. The IDE downloads the WSDL for the Web Service and then displays the following dialog.
Accept all the defaults and accept the name of the Test Suite. This will create a test suite for the web service, which is shown as part of the project node.
| Attachment | Size |
|---|---|
| figure1.jpg | 12 KB |
| figure2.jpg | 36 KB |
| figure3.jpg | 12 KB |
| figure4.jpg | 68 KB |
| figure5.jpg | 44 KB |
| figure6.jpg | 32 KB |
| figure7.jpg | 28 KB |
| figure8.jpg | 28 KB |
| figure9.jpg | 28 KB |
| figure10.jpg | 52 KB |
| figure11.png | 96.08 KB |
| figure11.png | 96.08 KB |
| figure12.png | 3.63 KB |
| figure13.png | 11.48 KB |
| figure14.png | 27.55 KB |
- Login or register to post comments
- 1343 reads
- Flag as offensive
- Email this Story
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)







Comments
Varun Nischal replied on Thu, 2008/06/26 - 2:16pm
My name is Varun Nischal and I'm the NetBeans Community Docs Contribution Coordinator. Your Dzone entry would make fantastic Tutorial for our Community Docs wiki (http://wiki.netbeans.org/CommunityDocs).
If you aren't a Sun Employee, Would you be willing to contribute it? If you need any help or have any questions, please contact me at nvarun@netbeans.org
I look forward to hearing from you.
Thanks,
Varun Nischal
http://nb-community-docs.blogspot.com/
--
"You must do the things you think you cannot do."