Free Newsletters
InfoWorld Daily

InfoWorld
Log-in | Register

SOAPtest 4.0 targets Web services

New security tests, load testing make for squeaky-clean Web services

By Rick Grehan
June 20, 2005
 

Whereas most of us surf the “visible” HTTP exchanges between browser and Web server, Web services are transporting an increasing load of otherwise invisible traffic. With the help of SOAP, Web service clients and servers carry on unseen conversations, similar to messages traveling over a subfrequency.

Free IT resource

Hear how top CIOs turn change into a competitive advantage.

Sponsored by HP

Free IT resource

Attend the SOA Executive Forum: Breaking SOA Bottlenecks SOAExecForum.com/may2007

Sponsored by InfoWorld



Parasoft SOAPtest 4.0

Parasoft, parasoft.com

Very Good  8.6
criteria score weight
Documentation 8 20%
Interoperability 8 20%
Performance 10 20%
Scalability 8 20%
Setup 9 10%
Value 9 10%

Cost:
Single license, $3,995

Platforms:
Windows 2000/XP, Linux, Solaris

Bottom Line:
Parasoft’s SOAPtest 4.0 is a Web service testing tool that will be useful to developers and QA engineers alike. Its strength is the speed with which robust test suites can be built from humble unit-test beginnings. New security tests for Web services are a fine addition.

About our Reviews and Scoring Methodology

They may be invisible, but these conversations are important: More and more frequently, Web services are being used to conduct vital business transactions.

Parasoft’s SOAPtest is one of a growing number of tools that test these increasingly critical applications. Although its name implies its only job is identifying and diagnosing problems in SOAP messages, SOAPtest delivers comprehensive regression, unit, and security testing for Web services and Web service client applications.

Version 4.0 adds features that make SOAPtest easier to use than its earlier editions. It also adds new test categories -- for example, SOAPtest’s new security tests ascertain how well your Web service is protected against a malevolent user’s attacks.

Getting lathered

SOAPtest has two primary uses, but it functions as an automatic test generator in both cases.

First, it creates static WSDL verification tests for the content of a Web service’s WSDL document. The tests that SOAPtest builds check not only for proper WSDL syntax but also for correct WSDL semantics -- for example, it verifies the document’s internal consistency.

Second, SOAPtest reads the WSDL document’s contents and creates unit tests for the Web service’s methods. SOAPtest can also create its tests from the Web service’s UDDI information, as well as from an HTTP traffic log file involving Web services.

Although these unit tests begin as simple, single calls into Web service methods, they don’t stay that way. You can easily configure a test to execute repeatedly, drawing its succession of input parameters from a data table, a comma-delimited file, an Excel spreadsheet, or a database. If you need to instill more intelligence into a particular test, you can augment the test’s behavior with scripts written in Jython (Python written in Java), Java, or JavaScript.

This is SOAPtest’s real power. Beginning with a small, simple set of static and dynamic tests automatically generated by a wizard (one of the new features of SOAPtest 4.0), you can extend, duplicate, and modify those tests to build -- Lego-style -- an increasingly powerful suite. Tests are executed in sequence; by properly ordering tests, you can simulate a lengthy session between Web client and Web service.

I ran SOAPtest on a pair of sample Web services I had been using to explore various ASP.Net features. The tool’s best feature is its seemingly instantaneous creation of tests, and the equally speedy way I could iteratively extend and modify those tests. SOAPtest allowed me to assemble my tests in such a way that what began as a collection of unit tests blossomed into an array of functional tests. And throughout this process, I never needed to stoop into the source code.

Security spotlight

With SOAPtest, subsequent tests can use data from preceding tests as their inputs, and that allows you to build a “mock” workflow of a user carrying out a complex series of transactions with the particular Web service. By incrementally layering tests on a suite’s foundation, you produce a comprehensive project that -- taken as a whole -- ends up being greater than the sum of its parts.

Also new in SOAPtest 4.0 is its capability of launching attacks against a Web service to assay its security vulnerabilities. The set of new security tests currently generated by SOAPtest includes -- but is not limited to -- parameter fuzzing, which passes irregular parameters that might cause the Web service to throw an exception or reveal information it shouldn’t; XML bombs, detonated if an XML entity is defined recursively in a DTD, causing an XML parser to expand the enclosing document to an unmanageable size; SQL injection, which injects unwanted strings into the text of a SQL query, causing the application to throw an exception or execute improper SQL code; and XML external entity attacks that exploit a DTD’s capability of making an external reference.

As if that’s not enough, Version 4.0 also extends SOAPtest’s performance and load testing. Now you can simulate -- and view the effects of -- multiple clients posting requests to your Web service and graphically tune the simulation’s evolution. For example, you can see how your Web service performs if client requests increase with a gradual linearity, peak suddenly, or rise and fall in a bell curve.

Finally, SOAPtest 4.0 is not limited to testing Web services; it also exercises a Web service client. By configuring SOAPtest to act as the Web service itself, you cause it to mimic the server; as such, it can verify that clients post proper requests. It’s a valuable feature because it allows you to test the “whole” Web service application -- client and service/server -- instead of just the service.

Squeaky clean

SOAPtest 4.0’s strength lies in the ease and agility with which you can create and modify tests. In seconds, you can build a test, run it, and examine the response. If the test looks good, add it to your suite; if not, modify or extend it -- or throw it away and create a new one.

SOAPtest 4.0 effectively walks that narrow line between being entirely code-free (allowing the wizard to build the tests) and customizable (coding an involved script by hand). This balance makes it useful to QA engineers and developers. Because you can run it from the command line, it is easily incorporated into automated builds. If you’re building serious Web services, you need SOAPtest.





 


 
Rick Grehan is a contributing editor at InfoWorld. Contact him at rick_grehan@infoworld.com.
 

TOP NEWS:


»  Four quick tips for choosing an IM security product
71 percent of businesses will invest in real-time messaging this year. If you're one of them, be sure to protect your enterprise

»  Forrester analysts ID hot IT jobs
Research group finds 16 IT roles with a promising future

»  Nvidia claims 10 hours of HD video on Tegra chip
The Tegra 600 and 650 can be used with hard disk drives and are designed partly for mobile Internet devices

»  Database vendors add Google's MapReduce
Greenplum and Aster Data Systems will support Google's programming technique, developed for parallel processing of large data sets across commodity hardware

»  Network management: Tips for managing costs
New technologies, changing requirements, and ongoing equipment maintenance and upgrades cost money, but there are ways to manage expenses

»  EMC targets SMBs, branch offices with new low-end storage
Celerra NX4 highlights include thin provisioning, snapshot technology for data recovery and backups, and Web-based console for management of storage volumes




FIVE WAYS TO REDUCE IT COSTS IN 2009
The demands on IT have never been greater, particularly in light of lower revenue and uncertain demand for the goods and services. There are many ways that IT can help organizations adjust to this new economic environment. Learn about five key technology trends that can immediately impact your organization's bottom line, and how to build a strategy to implement these technologies within your current budget. Sponsored by: Riverbed

»  Click here to view this Webcast
  Enterprise Data Security Solutions Guide
Data security used to be about outside threats. These days the biggest challenge for data-driven organizations is the management of secure information from the inside out. Data is available on laptops, your network and even USB devices, but not always secure. Read this Solutions Guide to learn the best ways to keep it safe. Sponsored by ISC2

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 

FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2009, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist
TecChannel :: TecCommunity