Event Extractor for Mobile App Network Traffic Simulation
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
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
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.
3Productivity
If existing testing methods are used, then testing can be performed, but real-world network traffic scenarios are not accurately simulated
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.
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.
Data Source
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.


