Unlock instant, AI-driven research and patent intelligence for your innovation.

Performance test method and device, and computer-readable storage medium

A testing method and performance technology, applied in the field of computer-readable storage medium, performance testing method and device thereof, can solve the problems of lowering of testing quality and efficiency, inability to evaluate client performance, lowering user experience, etc., so as to improve the testing quality and efficiency. The effect of efficiency

Pending Publication Date: 2022-01-28
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Embodiments of the present invention provide a performance testing method and its device, and a computer-readable storage medium, to at least solve the problem of performance testing only based on the server in the related art, and the performance of the client cannot be evaluated, resulting in a decrease in test quality and efficiency. Technical issues that degrade user experience

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
  • Performance test method and device, and computer-readable storage medium
  • Performance test method and device, and computer-readable storage medium
  • Performance test method and device, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

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

[0054] figure 2 is a flow chart of an optional performance testing method according to an embodiment of the present invention, such as figure 2 As shown, the method includes the following steps:

[0055] Step S201, acquiring a link instruction, wherein the link instruction includes at least: server IP information.

[0056] Step S202, based on the IP information of the server, create a communication link path with the server.

[0057] Step S203, receiving the test script message through the communication link...

Embodiment 2

[0104] image 3 is a flowchart of another optional performance testing method according to an embodiment of the present invention, such as image 3 As shown, the method includes the following steps:

[0105] Step S301, push the link instruction to the message queue, wherein the link instruction at least includes: server IP information, and the server IP information is used to establish a communication link path between the client and the server.

[0106] Step S302, using the established communication link path, sending a test script message to the client, and collecting resource consumption information of the client during the execution of the test script, wherein the test script carried in the test script message includes: at least one The test steps include at least one of the following behavior types of the test behavior included in each test step: user operation behavior and application program invocation behavior.

[0107] Step S303, receiving a test result message retu...

Embodiment 3

[0130] Such as figure 1 As shown, an optional performance testing system in the embodiment of the present invention includes: a server end, multiple clients, and an information storage unit, wherein the server end includes: a main control drive unit, and the client end includes: an agent execution unit, The program call unit and the information collection unit are as follows:

[0131] On the server side, it mainly includes the main control drive unit, among which the main control drive unit also includes: script management module, master control scheduling module, terminal-computer communication module 1, and result summary module. The specific functions of each module are as follows:

[0132] (1) script management module is responsible for parsing the test script that research and development personnel writes, and saves in the information storage unit, in the embodiment of the present invention, the test script of definition includes: test behavior and test data:

[0133] 1)...

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 performance test method and device, and a computer-readable storage medium, and relates to the field of financial science and technology. The test method comprises the following steps: obtaining a link instruction; creating a communication link path with a server based on IP information of the server; receiving a test script message through the communication link path, and analyzing and processing the test script message to obtain a test script, wherein the test script comprises at least one test step, and behavior types of the test behaviors contained in each test step comprises at least one of the following behaviors: an operation behavior of a user, and a calling behavior of an application program; sequentially executing test steps to obtain a test result message; sending the test result message to the server. According to the invention, the technical problems that the test quality and efficiency are reduced and the user experience is reduced due to the fact that the performance of a client end cannot be evaluated when the performance test is performed only based on a server in the related technology in the prior art are solved.

Description

technical field [0001] The present invention relates to the technical field of performance testing, in particular to a performance testing method and device thereof, and a computer-readable storage medium. Background technique [0002] Software performance is an important indicator of software quality evaluation, therefore, in software development engineering, performance testing plays an important role in software quality assurance. In the related art, performance test implementation is often based on a GS model, that is, a "stress generator (Generator)-test server (Server)" model. Under this model, the pressure generator uses pre-configured data according to predefined behaviors to evaluate the performance of the server of the project under test under multiple concurrent and high-frequency requests by generating pressure on the server deployed with the project under test. performance quality. In the GS model, the pressure generator uses multiple concurrent SOCKET short c...

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
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3692
Inventor 陈肇权马泽政
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA