Browse Prior Art Database

Interface test automation by dynamic module modification combined with wrapper and proxy

IP.com Disclosure Number: IPCOM000016260D
Original Publication Date: 2002-Oct-10
Included in the Prior Art Database: 2003-Jun-21
Document File: 2 page(s) / 62K

Publishing Venue

IBM

Abstract

Disclosed is a system for interface test automation. It consists of dynamic application modification, a wrapper, and a proxy. It automates execution and verification of an interface whose connection is originated from the application under test.

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

Page 1 of 2

  Interface test automation by dynamic module modification combined with wrapper and proxy

    Disclosed is a system for interface test automation. It consists of dynamic application modification, a wrapper, and a proxy. It automates execution and verification of an interface whose connection is originated from the application under test.

The system uses a wrapper and a proxy. The wrapper is used on a connection, and the proxy is used during the connection. The figure.1 shows the status of the connection before modification by the system.

wrapper Prepares the wrapper for the interface to be tested. When a test starts, the system scans the application, and modifies the reference to the connection module to the reference to the wrapper. The modification is done for the compiled module, so that the application source code is kept as is. When the application tries to connect via the interface, it actually calls the wrapper. The wrapper connects to the proxy

The wrapper checks if the test is under execution. If so, it connects to the proxy. Otherwise, it calls the connection module and connects to the original destination. The wrapper is executed only on the connection, so that the performance overhead of non-test is localized to the connection time. In this way, the modified module can be used out of test execution during application development phase. Before the production phase, the wrapper can be removed by re-compiling. Besides, adoption of the wrapper brings the following advantages:
1) The modification required to connect to a proxy may vary by the connection type. The wrapper absorbs the difference of connection types, and minimizes the...