# US 2012/0253745 A1 · System and method for testing performance of mobile application server

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0253745 A1
- Document ID: US20120253745A1
- Status: Published application
- Kind: A1
- Application number: 13/073,429
- Filed: 2011-03-28
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: Infosys Technologies Limited
- Inventors: Karthikeyan Balaji Dhanapal; Puneet Gupta
- Web page: https://patentgrep.com/patent/US20120253745A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3414: {Workload generation, e.g. scripts, playback}
- G06F 11/3419: {by assessing time}
- G06F 11/3692: {for test results analysis}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for testing performance of a mobile application server is provided. The methodology of the invention describes steps to initiate one or more instances of a mobile application using one or more test cases. The one or more instances of the mobile application are initiated in a plurality of emulations of an operating environment. The methodology further describes steps to buffer plurality of requests generated by the one or more instances of the mobile application. The methodology furthermore describes steps to invoke the plurality of buffered requests synchronously to a server based on a predefined policy. The methodology in addition describes step to measure response time taken by the server to process each of the invoked plurality of requests.

## Claims

### Claim 1

A computer implemented method for testing performance of a mobile application server, the method comprising:
initiating, using a computing device, one or more instances of a mobile application using one or more test cases;
buffering, using a computing device, plurality of requests generated by the one or more instances of the mobile application in response to the corresponding one or more test cases;
invoking, using a computing device, the plurality of buffered requests to a server synchronously based on a predefined policy; and
measuring, using a computing device, the response time taken by the server to process each of the invoked plurality of requests.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the computer implemented method for testing performance of a mobile application server, further comprises:
recording, using a computing device, one or more user inputs, wherein the one or more user inputs are recorded automatically while a user interacts with the mobile application; and
developing, using a computing device, one or more test cases based on the recorded one or more user inputs and pre-stored data.

### Claim 3 (depends on 2)

The computer implemented method of claim 2, wherein recording one or more user inputs further comprises converting the one or more recorded user inputs into one or more dynamic test scripts.

### Claim 4 (depends on 3)

The computer implemented method of claim 3, wherein developing one or more test cases further comprises processing the one or more dynamic test scripts using the pre-stored data to develop one or more corresponding test cases.

### Claim 5 (depends on 4)

The computer implemented method of claim 4, wherein the pre-stored data includes mobile application data, such as Uniform Resource Locator (URL) address of web pages, user transaction details, and so forth.

### Claim 6 (depends on 1)

The computer implemented method of claim 1, wherein initiating one or more instances of the mobile application further comprises:
deploying plurality of emulations of an operating system required to host the mobile application in one or more computing devices; and
invoking one or more instances of the mobile application in each of the deployed plurality of emulations of the operating system.

### Claim 7 (depends on 1)

The computer implemented method of claim 1, wherein the predefined policy required for invoking the plurality of buffered requests to a server comprises at least one of number of requests buffered, and predetermined time.

### Claim 8 (depends on 1)

The computer implemented method of claim 1, wherein measuring the response time taken by the server to process each of the invoked plurality of requests further comprises:
monitoring the request time at which each of the plurality of buffered requests is invoked synchronously to the server;
detecting the processing time at which the server responds after processing each of the plurality of invoked requests; and
deducing the response time based on the monitored request time and detected processing time.

### Claim 9 (depends on 1)

The computer implemented method of claim 1, wherein the method for testing performance of a mobile application server further comprises validating, using a computing device, one or more developed test cases by analyzing the user interface of each of the one or more instances of the mobile application and pre-stored information.

### Claim 10 (depends on 9)

The computer implemented method of claim 9, wherein the pre-stored information includes targeted screenshots of various responses of the mobile application.

### Claim 11

A computer implemented method for testing performance of a mobile application server, the method comprising:
recording, using a computing device, one or more user inputs, wherein the one or more user inputs are recorded automatically while a user interacts with a mobile application;
developing, using a computing device, one or more test cases based on the recorded one or more user inputs and pre-stored data;
initiating, using a computing device, one or more instances of the mobile application using one or more test cases;
buffering, using a computing device, plurality of requests generated by the one or more instances of the mobile application in response to the corresponding one or more test cases;
invoking, using a computing device, the plurality of buffered requests to a server synchronously based on a predefined policy; and
measuring, using a computing device, the response time taken by the server to process each of the invoked plurality of requests.

### Claim 12

