| |
| Case Study |
| |
Outsourced automated testing helps global major
guarantee Application Server reliability |
|
|
By creating an automated test suite, Patni helped the software division of a large global electronics
company reduce costs and improve time to market for its application server product
The Client
The client is the
software division of a
leading Fortune 500
electronics company,
headquartered in Tokyo,
Japan. The company
manufactures and
markets a wide range of
products, including
computers,
semiconductors,
consumer products, and
power and industrial
equipment.
The Challenge
The software division had a JavaTM 2 Platform Enterprise Edition (J2EETM)
application server as one of its product offerings. This product was used
extensively for running mission critical applications in banks and telecom
institutions. To ensure effective J2EE compliance, the client needed an
independent verification of its product. The objective was to get the application
server tested for J2EE 1.3 compliance by creating an automated test suite that
would help in carrying out repeated testing of the product during its
development.
This project involved testing of the following four J2EE 1.3 components:
 |
Enterprise Java Beans (EJB) |
 |
J2EE Connector |
 |
Java Messaging Service (JMS) |
 |
JSP/Servlets |
As the server powered mission critical applications that could not afford to fail,
thorough testing of the product was critical for ensuring success.
The Solution
The development team from Patni created a large number of test cases to ensure
complete test coverage of all functions and features of a J2EETM1.3 component. J2EE
specification as well as each component specification was used an input for creation of
the test cases. Test programs were developed using Java, EJB, Servlets and Java Server
Pages for testing the test cases. Similarly, Oracle 8i, 9i databases was used for testing
database related test cases. These test programs were automated to create an
automated test suite. This test suite had an intuitive UI and provided the flexibility of
executing all or selected test cases. The test suite also generated detailed trace/error
logs to help the testers in identifying the exact cause of a test case failure.
The scale of the project can be seen from the number of test cases that were created for
each component. The number of test cases for JSP/Servlets and EJB were 6000 and 5000
respectively. Similarly, for JMS and J2EE Connector, the test cases were 4000 and 2000
respectively. The total effort for this project was 3500 person days.
The Technology
 |
Development Language:
Java (Java 2 SDK
Standard Edition 1.3.1) |
 |
Hardware: HP 9000,
IBM RS6000, SUN SPARC,
IBM-PC/AT compatible |
 |
Operating system:
HP-UX 11.0, HP-UX 11i,
AIX 5L v5.1, Solaris 8,
Windows NT/2000 |
 |
Database: Oracle 8i,
Oracle 9i |
| |
 |
The Benefits
Partnering with Patni has given the client the ability to cost
effectively automate its testing processes. Some significant
benefits include:
 |
Guaranteeing reliability: By outsourcing to Patni, the
client has gained the capability of increasing the test
coverage. This has helped the client guarantee the
performance and quality levels required by clients
running applications in mission critical environments |
 |
Reduced test cycle time: The automated test suite
has facilitated repetitive testing of the product
whenever enhancements are made and reduced the
test cycle time. Since no manual user intervention is
required, the test suite can run at night and the
logs/results can be checked during day-time |
 |
Increased consistency in testing: With automated
testing, tests are more consistent as they perform
exactly the same operations each time they are run.
This has eliminated the possibility of human errors. |
|