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.
# Airport Weather Alert Agent # # Demonstration of an intelligent test ...