|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Product Review SOAPtest 2.5 from Parasoft
Testing made simple - and productive
By: Paul Kaiser
Jun. 4, 2004 12:00 AM
SOAPtest is a comprehensive testing tool geared to testing Web services. It provides unit, system, and load testing features and support for WSDL, WS-Security, and JMS, including asynchronous messaging. It also supports attachments, access to performance monitors, comparative reporting, and more. Unit Testing In addition to the unit test cases, SOAPtest offers you the option to create test cases to validate the WSDL itself. With this, you can check for correctness by verifying that the WSDL conforms to the XML Schema Definition via XML validation, check the validity of URL references it contains, and make sure it conforms to the WS-Interoperability Basic Profile 1.0. In addition, you can take a snapshot of the WSDL and compare it in future test runs to make sure it has not changed. By default, it compares all elements. But if you want, you can choose to ignore certain elements. Each test case will contain an automatically generated value of the correct type for each input argument described. If that isn't appropriate, you may specify your own either as fixed or parameterized values (see Figure 1). Parameterized values come from one of several forms of data stores. The data store may be one of six types of data sources supported (simple text files, CSV files, databases, Excel spreadsheets, internal tables, aggregate), a built-in tool called an XML Data Bank, or a custom method that you write. By default, SOAPtest adds an output tool to each test case so you can see the HTTP request and response. There are also a variety of output tools that you can add to a test, in one or more tool chains to produce the output that is most meaningful to you. Tools Regression Testing Once the service is responding as expected, you can easily create regression tests using the Create Regression Control feature. With this you can have SOAPtest record the correct responses from the service it is testing. This is particularly helpful for negative tests, where a SOAP fault is the correct response. Once created, the test passes or fails based on a comparison with the recorded response. System Testing System tests typically need to pass the output of one interaction as an input to a subsequent interaction. SOAPtest supports this requirement a couple of ways, most notably with the XML Data Bank tool. This tool lets you identify, via XPath expressions, what elements and/or attributes will be available as input to subsequent tests. Load Testing You can run the load test from the local machine or you can choose to spread the virtual user load around to other machines that have SOAPtest installed. User profiles let you tailor the load to realistic scenarios using one or more test suites. User "think time" can be modeled at the profile, test case, or test suite level. Load scenarios define the load to produce over the duration of the test. It is specified by a graph of load (in terms of users or hit rate) versus time. You can create any kind of load you want within the constraints of your license and available resources. SOAPtest includes four general curves to start you off. Once created, you can fully customize the load curve by adding or removing points along the curve and move those points around. You can monitor the performance of the service hosts during the load test using the Monitors feature. This feature lets you capture performance metrics from a Windows or SNMP-enabled host as part of the load test report base. This lets you correlate load with resource usage on the service host(s). You can capture and report on the results of the load testing both while the test is executing and after (see Figure 2). SOAPtest lets you save the results to a report file separate from the test project. The report information includes the parameters of the load test such as the load scenario, test project/suite, and user profiles. Other Features SOAPtest can also create service implementation stubs from a WSDL and expose the implementation as a Web service using a built-in version of Tomcat. This lets you test Web service clients without requiring access to a real implementation of the service. Security Support Company Info Platforms/Requirements Price Conclusion Reader Feedback: Page 1 of 1
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||