IP Library › Granted Patent US 11,494,292
Granted Patent B2
US 11,494,292 · App. 17/187,200 · Granted Nov 8, 2022

Log-based automation testing

Inventor: Michael Waldron (Denver, CO)
Assignee: T-MOBILE USA, INC.
G06F11/3684G06F11/3438G06F11/3688G06F11/3692
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,494,292
App. No.
17/187,200
Granted
Nov 8, 2022
Kind
B2
Abstract

A testing engine and/or other machine learning and artificial intelligence evaluates one or more user activity logs associated with one or more users and/or one or more software applications or apps. The testing engine generates one or more testing scripts based on one or more sequences of activities in the one or more user activity logs. Such testing scripts may then be used to perform one or more tests, such as using a testing automation framework and/or engine. In various examples, evaluating the one or more user activity logs and/or generating one or more testing scripts may involve categorizing one or more users, activities, and/or user activity logs; consolidating one or more users, activities, and/or user activity logs; modifying one or more user activity logs; and so on.

Claims (47)

1. A method for log-based automation testing, comprising:

receiving, using at least one processing unit, at least one user activity log associated with at least one user;

determining a category for the at least one user, using the at least one processing unit;

selecting a set of user activity logs to consolidate with the at least one user activity log by comparing an action in the set of user activity logs to an activity threshold;

consolidating the set of user activity logs with the at least one user activity log into consolidated user activity logs; and

generating, using the at least one processing unit, a testing script for the category using at least the consolidated user activity logs.

2. The method of claim 1 , wherein the category for the at least one user is determined by evaluating the at least one user.

3. The method of claim 1 , wherein the category for the at least one user is determined by analyzing activity in the at least one user activity log.

4. The method of claim 3 , wherein analyzing the activity comprises determining that the activity is statistically similar to category activity for the category.

5. The method of claim 1 , further comprising:

determining that multiple users associated with multiple user activity logs are associated with the category; and

consolidating the multiple user activity logs into the at least one user activity log.

6. The method of claim 1 , further comprising generating categories by analyzing multiple user activity logs.

7. The method of claim 1 , wherein determining the category for the at least one user comprises:

retrieving a set of categories; and

comparing the at least one user to the set of categories.

8. A method for log-based automation testing, comprising:

receiving, using at least one processing unit, user activity logs generated by an application based on interaction with users;

selecting a set of the user activity logs to consolidate by comparing an action in a user activity log to an activity threshold;

consolidating the set of the user activity logs into a consolidated user activity log using the at least one processing unit; and

generating, using the at least one processing unit, a testing script based at least on the consolidated user activity log.

9. The method of claim 8 , wherein selecting the set of the user activity logs to consolidate comprises determining that each of the set of the user activity logs is statistically similar.

10. The method of claim 8 , wherein selecting the set of the user activity logs to consolidate comprises determining the user activity logs in the set of the user activity logs are all associated with a category.

11. The method of claim 8 , wherein selecting the set of the user activity logs to consolidate comprises evaluating sequences of actions respectively associated with the set of the user activity logs.

12. The method of claim 8 , wherein the user activity logs are associated with a content delivery software application.

13. The method of claim 8 , wherein consolidating the set of the user activity logs into the consolidated user activity log comprises removing an action.

14. The method of claim 8 , wherein consolidating the set of the user activity logs into the consolidated user activity log comprises adding an action.

15. A method for log-based automation testing, comprising:

receiving, using at least one processing unit, user activity logs generated by an application based on interaction with users associated with a past event;

generating, using the at least one processing unit, a testing script based at least on the user activity logs;

generating a stress testing script by modifying the testing script using the at least one processing unit; and

using the stress testing script to stress test a system for a future event wherein modifying the testing script comprises:

determining a category of users associated with a number of the user activity logs;

selecting a different number; and

modifying the testing script by changing an activity level corresponding to the different number.

16. The method of claim 15 , wherein modifying the testing script comprises adding duplicate activity from one of the user activity logs to the stress testing script.

17. The method of claim 15 , wherein changing the activity level comprises adding an activity to the stress testing script.

18. The method of claim 15 , wherein changing the activity level comprises removing an activity from the stress testing script.

19. A method for log-based automation testing, comprising:

receiving, using at least one processing unit, user activity logs generated by an application based on interaction with users associated with a past event;

generating, using the at least one processing unit, a testing script based at least on the user activity logs;

generating a stress testing script by modifying the testing script using the at least one processing unit; and

using the stress testing script to stress test a system for a future event wherein modifying the testing script comprises:

determining a category of activity associated with a number of the user activity logs;

selecting a different number; and

modifying the testing script by changing an amount of an activity corresponding to the different number.

20. The method of claim 19 , wherein modifying the testing script comprises adding duplicate activity from one of the user activity logs to the stress testing script.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 1, 2021
From: WALDRON, MICHAEL
To: T-MOBILE USA, INC.
Reel/Frame 055444/0487 →
Continuity (1)
Related Publication 20220276952A1 · Sep 1, 2022
Cited By (1)
US 12,271,292