Event Extractor for Mobile App Network Traffic Simulation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for testing mobile applications require privileged access to smartphones, which is costly or violates user agreements, and do not accurately simulate real-world network traffic scenarios.

Innovation Solution

A system that captures and analyzes network traffic between a mobile device and a server to generate a test script without needing root access, using a traffic recorder, event extractor, and script generator to create API commands and simulate network events, allowing for load testing without jailbreaking the device.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If privileged access (root access or jailbreaking) is obtained to test mobile applications, then comprehensive testing capability is improved, but device security is compromised and user agreements are violated

Engineering Contradiction:
Improvetesting capabilityVSAvoiddevice security
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The patent introduces a server as an intermediary to capture network traffic from the mobile device. Instead of requiring root access on the device itself, the system uses a server to intercept and record network packets, thereby obtaining testing data without compromising device security or violating user agreements.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system creates a copy of network traffic data by capturing packets at the network level and storing them on the server. This copied data can then be analyzed to simulate real-world network scenarios without needing to modify the mobile device's operating system or access its privileged components.

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If privileged access is obtained to test mobile applications, then comprehensive testing capability is improved, but compliance with user agreements is compromised

Engineering Contradiction:
Improvetesting capabilityVSAvoidcompliance with user agreements
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The server acts as a mediator that captures network traffic without requiring modification of the mobile device's operating system. This approach maintains the device's original state and compliance status while still enabling comprehensive network-level testing through legitimate network packet capture.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If existing testing methods are used, then testing can be performed, but real-world network traffic scenarios are not accurately simulated

Engineering Contradiction:
Improvetesting efficiencyVSAvoidrealism of network traffic simulation
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system automatically captures real network traffic from the mobile device's actual usage and generates test scenarios based on this real data. This self-service approach ensures that the testing accurately reflects real-world conditions without requiring manual intervention to create realistic scenarios.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system uses feedback from actual network traffic patterns captured during normal device operation to generate and refine test scenarios. By continuously analyzing real network behavior and using this feedback to create test cases, the system achieves high measurement precision in simulating real-world conditions.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS8874736B2Event extractor
Publication Date: 2014.10.28 MICRO FOCUS LLC
  • US8874736B2 patent drawing
  • US8874736B2 patent drawing
  • US8874736B2 patent drawing

AI summary

A system can comprise a memory to store machine readable instructions. The system can also comprise a processing unit to execute the machine readable instructions. The machine readable instructions can comprise an event extractor to parse a packet capture (pcap) file that includes a packet transmitted via a network between an application under test (AUT) executing on a mobile device and a server to determine a network event based on the packet. The event extractor can also generate an application programming interface (API) command file that includes an API command generated based on the network event.