The client had two web services that required
testing with
approximately 110
different methods such
as Save (Create),
Update, Delete and
Search (Historic and
Current).
To test the client application, RTTS used a
standard SOAP/HTTP
package to build a
custom SOAP
request-response engine,
along with code to load
the response messages
into the XML DOM for
extraction of result
data for comparison to
baseline values.
The baselines for the web services were
created by querying the
underlying database to
produce outputs that
were expected from the
various web service
functionalities. These
results were then
compared against the
SOAP/HTTP results. To
account for the dynamic
nature of the data, each
regression run executed
the baseline queries in
parallel with the SOAP
queries, so that
constant updates to data
(data entry, replication
from production, live
market feeds) did not
affect test results.
With each build, the development effort added
new SOAP methods, and
the testing effort
prepared test cases for
the new functionality by
adding baseline and
corresponding SOAP
queries.
In most cases, RTTS was able to test the two
web services, analyze
results and enter
defects within one day.
As a result, developers
received defect
information prior to the
start of the following
day. With the quick
turnaround, the
development team was
able to fix defects
early and prepare for
new builds. As shown in
Figure 1, in most
development cycles, with
each build release, more
test cases were created
and executed and fewer
defects were found.

With these SOAP web service tools, RTTS
engineers were able to
start testing the
application after the
creation of the first
application build, well
before the development
of the application user
interface.
As an added benefit of
the approach, when GUI
applications were built
to consume the Web
Services, test
automation for the GUI
applications was
developed. When this was
run along-side the
automated SOAP data
verification suites, the
combination provided a
tool for rapid
localization of defects
to either the
application middle-tier
or the presentation
layer.
The quick turnover of
defects helped move the
project forward at a
strong pace. RTTS’
approach allowed
multiple successful
releases to production,
both before and after
the development of the
application user
interface.