Browse Prior Art Database

CLI and API Test Engine (TE)

IP.com Disclosure Number: IPCOM000130158D
Original Publication Date: 2005-Oct-14
Included in the Prior Art Database: 2005-Oct-14
Document File: 2 page(s) / 31K

Publishing Venue

IBM

Abstract

The Test Engine (TE) provides a utility to automate the test process of Command Line Interfaces (CLI) and Application Program Interfaces (API). It is a Java* application that reads a formatted text file and interprets the text as commands or functions. The utility measures the runtime of the command or function, the return code and memory usage. The output of the command or function is sent to stdout and stderr is also available with in the Java* function. The information is then used to fill several data base tables. The data base will then be used in a later step to create reports that can be send out via e-mail to a predefined subscriber list.

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 54% of the total text.

Page 1 of 2

CLI and API Test Engine CLI and API Test EngineCLI and API Test Engine CLI and API Test Engine

((((TETETE

TE)

))


)

I. Test Engine

The Test Engine (TE) provides a utility to automate the test process of Command Line Interfaces (CLI) and Application Program Interfaces (API). It is a Java* application that reads a formatted text file and interprets the text as commands or functions. The utility measures the runtime of the command or function, the return code and memory usage. The output of the command or function is sent to stdout and stderr is also available with in the Java* function. The information is then used to fill several data base tables. The data base will then be used in a later step to create reports that can be send out via e-mail to a predefined subscriber list.

A. Problems addressed by TE

TE addresses the following problems when testing CLI's and API's:
1. Portability of test scenarios between different Operating Systems
2. Analyzing of CLI and API output by command or function
3. Runtime measurements for single commands or functions
4. Reporting of test results and environments in an automated way
5. Long-term data availability for backward checking of results.
6. Tests and reports scheduled to run at a pre defined point in time .

B. TE diagram

Figure 1 shows the fundamental concept of TE .

A IX , Linux, S U N , H P U X , W indow s or other O perating S ystem running the T E reporting interface

A IX , Linux, S U N , H P U X , W indow s or other O perating S ystem running the T E reporting interface

 The text files containing the report procedures

 The text files containing the report procedures

 DB2, O racle, M yS Q L or SAPDB containing the test result tables

 DB2, O racle, M yS Q L o...