SOAtest test cases can be mapped to specific requirements or test plans in Rational TestManager. Once a test case is mapped to a test plan, the testing of the requirement becomes as simple as pressing a button inside TestManager. SOAtest test cases can be run from inside Rational TestManager and the results are reported back to TestManager.
Additionally, Parasoft SOA Quality Solution provides native support for the IBM WebSphere MQ API; tests JMS, EJB and web services on WebSphere; and provides WebSphere JMX performance monitoring which exposes the metrics typically available on WebSphere Tivoli.
For WebSphere ESB, you can also visualize and trace the intraprocess events that take place as part of the transactions that are triggered by the tests, and then dissect them for validation. In addition to providing visibility into the system’s intermediate messages, this allows you replay transactions directly from the solution and verify that the monitored functionality continues to work as expected. As a result, test engineers gain the ability to identify problem causes and validate multi-endpoint, integrated transaction systems that have been traditionally handled only by specialized development teams. For details, see Monitoring IBM WebSphere ESB.
The following sections describe how to integrate SOAtest into Rational TestManager. First, SOAtest must be configured to have access to various TestManager jar files. Second, a reusable test script is created. Third, test plans are created using the reusable test scripts.
Sections include:
Before you start, make sure to include all required JAR files to the classpath. Required JAR files include rtjavatestserver.jar, rttssjava.jar, rttseajava.jar,
and rational_ct.jar.
You can find the jar files in the following default locations:
E:\Program Files\Rational\Rational Test\rtjavatestserver.jar
E:\Program Files\Rational\Rational Test\rttssjava.jar
E:\Program Files\Rational\Rational Test\tsea\rttseajava.jar
E:\Program Files\Rational\Rational Test\QualityArchitect\rational_ct.jar
There are two ways you can add JAR files:
CLASSPATH
variable is not yet created, click the New button either for User variables or System variables and enter CLASSPATH
for the Variable name and ;< path to the jar files>
for Variable value.CLASSPATH
variable is already created, double-click the CLASSPATH
variable and append ;< path to the jar files>
In the ExecuteAdapterType tab, choose the Use command line execution adapter radio button and manually enter the following in the Execution command line field:<path to SOAtest's execution> -config configName -resource relPathToTest [-testname {testname}] -testManagerVerbose
For example:"C:\Program Files\Parasoft\SOAtest\[SOAtest version number]\soatestcli.exe" -config "user://Example Configuration" -resource myProject/myTest.tst -testManagerVerbose
For additional command line options, see Testing from the Command Line Interface - soatestcli.
Click the Details tab in the Test Log window and expand the nodes to view the properties of the User Defined node.
SOAtest reports the results as a user-defined event.