Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test method, device and system of application program

A technology of application programs and testing methods, which is applied in the computer field, can solve the problems of low resource utilization of test terminals, etc., and achieve the effect of solving low resource utilization and efficient utilization

Active Publication Date: 2015-10-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The embodiment of the present invention provides an application program testing method, device and system to at least solve the technical problem of low utilization rate of test terminal resources when the application program performs performance testing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test method, device and system of application program
  • Test method, device and system of application program
  • Test method, device and system of application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] According to an embodiment of the present invention, a method embodiment for implementing a testing method for an application program is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0025] figure 1 It is a flow chart of the application program testing method according to the embodiment of the present invention. Such as figure 1 As shown, the method may include the following steps:

[0026] Step S102: Obtain multiple test requests for testing the application program under test.

[0027] Step S104: Select an unexecuted test request from the multiple test requests as the current test request.

[0028] Step S106: calling the application programming interf...

Embodiment 2

[0117] According to an embodiment of the present invention, there is also provided a test device for implementing the application program of the above-mentioned method embodiment, the device can be realized by the test method involved in the embodiment, the following is from running the above-mentioned device on the test terminal The implementation process of this application is described in detail.

[0118] Figure 5 is a schematic diagram of a testing device for an application program according to an embodiment of the present invention.

[0119] Such as Figure 5 As shown, the device may include: a request acquisition module 10 and a loop execution module 30 , wherein the loop execution module may include: a determination module 31 , a processing module 33 and a return module 35 .

[0120] Wherein, the request obtaining module 10 is used for obtaining a plurality of test requests for testing the application program under test.

[0121] The loop execution module 30 is used...

Embodiment 3

[0148] In its most basic configuration, the Figure 6 is a schematic structural diagram of a test system for an application program according to an embodiment of the present invention. The architecture depicted is only one example of a suitable environment for descriptive purposes and is not intended to suggest any limitation as to the scope of use or functionality of the application. Nor should this computing system be construed as a reference to Figure 6 Any one or combination of components shown may have any dependencies or requirements.

[0149] Such as Figure 6 As shown, the test system may include: the test terminal 50 includes a processor 51 and one or more application programming interfaces API53, and the processor is connected to one or more APIs.

[0150] Wherein, the processor is used to obtain a plurality of test requests for testing the application program under test, and perform the following steps on the plurality of test requests until the execution of the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a test method, device and system of an application program. The test method comprises the following steps: obtaining a plurality of test requests for testing a tested application program; and executing the following steps for the plurality of test requests until the execution of a test instruction corresponding to each test request in the plurality of test requests is finished: selecting a test request which is not executed from the test requests to serve as a current test request, calling an API (Application Program Interface) corresponding to the test instruction in the current test request to execute the test instruction, and returning to execute a step that one test request which is not executed is selected from the test requests to serve as the current test request in a process that the API is called to execute the test instruction. The problem of low resource use ratio of a test terminal when the application program is subjected to a performance test in the prior art can be solved, and the effect that the CPU (Central Processing Unit) resources of the test are efficiently utilized is realized.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an application program testing method, device and system. Background technique [0002] The performance test of the application program in the prior art is mainly to test various performance indicators of the system by simulating various normal, peak and abnormal load conditions through automated test tools. Both load testing and stress testing are performance testing. The performance of the system under various workloads can be determined through load testing, and the goal is to request changes in various performance indicators of the system when the load gradually increases. During the stress test, the maximum service level that the system can provide is tested by determining the bottleneck or unacceptable performance point of a system. [0003] At present, relatively mature performance testing tools in the industry use synchronous blocking or synchronous non-blocki...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F9/46
Inventor 钟勇周大军王斌
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products