IP Library Granted Patent US 9,026,853
Granted Patent B2
US 9,026,853 · App. 13/563,635 · Granted May 5, 2015

Enhancing test scripts

Inventors: Meidan Zemer (Hod-Hasharon, IL); Salman Yaniv Sayers (Petach-Tikva, IL); Gil Perel (Herzeliya, IL); Yair Horovitz (Mazkeret Batya, IL)
Assignee: Hewlett-Packard Development Company, L.P.
G06F11/3684
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 9,026,853
App. No.
13/563,635
Filed
Jul 31, 2012
Granted
May 5, 2015
Kind
B2
Examiner
RIAD, AMINE
Art Unit
2113
USPC
714/28
Abstract

Example embodiments disclosed herein relate to enhancing test scripts with dynamic data. The disclosed embodiments include receiving production data that reflects real user interaction with an application process. Test scripts are generated based on the production data, where the test scripts simulate behavior relating to execution of the application process. The embodiments also include automatically enhancing the test scripts with dynamic data that includes at least one of correlation data and asynchronous data.

Claims (39)

1. A method comprising:

receiving production data reflecting real user interaction with an application process;

generating, using a hardware processor, test scripts based on the production data, wherein the test scripts simulate behavior relating to execution of the application process;

subsequent to generating the test scripts:

identifying asynchronous data using predefined patterns; and

automatically enhancing the test scripts with dynamic data comprising at least the asynchronous data.

2. The method of claim 1 , wherein identifying asynchronous data comprises classification of a time and content of network traffic.

3. The method of claim 1 , wherein the dynamic data further comprises correlation data, wherein the correlation data identifies communication between at least one client computer and a server computer, and wherein the asynchronous data includes asynchronous data of a plurality of execution instances of the application process.

4. The method of claim 1 , comprising generating a plurality of execution instances of the application process based on the production data.

5. The method of claim 1 , comprising automatically enhancing the test scripts using at least one of pattern matching algorithms, pre-defined correlation rules, pre-defined asynchronous rules, and replacement and adaptation rules for injecting the enhanced test scripts into a testing environment.

6. The method of claim 1 , wherein behavior of the application process includes at least one of user behavior, network load, performance statistics and metrics, think time, and traffic behavior.

7. A non-transitory computer readable medium comprising instructions that, when executed by a processor, cause the processor to:

receive production data reflecting real user interaction with an application process;

generate test scripts based on the production data, wherein the test scripts simulate behavior relating to execution of the application process;

subsequent to generating the test scripts:

identify asynchronous data using predefined patterns; and

automatically enhance the test scripts with dynamic data comprising at least the asynchronous data.

8. The method of claim 1 , further comprising running an asynchronous pattern matching algorithm to recreate asynchronous calls.

9. The method of claim 8 , wherein running the asynchronous pattern matching algorithm comprises recognizing poll and push patterns, and replacing different separate requests with application programming interface (API) calls.

10. The non-transitory computer readable medium of claim 7 , wherein the dynamic data further comprises correlation data, wherein the correlation data identifies communication between at least one client computer and a server computer, and wherein the asynchronous data includes asynchronous data generated by the server computer and provided to the at least one client computer.

11. The non-transitory computer readable medium of claim 7 , wherein the real user interaction includes a plurality of combination of sequences of execution paths of the application process.

12. The method of claim 3 , wherein the correlation data includes a session identifier for a particular session between the at least one client computer and the server computer.

13. The method of claim 3 , wherein the correlation data includes authentication data for the at least one client computer.

14. The method of claim 3 , further comprising identifying the correlation data using a response-based correlation technique.

15. The non-transitory computer readable medium of claim 7 , wherein the behavior of the application process includes at least one of user behavior, network load, performance statistics and metrics, think time, and traffic behavior.

16. A system comprising:

at least one hardware processor;

a production data extraction engine to extract production data reflecting real user interaction with an application process;

a test script generation engine executable by the at least one hardware processor to generate test scripts based on the production data, wherein the test scripts simulate behavior relating to execution of the application process;

a test script enhancement engine to:

identify asynchronous data using predefined patterns; and

automatically enhance the generated test scripts with dynamic data, wherein the dynamic data includes at least the asynchronous data.

17. The system of claim 16 , the test script enhancement engine to automatically:

enhance the generated test scripts with at least one of pattern matching algorithms, pre-defined correlation rules, pre-defined asynchronous rules, and testing environment replacement and adaptation rules;

insert the enhanced test scripts into a testing environment comprising at least one of functional testing environment, application programming interface (API) testing environment, and load testing environment; and

adapt the enhanced test script to the testing environment.

18. The system of claim 16 , wherein the real user interaction comprises multiple paths taken during execution of the application process and combinations of the multiple paths.

19. The method of claim 3 , further comprising identifying the correlation data using a replay-and-scan technique.

20. The method of claim 19 , wherein using the replay-and-scan technique includes comparing recorded data to replayed data until a failure point is identified.

Assignments (8)
RELEASE OF SECURITY INTEREST REEL/FRAME 044183/0577 Recorded Feb 2, 2023
From: JPMORGAN CHASE BANK, N.A.
To: MICRO FOCUS LLC (F/K/A ENTIT SOFTWARE LLC)
Reel/Frame 063560/0001 →
RELEASE OF SECURITY INTEREST REEL/FRAME 044183/0718 Recorded Feb 2, 2023
From: JPMORGAN CHASE BANK, N.A.
To: MICRO FOCUS LLC (F/K/A ENTIT SOFTWARE LLC); BORLAND SOFTWARE CORPORATION; MICRO FOCUS (US), INC.; SERENA SOFTWARE, INC; ATTACHMATE CORPORATION; MICRO FOCUS SOFTWARE INC. (F/K/A NOVELL, INC.); NETIQ CORPORATION
Reel/Frame 062746/0399 →
CHANGE OF NAME Recorded Aug 8, 2019
From: ENTIT SOFTWARE LLC
To: MICRO FOCUS LLC
Reel/Frame 050004/0001 →
SECURITY INTEREST Recorded Oct 11, 2017
From: ATTACHMATE CORPORATION; BORLAND SOFTWARE CORPORATION; NETIQ CORPORATION; MICRO FOCUS (US), INC.; MICRO FOCUS SOFTWARE, INC.; ENTIT SOFTWARE LLC; ARCSIGHT, LLC; SERENA SOFTWARE, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 044183/0718 →
SECURITY INTEREST Recorded Oct 11, 2017
From: ENTIT SOFTWARE LLC; ARCSIGHT, LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 044183/0577 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 9, 2017
From: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
To: ENTIT SOFTWARE LLC
Reel/Frame 042746/0130 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 9, 2015
From: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 037079/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 21, 2012
From: ZEMER, MEIDAN; SAYERS, SALMAN YANIV; PEREL, GIL; HOROVITZ, YAIR
To: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
Reel/Frame 029515/0645 →
Continuity (1)
Related Publication 20140040667A1 · Feb 6, 2014