Backend Load Testing via Client Action Correlation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Accurate load testing of backend applications that receive significant network traffic from social networking services (SNSs) is challenging due to encrypted communication and opaque protocols between client applications and SNS servers, making it difficult to simulate real-world user interactions.
Innovation Solution
The system captures actions performed at the client device using image-based action recognition and correlates them with events received by the backend application via a reverse proxy server, generating load testing data that can be used to simulate actual user sessions, allowing for accurate load testing of backend applications.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional load testing methods are used, then load testing can be performed, but the accuracy of simulating real-world user interactions is poor due to encrypted communication and opaque protocols
Solution Approach 1:
The patent introduces a reverse proxy server as an intermediary component between the client application and the backend application. This proxy server captures events from the backend application and correlates them with actions captured from the client application interface, enabling accurate load testing without requiring decryption of encrypted communications or access to opaque protocols. The intermediary facilitates the correlation process while maintaining system security and integrity.
Solution Approach 2:
The patent segments the load testing process into distinct components: action capture from the client interface, event capture from the backend application via reverse proxy, and correlation of these captured elements. This segmentation allows each component to be independently implemented and optimized, reducing overall system complexity while improving measurement precision through focused data collection at each stage.
2Measurement precision
If access to client application source code or network traffic decryption is required, then accurate load testing could be achieved, but the ease of operation and implementation becomes difficult
Solution Approach 1:
The reverse proxy server acts as a mediator that enables accurate load testing without requiring access to client application source code or decryption of network traffic. It captures events at the backend application level and correlates them with user actions through the user interface, providing an alternative pathway to achieve measurement precision while maintaining ease of operation.
Solution Approach 2:
The system creates copies of user interactions by capturing actions from the client interface and corresponding events from the backend application. These captured elements are stored and can be replayed for load testing purposes, eliminating the need for direct access to source code or encrypted network traffic while maintaining testing accuracy.
3Measurement precision
If comprehensive action and event data is captured and correlated, then load testing accuracy improves, but the amount of data to be processed and stored increases
Solution Approach 1:
The patent segments the captured data into distinct categories: actions from the client interface and events from the backend application. This segmentation allows for organized storage and processing, enabling the system to handle comprehensive data sets without being overwhelmed by the total volume. Each segment can be processed independently, improving efficiency while maintaining overall accuracy.
Solution Approach 2:
The reverse proxy server serves as an intermediary that manages the flow and correlation of captured data. It coordinates between action capture and event capture processes, ensuring that only relevant and correlated data pairs are stored and processed. This mediation reduces redundant data storage while preserving the comprehensive information needed for accurate load testing.
Data Source
AI summary
Actions performed at a client application for a service during a session between the client application and the service. The client application runs on the client device and a service server hosts the service. Events received by a backend application running on a backend server from the service server during the session are also captured. The actions performed at the client application are correlated with the events received by the backend application from the service server. Backend application load testing data is generated. The backend application load testing data includes, for each action performed at the client application, the event received by the backend application from the service server that corresponds to the action.


