Test and emulate Web Services with IBM Rational's unified test toolset

Source: Internet
Author: User
Tags arithmetic web services wsdl

IBM Rational Test Workbench (RTW) is a unified set of test tools for IBM rational, including functional testing, performance testing, interface testing, and other modules to meet the various types of automated testing needs of customers. The Rational Integration Tester (hereinafter referred to as RIT) is an interface testing tool that automates the functional/performance testing of many types of interfaces, including Web Services, HTTP, sockets, MQ, Database, and so on. This article describes how to test Web services through Rational integration Tester and implement virtualization emulation of Web services with the Rational test virtualization Server (RTVs) 。

Summarized

IBM Rational Test Workbench (RTW) is a unified set of test tools for IBM rational, including functional testing, performance testing, interface testing, and other modules to meet the various types of automated testing needs of customers. The Rational Integration Tester (hereinafter referred to as RIT) is an interface testing tool that automates the functional/performance testing of many types of interfaces, including Web Services, HTTP, sockets, MQ, Database, and so on. This article describes how to test Web services through Rational integration Tester and implement virtualization emulation of Web services with the Rational test virtualization Server (RTVs) 。

Before doing the following work, first install RIT, RTVs, we will use these two products for automated interface testing and Interface service emulation.

Environment Preparation: launching Web Services applications

Start Web Services: Unzip the attachment's webservices.zip to the local directory and double-click the Runcalculatorservice.bat file to start a arithmetic Web services, as shown in the following illustration:

Figure 1. Start Web Services

After successful startup, you can open http://remy:8084/Calculator?wsdl in the browser (different client machine names will automatically match) to view the WSDL definition for the Web Services. You can access the page, the Web Services startup is successful. This Web Services provides arithmetic, such as the Add method, which supports the calculation of the sum of two integer parameter values passed in, and then returns the summation.

Start RIT, build the project

Start menu-All Programs-ibm Rational integration Tester; open RIT, select New project, Project name 0623_webservice. After the project is successfully established, it automatically enters the RIT interface, as follows:

Figure 2. RIT Main interface

As above, RIT's main interface, in addition to the traditional menu, toolbar display and so on, but also includes the following different views, in turn by the logical view, the physical view and other 7 views, each represents the different stages of integration testing tasks. We'll discuss these details later.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.