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.