# US 2021/0286714 A1 · Stress test impact isolation and mapping

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

- Number: US 2021/0286714 A1
- Document ID: US20210286714A1
- Status: Published application
- Kind: A1
- Application number: 16/819,329
- 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/US20210286714A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/3409: {for performance assessment}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/3676: {for coverage analysis}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3692: {for test results analysis}
- 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 to identify cause of a soft failure includes recording a first difference vector by executing a set of test cases on a baseline system and monitoring performance parameters of the baseline system before and after executing the test cases. Each performance record represents differences in the performance parameters of the baseline system from before and after the execution of a corresponding test case. The method further includes, similarly, recording a second difference vector by executing the test cases on the SUT and monitoring performance parameters of the SUT before and after executing the test cases. The method further includes identifying an outlier performance record from the second difference vector by comparing the difference vectors and further, determining a root cause of the soft failure by analyzing a test case corresponding to the outlier.

## Claims

### Claim 1

A method for testing a system under test (SUT) in an active environment to identify cause of a soft failure, the method comprising:
generating, by a testing system, a plurality of test cases for testing the SUT, the plurality of test cases generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
recording, by the testing system, a first difference vector by executing the plurality of test cases on a baseline system, which is different from the SUT, and monitoring performance parameters of the baseline system before and after executing the plurality of test cases, wherein the first difference vector comprises a plurality of performance records corresponding respectively to the test cases, wherein each performance record comprises differences in the performance parameters of the baseline system from before and after the execution of a corresponding test case, the performance parameters comprising an execution duration of each of the plurality of test cases;
recording, by the testing system, a second difference vector by executing the plurality of test cases on the SUT and monitoring performance parameters of the SUT before and after executing the plurality of test cases, wherein the second difference vector also comprises a plurality of performance records corresponding respectively to the test cases, wherein each performance record comprises differences in the performance parameters of the SUT from before and after the execution of a corresponding test case;
identifying, by the testing system, an outlier performance record from the second difference vector by comparing the first difference vector and the second difference vector; and
determining, by the testing system, a root cause of the soft failure of the SUT by analyzing a test case corresponding to the outlier performance record.

### 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), and wherein analyzing the test case comprises using inverse CTD.

### Claim 5 (depends on 1)

The method of claim 1, further comprising creating, by the testing system, a minimal set of tests from the plurality of tests by selecting tests that exceed a predetermined performance threshold, 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
selecting a first test from the plurality of tests in the minimal set of tests based on the performance parameter exceeding the predetermined performance threshold.

### 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 the outlier performance record is identified using a set of predetermined thresholds, wherein each predetermined threshold is associated with a performance parameter that is recorded in the performance records.

### 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 test cases for testing a system under test (SUT) that is being executed in an active environment, the plurality of test cases generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
recording a first difference vector by executing the plurality of test cases on a baseline system and monitoring performance parameters of the baseline system before and after executing the plurality of test cases, wherein the first difference vector comprises a plurality of performance records corresponding respectively to the test cases, wherein each performance record comprises differences in the performance parameters of the baseline system from before and after the execution of a corresponding test case, the performance parameters comprising an execution duration of each of the plurality of test cases;
recording a second difference vector by executing the plurality of test cases on the SUT and monitoring performance parameters of the SUT before and after executing the plurality of test cases, wherein the second difference vector also comprises a plurality of performance records corresponding respectively to the test cases, wherein each performance record comprises differences in the performance parameters of the SUT from before and after the execution of a corresponding test case;
identifying an outlier performance record from the second difference vector by comparing the first difference vector and the second difference vector; and
determining a root cause of a soft failure of the SUT by analyzing a test case corresponding to the outlier performance record.

### 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), and wherein analyzing the test case comprises using inverse CTD.

### Claim 12 (depends on 8)

The system of claim 8, wherein the method further comprises creating a minimal set of tests from the plurality of tests by selecting tests that exceed a predetermined performance threshold, 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
selecting a first test from the plurality of tests in the minimal set of tests based on the performance parameter exceeding the predetermined performance threshold.

### Claim 13 (depends on 12)

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

### Claim 14 (depends on 8)

The system of claim 8, wherein the outlier performance record is identified using a set of predetermined thresholds, wherein each predetermined threshold is associated with a performance parameter that is recorded in the performance records.

### 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 a method for testing a system under test (SUT) in an active environment, the method comprising:
generating a plurality of test cases for testing the SUT, the plurality of test cases generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
recording a first difference vector by executing the plurality of test cases on a baseline system and monitoring performance parameters of the baseline system before and after executing the plurality of test cases, wherein the first difference vector comprises a plurality of performance records corresponding respectively to the test cases, wherein each performance record comprises differences in the performance parameters of the baseline system from before and after the execution of a corresponding test case, the performance parameters comprising an execution duration of each of the plurality of test cases;
recording a second difference vector by executing the plurality of test cases on the SUT and monitoring performance parameters of the SUT before and after executing the plurality of test cases, wherein the second difference vector also comprises a plurality of performance records corresponding respectively to the test cases, wherein each performance record comprises differences in the performance parameters of the SUT from before and after the execution of a corresponding test case;
identifying an outlier performance record from the second difference vector by comparing the first difference vector and the second difference vector; and
determining a root cause of a soft failure of the SUT by analyzing a test case corresponding to the outlier performance record.

### 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), and wherein analyzing the test case comprises using inverse CTD.

### Claim 18 (depends on 15)

The computer program product of claim 15, creating, by the testing system, a minimal set of tests from the plurality of tests by selecting tests that exceed a predetermined performance threshold, 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
selecting a first test from the plurality of tests in the minimal set of tests based on the performance parameter exceeding the predetermined performance threshold.

### 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 the outlier performance record is identified using a set of predetermined thresholds, wherein each predetermined threshold is associated with a performance parameter that is recorded in the performance records.
