Browse Prior Art Database

Web Service Meddler

IP.com Disclosure Number: IPCOM000186058D
Original Publication Date: 2009-Aug-06
Included in the Prior Art Database: 2009-Aug-06
Document File: 2 page(s) / 215K

Publishing Venue

Microsoft

Related People

Andrew Budker: INVENTOR [+3]

Abstract

Testing how software applications dependent on web services handle errors is difficult due to the wide range of errors that can occur when relying on information traveling across networks. Traditional fault injection tools require an intimate knowledge of the underlying web service implementation, access to the source code, and are often only able to replicate a small subset of the possible server responses. We present a mechanism to dynamically discover client-server interactions, and to simulate arbitrary network faults.

This text was extracted from a Microsoft Word document.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 53% of the total text.

Web Service Meddler

Summary

Testing how software applications dependent on web services handle errors is difficult due to the wide range of errors that can occur when relying on information traveling across networks. Traditional fault injection tools require an intimate knowledge of the underlying web service implementation, access to the source code, and are often only able to replicate a small subset of the possible server responses. We present a mechanism to dynamically discover client-server interactions, and to simulate arbitrary network faults.

Description

The key to this tool is an ISAPI Module or filter or other low level mechanism that inspects incoming http packets and adds the packet URL to a configuration file. Based on the entries contained in the configuration, the module decides whether or not to pass along incoming packets to their intended recipients or to block the call and simulate a specified server response. This module is also capable of recording responses from the web service and replaying the response at a later time. This design provides several advantages to traditional fault injection tools:

1.     The module adds incoming URLs to it configuration on the fly. This allows a client tester to discover what API calls are actually made by the in real time and then to fail each one selectively.

2.     Responses from the web service can be recorded in the configuration so they can be used later in simulated responses.

3.     This implementation approach is portable, and does not require any special configuration to the target web service or server (aside from the installation of the module.)

4.     The configuration allows the user to define a pass percentage at the URL or API level which allows the...