Hybrid test scripts for transitioning between traffic events and user interface events

US11675689B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11675689-B2
Application numberUS-202117204798-A
CountryUS
Kind codeB2
Filing dateMar 17, 2021
Priority dateMar 17, 2021
Publication dateJun 13, 2023
Grant dateJun 13, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

According to examples, an apparatus may include a processor and a memory on which are stored machine-readable instructions that when executed by the processor, may cause the processor to track traffic events and user interface (UI) events in parallel and record a first event of a hybrid test script. The first event may be recorded in a traffic mode to record one or more of the traffic events. The processor may transition from the traffic mode to a UI mode and, responsive to the transition from the traffic mode to the UI mode, may share session data between the traffic events and the UI events. Based on the session data, the processor may record a second event of the hybrid test script in the UI mode.

First claim

Opening claim text (preview).

What is claimed is: 1. An apparatus comprising: a processor; and a memory on which are stored machine-readable instructions that when executed by the processor, cause the processor to: track traffic events and user interface (UI) events in parallel; record a first event of a hybrid test script, the first event being recorded in a traffic mode to record one or more of the traffic events; transition from the traffic mode to a UI mode; responsive to the transition from the traffic mode to the UI mode, share session data between the traffic events and the UI events; and based on the session data, record a second event of the hybrid test script in the UI mode. 2. The apparatus of claim 1 , wherein the instructions cause the processor to: store the session data in a session container in a shared network layer, the shared network layer being accessible from the traffic mode and the UI mode. 3. The apparatus of claim 2 , wherein the session data includes a user identifier, the user identifier being associated with a user for the UI events and the traffic events. 4. The apparatus of claim 2 , wherein the instructions cause the processor to: store the session data on a proxy server, the proxy server to associate the session data with a user identifier. 5. The apparatus of claim 1 , wherein the instructions cause the processor to: display, in the UI mode, the second event of the hybrid test script including at least one of a user login interface or a human-input verification interface; store, in the UI mode, the session data including data received through the user login interface or the human-input verification interface; and execute, in the traffic mode, at least one of the traffic events using the session data stored in the UI mode. 6. The apparatus of claim 1 , wherein the instructions cause the processor to: synchronize the traffic events and the UI events which are executing in parallel. 7. The apparatus of claim 1 , wherein the instructions cause the processor to: determine points during execution of the first event in the traffic mode or the second event in the UI mode to transition between the traffic mode and the UI mode; and determine a transition routing path between the traffic mode and the UI mode for the hybrid test script based on the points to transition between the traffic mode and the UI mode. 8. The apparatus of claim 7 , wherein the instructions cause the processor to: determine a first point among the points to transition from the traffic mode to the UI mode, the first point corresponding to an event that is not executable in the traffic mode; and determine a second point among the points to transition from the UI mode to the traffic mode, the second point corresponding to an end of a predetermined set of the UI events to resume the traffic mode. 9. The apparatus of claim 8 , wherein the event for the first point in the traffic mode is a requirement for a user login event or a human-input verification event, and the second point is associated with an end of the user login event or the human-input verification event in a browser interface. 10. A method comprising: tracking, by a processor, traffic events and user interface (UI) events in parallel; recording, by the processor, a first event of a hybrid test script, the first event being recorded in a traffic mode to record one or more of the traffic events; transitioning, by the processor, from the traffic mode to a UI mode; responsive to the transition from the traffic mode to the UI mode, sharing, by the processor, session data between the traffic events and the UI events; based on the session data, recording, by the processor, a second event of the hybrid test script in the UI mode; and generating, by the processor, the hybrid test script comprising a traffic-based test script for the first event and a UI-based test script for the second event. 11. The method of claim 10 , further comprising: storing the session data in a session container in a shared network layer, the shared network layer being accessible from the traffic mode and the UI mode. 12. The method of claim 11 , wherein the session data includes a user identifier, the user identifier being associated with a user for the UI events and the traffic events. 13. The method of claim 11 , further comprising: storing the session data on a proxy server, the proxy server to associate the session data with a user identifier. 14. The method of claim 10 , further comprising: displaying, in the UI mode, the second event of the hybrid test script including at least one of a user login interface or a human-input verification interface; storing, in the UI mode, the session data including data received through the user login interface or the human-input verification interface; and executing, in the traffic mode, at least one of the traffic events using the session data stored in the UI mode. 15. The method of claim 10 , further comprising: synchronizing the traffic events and the UI events which are executing in parallel. 16. The method of claim 10 , further comprising: determining points during execution of the first event in the traffic mode or the second event in the UI mode to transition between the traffic mode and the UI mode; and determining a transition routing path between the traffic mode and the UI mode for the hybrid test script based on the point to transition between the traffic mode and the UI mode. 17. The method of claim 16 , further comprising: determining a first point among the points to transition from the traffic mode to the UI mode, the first point corresponding to an event that is not executable in the traffic mode; and determining a second point among the points to transition from the UI mode to the traffic mode, the second point corresponding to an end of a predetermined set of the UI events to resume the traffic mode. 18. The method of claim 17 , wherein the event for the first point in the traffic mode is a requirement for a user login event or a human-input verification event, and the second point is associated with an end of the user login event or the human-input verification event in a browser interface. 19. A non-transitory computer-readable medium on which is stored machine-readable instructions that, when executed by a processor, cause the processor to: replay a hybrid test script, wherein to replay the hybrid test script, the processor is to: execute traffic events in a traffic mode; determine a transition point in the traffic events to transition to UI events in a UI mode; transition from the traffic mode to the UI mode; access session data in the UI mode, the session data including session information from the traffic mode; and execute UI events in the UI mode using the session data. 20. The non-transitory computer-readable medium of claim 19 , further comprising: display, in the UI mode, the UI events including at least one of a user login interface or a human-input verification interface; store, in the UI mode, the session data including data received through the user login interface or the human-input verification interface; and execute, in the traffic mode, at least one of the traffic events using the session data stored in the UI mode.

Assignees

Inventors

Classifications

  • H04L67/561Primary

    Adding application-functional data or data for application control, e.g. adding metadata · CPC title

  • User authentication · CPC title

  • for test results analysis · CPC title

  • for test execution, e.g. scheduling of test suites · CPC title

  • Workload generation, e.g. scripts, playback · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11675689B2 cover?
According to examples, an apparatus may include a processor and a memory on which are stored machine-readable instructions that when executed by the processor, may cause the processor to track traffic events and user interface (UI) events in parallel and record a first event of a hybrid test script. The first event may be recorded in a traffic mode to record one or more of the traffic events. T…
Who is the assignee on this patent?
Micro Focus Llc
What technology area does this patent fall under?
Primary CPC classification H04L67/561. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jun 13 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).