Gopalan Suresh Raj
Web Cornucopia
Gopalan's Profile
Archives
« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today
Click me to subscribe Download Open ESB
Syndication
Search

Table of Contents
Tags
bpel choreography ejb esb http integration javacaps javaee javaone jax-ws jbi management openesb orchestration process-oriented rest sca service-oriented soa soap wsdl xml xsd
Links
 
Referrers

Today's Page Hits: 14

Map of Visitors
Locations of visitors to this page
Caveat Emptor
This is my personal weblog. The contents of this Weblog represent my personal opinion which may differ from the official views of my employer, Sun Microsystems, Inc. or any past employers. I do not speak for my employer or any past employers.
View Gopalan Suresh Raj's profile on LinkedIn
« The WS-BPEL Debugger | Main | Implementing Service... »
Monday May 29, 2006
May
29
The JBI/SOA Composite Application Unit Test Driver Framework


The  JBI unit test driver framework is a NetBeans plug-in module that helps in creating and executing unit and driver tests for a JBI/SOA Composite Application project module. It is assumed that the JBI/SOA Composite Application project module is created and deployed prior to testing.

Unit and Driver test framework features:

User Interaction

  1. Create a new test case, enter name for test case
  2. Choose a WSDL document from the project
  3. Choose the operation to be tested from the WSDL
  4. Edit input.xml and output.xml
  5. Test the project
From your JBI/SOA Composite Application project in the NetBeans IDE, right click on test and choose “Add Testcase” to create a new test case.


Enter a name for the test case



Choose a WSDL document from the project



Choose the operation to be tested



The above steps result in an input.xml and an output.xml file created in the project tree. Manually edit the input.xml file to your satisfaction. Choose “Test project” from the project node. The first time the test is run, outputs are created and these ouputs will be assumed to be the expected output for the tests. It is always possible to edit the output.xml to change the expected output if you so desire.



All subsequent test runs will compare actual output with the expected output and report either a success or failure status.

Download the Java EE 5 Tools Bundle Beta from http://java.sun.com/javaee/downloads/index.jsp for FREE, and provide us feedback on the improvements you'd like to see. It combines the new Java EE 5 SDK with NetBeans IDE 5.5 Beta, NetBeans Enterprise Pack 5.5 Early Access, and Sun Java System Application Server Platform Edition 9. This bundle also contains Project Open ESB Starter Kit Beta, Java EE 5 samples, Java BluePrints, and API docs (Javadoc).




Posted at 06:26AM May 29, 2006 by Suresh Gopalan in JBI and SOA  |  Listen to this article Listen to this entry  |  Comments added Comments[0]
Tags:
Share This Post: del.icio.us | furl | simpy | slashdot | technorati | digg

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

Disclaimer: The contents of this Weblog represent my personal opinion which may differ from the official views of my employer, Sun Microsystems, Inc. or any past employers.



View blog top tags

Enter your email address:

Delivered by FeedBurner

[Valid RSS]