O'Reilly logo

Java™ Web Services Unleashed by Mark Wutka, Joseph Weber, Arthur Ryman, K. Scott Morrison, Benoît Marchal, Matthias Kloppmann, Steven Haines, Darren Govoni, Francisco Curbera, Frank Cohen, Robert Brunner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Script Languages and Test Agents

A script language enables developers to rapidly develop and easily maintain test agents. A script language also permits regular expression evaluation, program flow control, and code reuse. As an example, consider a test agent written with TestMaker that monitors weather conditions at a major airport and signals an alert when the temperature becomes too cold for certain equipment to function properly.

The Airport Weather Alert Agent in Listing 22.1 learns the weather from a weather service specific to airports. A second Web service handles signaling the alert by sending an email message to a manager.

Listing 22.1. Airport Weather Alert Agent
 # Airport Weather Alert Agent # # Demonstration of an intelligent test ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required