Skip to main content


developerWorks  >  SOA and Web services | Rational  >

Automate Web service testing, Part 3: Test a secured Web service with IBM Rational Software Architect and XMLUnit

developerWorks

Level: Advanced

Mohan Jadhav (mohan.jadhav@in.ibm.com), Staff Software Engineer, IBM 
Mansoor Ahmed (manahmed@in.ibm.com), Software Engineer, IBM

19 Jul 2007

Register now or sign in using your IBM ID and password.

This tutorial introduces the technique of automating the testing of a typical Web service using several technologies, including JUnit, Apache Commons HttpClient, and Apache XMLUnit. The technique is demonstrated on the development platform that IBM Rational® Software Architect offers. The tutorial addresses testers and developers who are interested in functional testing of a Web service. Before you begin, you need a basic understanding of Web services and Java™ development, and you should have had some exposure to unit testing tools, such as JUnit.

In this tutorial

The tutorial addresses testers and developers who are interested in functional testing of a Web service.


Objectives

  • Define security on a Web service.

  • Configure security on WebSphere Application Server.

  • Verify security on the Web service.

  • Test the Web service using HttpClient and XMLUnit.

Prerequisites

Before you begin, you need a basic understanding of Web services and Java development, and you should have had some exposure to unit testing tools, such as JUnit.


System requirements

You need the following software to complete this tutorial:

  • Windows® 98, Windows XP, Windows 2000, or Windows 2003
  • IBM Rational Software Architect, version 6.x
  • Apache JUnit, version 3.8.1
  • Apache Commons HttpClient, version 3.0.1
  • Apache Commons Codec, version 1.3
  • Apache XMLUnit, version 1.0


Duration

1 hour


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed

Discuss


My developerWorks needs you!

Connect to your technical community


More in this series:
Automate Web service testing