A system for testing performance of a mobile application server, the system comprising:
a central controller, in communication with a processor, configured to initiate one or more instances of a mobile application using one or more test cases; and
a message synchronization module, in communication with a processor, configured to:
invoke plurality of buffered requests synchronously to the server based on a predefined policy; and
measure a request response time corresponding to each of the plurality of buffered requests processed at the server.

### Claim 13 (depends on 12)

The system of claim 12, wherein the system for testing performance of a mobile application server further comprises a recording assistant, in communication with a processor, configured to develop one or more test cases using one or more user inputs and pre-stored data.

### Claim 14 (depends on 13)

The system of claim 13, wherein the recording assistant is further configured to record one or more user inputs, wherein the one or more user inputs are recorded automatically while a user interacts with the mobile application.

### Claim 15 (depends on 12)

The system of claim 12, wherein the system for testing performance of a mobile application server further comprises a plurality of client agents, installed in one or more computing devices, configured to initiate one or more instances of the mobile application using the developed one or more test cases.

### Claim 16 (depends on 12)

The system of claim 12, wherein the message synchronization module is further configured to buffer requests generated by one or more instances of the mobile application in response to the corresponding one or more test cases.

### Claim 17 (depends on 16)

The system of claim 16, wherein the predefined policy used to invoke plurality of buffered requests synchronously to the server for processing comprises at least one of number of buffered requests and predetermined time.

### Claim 18 (depends on 15)

The system of claim 15, wherein the plurality of client agents are further configured to capture predefined variations at the user interface of respective instances of the mobile application.

### Claim 19 (depends on 17)

The system of claim 17, wherein the central controller is further configured to validate one or more developed test cases by analyzing the captured predefined variations of the user interface of each of the one or more instances of the mobile application and pre-stored information.

### Claim 20 (depends on 19)

The system of claim 19, wherein the pre-stored information includes targeted screenshots of various responses of the mobile application.

### Claim 21 (depends on 12)

The system of claim 12, wherein the system for testing performance of a mobile application server further comprises a data storage module, in communication with a processor, configured to store the pre-stored data and the pre-stored information.

### Claim 22

A computer program product comprising a computer usable medium having a computer-readable program code stored thereon, the computer-readable program code comprising instructions that, when executed by a computing device, cause the computing device to:
initiate one or more instances of a mobile application using the developed one or more test cases;
buffer plurality of requests generated by the one or more instances of the mobile application in response to the corresponding one or more test cases;
invoke the plurality of buffered requests to a server synchronously based on a predefined policy; and
measure the response time taken by the server to process each of the invoked plurality of requests.

### Claim 23 (depends on 22)

The computer program product of claim 22, wherein the computer-readable code further comprises instructions that, when executed by a computing device, causes the computing device to:
record one or more user inputs, wherein the one or more user inputs are recorded automatically while a user interacts with the mobile application; and
develop one or more test cases based on the recorded one or more user inputs and pre-stored data.

### Claim 24 (depends on 23)

The computer program product of claim 23, wherein the computer-readable code further comprises instructions that, when executed by a computing device, causes the computing device to convert the one or more recorded user inputs into one or more dynamic test scripts.

### Claim 25 (depends on 24)

The computer program product of claim 24, wherein the computer-readable code further comprises instructions that, when executed by a computing device, causes the computing device to process the one or more dynamic test scripts using the pre-stored data to develop one or more corresponding test cases.

### Claim 26 (depends on 22)

The computer program product of claim 22, wherein the computer-readable code further comprises instructions that, when executed by a computing device, causes the computing device to:
deploy plurality of emulations of the operating system required to host the mobile application in one or more computing devices; and
invoke one or more instances of the mobile application in each of the deployed plurality of emulations of the operating system.

### Claim 27 (depends on 22)

The computer program product of claim 22, wherein the computer-readable code further comprises instructions that, when executed by a computing device, causes the computing device to:
monitor the request time at which each of the plurality of buffered requests is invoked synchronously to the server;
detect the processing time at which the server responds after processing each of the plurality of invoked requests; and
deduce the response time based on the monitored request time and detected processing time.

### Claim 28 (depends on 22)

The computer program product of claim 22, wherein the computer-readable code further comprises instructions that, when executed by a computing device, causes the computing device to validate one or more developed test cases by analyzing the user interface of each of the one or more instances of the mobile application and pre-stored information.
