# US 2021/0286713 A1 · System testing infrastructure using combinatorics

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286713 A1
- Document ID: US20210286713A1
- Status: Published application
- Kind: A1
- Application number: 16/819,328
- Filed: 2020-03-16
- Published: 2021-09-16
- Earliest claimed: 2020-03-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Andrew C. M. Hicks; RYAN THOMAS RAWLINS; Dale E. Blue; Jacob Thomas Snyder
- Web page: https://patentgrep.com/patent/US20210286713A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F 11/3676: {for coverage analysis}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3409: {for performance assessment}
- G06F 11/3419: {by assessing time}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for testing a system under test (SUT) in an active environment includes generating, by a testing system, several tests for testing the SUT. The tests are generated based on a coverage model of the SUT, which includes multiple attributes. The method further includes creating, by the testing system, a minimal set of tests from the tests by selecting tests that do not exceed a predetermined performance threshold. The method further includes executing, by the testing system, the minimal set of tests on the SUT for analyzing a soft failure of the SUT in the active environment. The soft failure occurs in the active environment during execution of the SUT based at least in part on a performance parameter of the active environment.

## Claims

### Claim 1

A method for testing a system under test (SUT) in an active environment, the method comprising:
generating, by a testing system, a plurality of tests for testing the SUT, the plurality of tests generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
creating, by the testing system, a minimal set of tests from the plurality of tests by selecting tests that do not exceed a predetermined performance threshold; and
executing, by the testing system, the minimal set of tests on the SUT for analyzing a soft failure of the SUT in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least in part on a performance parameter of the active environment.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 3 (depends on 2)

The method of claim 2, wherein the coverage model is a functional coverage model of the SUT.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 5 (depends on 1)

The method of claim 1, wherein creating the minimal set of tests comprises:
executing the plurality of tests on a baseline system;
recording a performance parameter of each of the plurality of tests; and
marking a first test from the plurality of tests for removal based on the performance parameter exceeding the predetermined performance threshold and selecting, in the minimal set of tests, a second test that is not marked for removal.

### Claim 6 (depends on 5)

The method of claim 5, wherein the performance parameter is one or more from a group consisting of execution time, processor usage, memory usage, network usage, disk usage, and combinations thereof.

### Claim 7 (depends on 1)

The method of claim 1, wherein creating the minimal set of tests comprises:
executing the plurality of tests on a baseline system;
recording a performance parameter of each of the plurality of the tests; and
marking a first test from the plurality of tests for removal based on the performance parameter exceeding the predetermined performance threshold and removing the first test from the plurality of tests.

### Claim 8

A system comprising:
a memory device; and
one or more processing units coupled with the memory device, the one or more processing units configured to perform a method comprising:
generating a plurality of tests for testing a system under test (SUT) that is being executed in an active environment, the plurality of tests generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
creating a minimal set of tests from the plurality of tests by selecting tests that do not exceed a predetermined performance threshold; and
executing the minimal set of tests on the SUT for analyzing a soft failure of the SUT in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least in part on a performance parameter of the active environment.

### Claim 9 (depends on 8)

The system of claim 8, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 10 (depends on 9)

The system of claim 9, wherein the coverage model is a functional coverage model of the SUT.

### Claim 11 (depends on 8)

The system of claim 8, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 12 (depends on 8)

The system of claim 8, wherein creating the minimal set of tests comprises:
executing the plurality of tests on a baseline system;
recording a performance parameter of each of the plurality of tests; and
marking a first test from the plurality of tests for removal based on the performance parameter exceeding the predetermined performance threshold and selecting, in the minimal set of tests, a second test that is not marked for removal.

### Claim 13 (depends on 12)

The system of claim 12, wherein the performance parameter is one or more from a group consisting of execution time, processor usage, memory usage, network usage, disk usage, and combinations thereof.

### Claim 14 (depends on 8)

The system of claim 8, wherein creating the minimal set of tests comprises:
executing the plurality of tests on a baseline system;
recording a performance parameter of each of the plurality of tests; and
marking a first test from the plurality of tests for removal based on the performance parameter exceeding the predetermined performance threshold and removing the first test from the plurality of tests.

### Claim 15

A computer program product comprising a computer-readable storage medium having computer-executable instructions stored thereupon, which when executed by a processor cause the processor to perform for testing a system under test (SUT) in an active environment, the method comprising:
generating a plurality of tests for testing the SUT, the plurality of tests generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
creating a minimal set of tests from the plurality of tests by selecting tests that do not exceed a predetermined performance threshold; and
executing the minimal set of tests on the SUT for analyzing a soft failure of the SUT in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least in part on a performance parameter of the active environment.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein creating the minimal set of tests comprises:
executing the plurality of tests on a baseline system;
recording a performance parameter of each of the plurality of the tests; and
marking a first test from the plurality of tests for removal based on the performance parameter exceeding the predetermined performance threshold and selecting, in the minimal set of tests, a second test that is not marked for removal.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the performance parameter is one or more from a group consisting of execution time, processor usage, memory usage, network usage, disk usage, and combinations thereof.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein creating the minimal set of tests comprises:
executing the plurality of tests on a baseline system;
recording a performance parameter of each of the plurality of tests; and
marking a first test from the plurality of tests for removal based on the performance parameter exceeding the predetermined performance threshold and removing the first test from the plurality of tests.
