CN113138919B - Multi-client testing system and method - Google Patents

Multi-client testing system and method Download PDF

Info

Publication number
CN113138919B
CN113138919B CN202110419915.6A CN202110419915A CN113138919B CN 113138919 B CN113138919 B CN 113138919B CN 202110419915 A CN202110419915 A CN 202110419915A CN 113138919 B CN113138919 B CN 113138919B
Authority
CN
China
Prior art keywords
area
board card
equipment board
client
script
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110419915.6A
Other languages
Chinese (zh)
Other versions
CN113138919A (en
Inventor
罗维佳
罗剑芳
肖天梅
刘子凯
梁东城
薛健
许淑芬
丁卓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Zhangdong Intelligent Technology Co ltd
Original Assignee
Guangzhou Zhangdong Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Zhangdong Intelligent Technology Co ltd filed Critical Guangzhou Zhangdong Intelligent Technology Co ltd
Priority to CN202110419915.6A priority Critical patent/CN113138919B/en
Publication of CN113138919A publication Critical patent/CN113138919A/en
Application granted granted Critical
Publication of CN113138919B publication Critical patent/CN113138919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a multi-client test system and a method, which relate to cloud technology and test technology and comprise a cloud server and a client, wherein a display interface of the client is configured to comprise a first area and a second area, after the client requests the cloud server to distribute a first equipment board card and a second equipment board card, the client displays a video stream of the first equipment board card in the first area, displays a video stream of the second equipment board card in the second area, sends an operation instruction aiming at the first area to the first equipment board card and sends an operation instruction aiming at the second area to the second equipment board card; the client is used for operating a first end to be tested on the first equipment board card and operating a second end to be tested on the second equipment board card, and the first end to be tested and the second end to be tested are communicated with each other; the client is further used for executing script recording and script playback aiming at the first end to be tested and the second end to be tested. The application improves the testing efficiency of the multiple clients.

Description

Multi-client testing system and method
Technical Field
The application relates to a cloud technology and an automatic testing technology, in particular to a multi-client testing system and a multi-client testing method.
Background
In the prior art, software with multiple client interactions is involved, and a tester needs to use multiple test devices to perform testing during an automatic testing process. Therefore, difficulty is generated in management of the equipment and recording of the automatic test script, and when a tester records the script or the script returns, the tester needs to observe or operate a plurality of pieces of equipment, so that the operation is very inconvenient.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a multi-client test system and a multi-client test method, which are convenient for a user to test.
In a first aspect, an embodiment of the present application provides:
a multi-client testing system, comprising:
the cloud server comprises a management server and a plurality of equipment board cards, wherein the equipment board cards are used for receiving an operation instruction of a client, executing processing based on the operation instruction and transmitting a video stream to the client, and the management server is used for distributing the equipment board cards to the client;
the client displays the video stream of the first equipment board card in the first area, displays the video stream of the second equipment board card in the second area, sends an operation instruction aiming at the first area to the first equipment board card, and sends the operation instruction aiming at the second area to the second equipment board card after requesting the cloud server to distribute the first equipment board card and the second equipment board card;
the client is used for operating a first end to be tested on the first equipment board card and operating a second end to be tested on the second equipment board card, and the first end to be tested and the second end to be tested are communicated with each other; the client is further used for executing script recording and script playback aiming at the first end to be tested and the second end to be tested.
In some embodiments, the client is configured with a script recording mode, the client detects a position acted by an operation instruction in the script recording mode, when the position acted by the operation instruction is located in a first area, a picture currently displayed in the first area is subjected to screenshot to obtain a first screenshot, a first instruction used for identifying the first screenshot is generated on the first script, and a second instruction used for clicking the position acted by the operation instruction on the first screenshot is generated; and when the position acted by the operation instruction is located in a second area, performing screenshot on a picture currently displayed in the second area to obtain a second screenshot, generating a third instruction for identifying the second screenshot on a second script, and generating a fourth instruction for clicking the operation instruction corresponding to the second screenshot.
In some embodiments, the recording of the first script and the second script is performed in a device running the client.
In some embodiments, when the client executes script playback, the client sends the first script to the first device board, runs the first to-be-tested end and the first script in the first device board, sends the second script to the second device board, and runs the second to-be-tested end and the second script in the second device board.
In some embodiments, in the script recording mode, the client is further configured to detect a current recording area and send a fifth instruction indicating the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server reduces the frame rate of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server reduces the frame rate of the video stream of the first equipment board card and restores the frame rate of the video stream of the second equipment board card to an initial value;
or,
when the current recording area is a second area, the cloud server reduces the frame rate of the video stream of the first equipment board card; when the current recording area is switched from the second area to the first area, the cloud server reduces the frame rate of the video stream of the second equipment board card, and restores the frame rate of the video stream of the first equipment board card to an initial value.
In some embodiments, the client is further configured to detect a current recording area, and send a fifth instruction indicating the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server reduces the resolution of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server reduces the resolution of the video stream of the first equipment board card and restores the resolution of the video stream of the second equipment board card to an initial value;
or,
when the current recording area is a second area, the cloud server reduces the resolution of the video stream of the first equipment board card; when the current recording area is switched from the second area to the first area, the cloud server reduces the resolution of the video stream of the second equipment board card, and restores the resolution of the video stream of the first equipment board card to an initial value.
In some embodiments, the client is further configured to detect a current recording area, and send a fifth instruction indicating the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server improves the compression rate of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server improves the compression rate of the video stream of the first equipment board card and restores the compression rate of the video stream of the second equipment board card to an initial value;
or,
when the current recording area is a second area, the cloud server improves the compression rate of the video stream of the first equipment board card; when the current recording area is switched from the second area to the first area, the cloud server improves the compression rate of the video stream of the second equipment board card and restores the compression rate of the video stream of the first equipment board card to an initial value.
In some embodiments, the client determines the current recording area by:
detecting the position of a mouse, judging that the first area is the current recording area when the time that the position of the mouse is located in the first area exceeds a first preset time length, and judging that the second area is the current recording area when the time that the position of the mouse is located in the second area exceeds the first preset time length.
In some embodiments, the plurality of device boards includes a plurality of different types of device boards;
the management server distributes the first equipment board card and the second equipment board card to the client according to request information of the client, wherein the request information comprises board card model information.
In a second aspect, embodiments of the present application provide:
a multi-client testing method is realized by the system, and the method comprises the following steps:
the method comprises the steps that a client requests a cloud server to allocate a first equipment board card and a second equipment board card, a first end to be tested runs on the first equipment board card, a second end to be tested runs on the second equipment board card, and the first end to be tested and the second end to be tested are communicated;
the client side configured to the recording mode performs script recording aiming at a first end to be tested and a second end to be tested to obtain a first script aiming at the first end to be tested and a second script aiming at the second end to be tested;
the client deploys the first script on the first equipment board card to execute playback, and deploys the second script on the second equipment board card to execute the playback.
According to the embodiment of the application, the cloud server is configured, the cloud server comprises the management server and the multiple equipment board cards, the client can allocate the equipment board cards by requesting the cloud server, so that the test equipment can be flexibly obtained, the pictures of the two equipment board cards are displayed on the first area and the second area of the client interface, the control of the cloud equipment is realized through the operation instructions aiming at the first area and the second area, the test of multiple client sides can be realized in such a way, the script recording and playback are included, a tester is not required to pay attention to multiple discrete equipment (such as two mobile phones) and operate the multiple discrete equipment, and the test efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a block diagram of a multi-client testing system provided in an embodiment of the present application;
fig. 2 is a schematic interface diagram of a client provided in an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below through embodiments with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present invention, the meaning of a plurality is one or more, the meaning of a plurality is two or more, and the above, below, exceeding, etc. are understood as excluding the present numbers, and the above, below, within, etc. are understood as including the present numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly defined, terms such as set, etc. should be broadly construed, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the detailed contents of the technical solutions.
In the description of the present invention, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., means that a particular feature or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It should be understood that the present application relates to a cloud technology, which refers to a hosting technology for unifying series resources such as hardware, software, and network in a wide area network or a local area network to implement data calculation, storage, processing, and sharing. Specifically, the cloud technology is applied to the automatic testing technology so as to increase the testing efficiency.
Referring to fig. 1 and 2, a multi-client test system includes a cloud server and a client.
The cloud server comprises a management server and a plurality of equipment board cards, the equipment board cards are used for receiving operation instructions of the client, executing processing based on the operation instructions and transmitting video streams to the client, and the management server is used for distributing the equipment board cards to the client. Specifically, the management server undertakes the function of managing the device board card, the device board card is equivalent to the terminal device, but it can be understood that the input and display functions of the cloud technology are realized by the device of the user, so the device board card does not need to carry a display screen, does not need to carry an input device, and does not need to carry a display screen. The device board can be understood as a main board without a display screen and a keyboard or touch input. The video stream of the equipment board card is sent to a client operated by a user for display after being processed by compression and the like, and similarly, the user can input an operation instruction in the client to control the equipment board card. The video stream and the operation instruction can be processed by the management server, namely all the traffic of the equipment board passes through the management server, so that the traffic statistics, charging and the like are facilitated. Of course, it is understood that in some embodiments, the management server may also be used only for allocating the device board, and the video stream and the operation instruction are transmitted through a communication channel directly established by the device board and the client. It is understood that the communication channel includes a video stream transmission channel and an operation instruction transmission channel. In some embodiments, the device boards in the cloud server are of uniform type, and in another embodiment, the processing capabilities of the device boards are different, which may be differences in performance, for example, a part of the device boards have stronger processing capabilities and a part of the device boards have weaker processing capabilities. Or the loaded operating systems may be different, for example, part of the android system and part of the Windows system are loaded.
The client, referring to fig. 2, the client display interface 200 is configured to include a first area 201 and a second area 202, and after requesting allocation of a first device board card and a second device board card to a cloud server, the client displays a video stream of the first device board card in the first area 201, displays a video stream of the second device board card in the second area 202, sends an operation instruction for the first area 201 to the first device board card, and sends an operation instruction for the second area 202 to the second device board card.
It should be understood that the display size of the first area 201 corresponds to a first device board, and the display size of the second area 202 corresponds to a second device board. When the operation instruction input by the user is directed at the first area, the operation instruction is converted into a corresponding coordinate in the first equipment board card according to the position of the operation instruction corresponding to the first area, and the operation instruction directed at the first equipment board card is generated according to the converted coordinate. The same manner is also adopted for the operation instruction aiming at the second area, so that the operation of the user aiming at the client terminal picture can be ensured to be corresponding to the operation of the operation instruction acting on the equipment board card.
The client is used for operating a first end to be tested on the first equipment board card and operating a second end to be tested on the second equipment board card, and the first end to be tested and the second end to be tested are communicated with each other; the client is further used for matching with the cloud server to execute script recording and script playback aiming at the first end to be tested and the second end to be tested.
It should be understood that, by operating the first to-be-tested end (to-be-tested client) on the first device board card and operating the second to-be-tested end on the second device board card, the two to-be-tested ends communicate with each other through the network and realize functions such as message sending, game interaction and the like, a user can record a script and play back the script through the client. In some scenarios, the user may directly simulate the operation of the handset with the mouse, for example, by running the client with a PC. For example, when recording scripts, a user only needs to move a mouse between the first area and the second area, and then the user can flexibly operate the script recording of the two devices at the script recording stage. Not only can the interaction between the two terminals to be tested be observed, but also the input equipment does not need to be switched.
In some embodiments, the client is configured with a script recording mode, the client detects a position acted by an operation instruction in the script recording mode, when the position acted by the operation instruction is located in a first area, a picture currently displayed in the first area is subjected to screenshot to obtain a first screenshot, a first instruction used for identifying the first screenshot is generated on the first script, and a second instruction used for clicking the position acted by the operation instruction on the first screenshot is generated; and when the position acted by the operation instruction is located in a second area, performing screenshot on a picture currently displayed in the second area to obtain a second screenshot, generating a third instruction for identifying the second screenshot on a second script, and generating a fourth instruction for clicking the operation instruction corresponding to the second screenshot. It should be understood that a coordinate system is established with a certain vertex of the first screenshot as an origin, the coordinate system corresponds to the device board card, and the position where the operation instruction is clicked in the coordinate system is determined based on the coordinate system, so that the operation of the user can be reproduced during playback by recording in such a way.
In some embodiments, the recording of the first script and the second script is performed in a device running the client. It should be understood that, because the device boards are distributed to the client by the cloud technology, the device boards distributed by the user each time may be different, and the recording process is configured locally at the client, so that the client can store the script conveniently, and more device boards can be used for testing conveniently at the same time.
In some embodiments, when the client executes script playback, the client sends the first script to the first device board, runs the first to-be-tested end and the first script in the first device board, sends the second script to the second device board, and runs the second to-be-tested end and the second script in the second device board.
Through the embodiment, the recording and storage of the script are configured locally at the client, and the influence caused by different equipment board cards is avoided when the script playback test is executed.
In some embodiments, in the script recording mode, the client is further configured to detect a current recording area and send a fifth instruction indicating the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server reduces the frame rate of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server reduces the frame rate of the video stream of the first equipment board card and restores the frame rate of the video stream of the second equipment board card to an initial value;
or,
when the current recording area is a second area, the cloud server reduces the frame rate of the video stream of the first equipment board card; when the current recording area is switched from the second area to the first area, the cloud server reduces the frame rate of the video stream of the second equipment board card, and restores the frame rate of the video stream of the first equipment board card to an initial value.
Specifically, the video stream may be transmitted by discarding the picture frame of the first device board or the second device board at a set interval. It will be appreciated that discarding some picture frames may reduce the amount of operations on the video stream processing (compression/encoding, etc.). Since the frame rate is reduced to a non-recording area, the pause feeling caused by the frame rate reduction does not affect the recording operation of the user.
In some embodiments, the client is further configured to detect a current recording area, and send a fifth instruction indicating the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server reduces the resolution of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server reduces the resolution of the video stream of the first equipment board card and restores the resolution of the video stream of the second equipment board card to an initial value;
or,
when the current recording area is a second area, the cloud server reduces the resolution of the video stream of the first equipment board card; when the current recording area is switched from the second area to the first area, the cloud server reduces the resolution of the video stream of the second equipment board card, and restores the resolution of the video stream of the first equipment board card to an initial value.
In this embodiment, the resolution output by the device board card may be configured by the management server.
In some embodiments, the client is further configured to detect a current recording area, and send a fifth instruction indicating the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server improves the compression rate of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server improves the compression rate of the video stream of the first equipment board card and restores the compression rate of the video stream of the second equipment board card to an initial value;
or,
when the current recording area is a second area, the cloud server improves the compression rate of the video stream of the first equipment board card; when the current recording area is switched from the second area to the first area, the cloud server improves the compression rate of the video stream of the second equipment board card and restores the compression rate of the video stream of the first equipment board card to an initial value.
It should be understood that the transmission bandwidth can also be reduced by increasing the compression rate, and although the picture information is lost, the loss of the picture information does not affect the user to record the script for the non-recording area.
In the above embodiments, by reducing the resolution and frame rate of the non-recording area or increasing the related compression rate, the transmission bandwidth can be reduced at the expense of the picture quality or fluency, so that the transmission pressure of the cloud server can be reduced. It is understood that the amount of calculation in encoding/compressing a video stream can be reduced by lowering the frame rate, the resolution, and the like. Although such a processing manner may cause the picture of the non-recording area to be reduced, since the non-recording area does not need to be recorded, even if the picture is not in flow or is relatively fuzzy, the user operation and the recording of the script are not affected (when the script is recorded, only the picture of the recording area needs to be clear). Although the picture of the non-recording area may become blurred or stuck, the user is not influenced to observe the interactive characteristics between the two terminals to be measured.
In some embodiments, the client determines the current recording area by:
detecting the position of a mouse, judging that the first area is the current recording area when the time that the position of the mouse is located in the first area exceeds a first preset time length, and judging that the second area is the current recording area when the time that the position of the mouse is located in the second area exceeds the first preset time length. In this embodiment, the currently recorded area may be determined according to the time the mouse stays.
In some embodiments, the plurality of device boards includes a plurality of different types of device boards;
the management server distributes the first equipment board card and the second equipment board card to the client according to request information of the client, wherein the request information comprises board card model information.
For example, the client may request a type a device board card as the first device board card and a type B device board card as the second device board card. It can be understood that a user can implement client software testing between different devices or different operating systems by requesting different types of device boards.
The embodiment discloses a multi-client testing method, which is realized by the system, and comprises the following steps:
s1, the client requests the cloud server to allocate a first equipment board card and a second equipment board card, a first end to be tested runs on the first equipment board card, a second end to be tested runs on the second equipment board card, and the first end to be tested and the second end to be tested are communicated;
s2, the client configured as the recording mode performs script recording aiming at the first end to be tested and the second end to be tested to obtain a first script aiming at the first end to be tested and a second script aiming at the second end to be tested;
and S3, the client deploys the first script on the first equipment board card to execute playback, and deploys the second script on the second equipment board card to execute playback.
It can be understood that, by using the system to realize the test by the method, the user can conveniently complete the operation.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (6)

1. A multi-client test system, comprising:
the cloud server comprises a management server and a plurality of equipment board cards, wherein the equipment board cards are used for receiving an operation instruction of a client, executing processing based on the operation instruction and transmitting a video stream to the client, and the management server is used for distributing the equipment board cards to the client;
the client displays the video stream of the first equipment board card in the first area, displays the video stream of the second equipment board card in the second area, sends an operation instruction aiming at the first area to the first equipment board card, and sends the operation instruction aiming at the second area to the second equipment board card after requesting the cloud server to distribute the first equipment board card and the second equipment board card;
the client is used for operating a first end to be tested on the first equipment board card and operating a second end to be tested on the second equipment board card, and the first end to be tested and the second end to be tested are communicated with each other so as to realize the function of message sending or game interaction; the client is also used for executing script recording and script playback aiming at the first end to be tested and the second end to be tested;
the client is provided with a script recording mode, the client detects the position acted by an operation instruction in the script recording mode, when the position acted by the operation instruction is located in a first area, a picture currently displayed in the first area is subjected to screenshot to obtain a first screenshot, a first instruction used for identifying the first screenshot is generated on the first script, and a second instruction used for clicking the position acted by the operation instruction on the first screenshot is generated; when the position acted by the operation instruction is located in a second area, performing screenshot on a picture currently displayed in the second area to obtain a second screenshot, generating a third instruction for identifying the second screenshot on a second script, and generating a fourth instruction for clicking the operation instruction corresponding to the second screenshot;
in the script recording mode, the client is further configured to detect a current recording area and send a fifth instruction representing the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server reduces the frame rate of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server reduces the frame rate of the video stream of the first equipment board card and restores the frame rate of the video stream of the second equipment board card to an initial value;
or,
when the current recording area is a second area, the cloud server reduces the frame rate of the video stream of the first equipment board card; when the current recording area is switched from a second area to a first area, the cloud server reduces the frame rate of the video stream of the second equipment board card and restores the frame rate of the video stream of the first equipment board card to an initial value;
the client determines the current recording area by the following method:
detecting the position of a mouse, judging that the first area is the current recording area when the time that the position of the mouse is positioned in the first area exceeds a first preset time length, and judging that the second area is the current recording area when the time that the position of the mouse is positioned in the second area exceeds the first preset time length;
when the client executes script playback, the first script is sent to the first equipment board card, the first end to be tested and the first script are operated in the first equipment board card, the second script is sent to the second equipment board card, and the second end to be tested and the second script are operated in the second equipment board card.
2. The multi-client testing system of claim 1, wherein the recording of the first script and the second script is performed in a device running the client.
3. The multi-client test system of claim 1, wherein the plurality of equipment boards comprises a plurality of different types of equipment boards;
the management server distributes the first equipment board card and the second equipment board card to the client according to request information of the client, wherein the request information comprises board card model information.
4. A multi-client test system, comprising:
the cloud server comprises a management server and a plurality of equipment board cards, wherein the equipment board cards are used for receiving an operation instruction of a client, executing processing based on the operation instruction and transmitting a video stream to the client, and the management server is used for distributing the equipment board cards to the client;
the client displays the video stream of the first equipment board card in the first area, displays the video stream of the second equipment board card in the second area, sends an operation instruction aiming at the first area to the first equipment board card, and sends the operation instruction aiming at the second area to the second equipment board card after requesting the cloud server to distribute the first equipment board card and the second equipment board card;
the client is used for operating a first end to be tested on the first equipment board card and operating a second end to be tested on the second equipment board card, and the first end to be tested and the second end to be tested are communicated with each other so as to realize the function of message sending or game interaction; the client is also used for executing script recording and script playback aiming at the first end to be tested and the second end to be tested;
the client is provided with a script recording mode, the client detects the position acted by an operation instruction in the script recording mode, when the position acted by the operation instruction is located in a first area, a picture currently displayed in the first area is subjected to screenshot to obtain a first screenshot, a first instruction used for identifying the first screenshot is generated on the first script, and a second instruction used for clicking the position acted by the operation instruction on the first screenshot is generated; when the position acted by the operation instruction is located in a second area, performing screenshot on a picture currently displayed in the second area to obtain a second screenshot, generating a third instruction for identifying the second screenshot on a second script, and generating a fourth instruction for clicking the operation instruction corresponding to the second screenshot;
the client is further used for detecting a current recording area and sending a fifth instruction representing the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server reduces the resolution of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server reduces the resolution of the video stream of the first equipment board card and restores the resolution of the video stream of the second equipment board card to an initial value;
when the current recording area is a second area, the cloud server reduces the resolution of the video stream of the first equipment board card; when the current recording area is switched from the second area to the first area, the cloud server reduces the resolution of the video stream of the second equipment board card and restores the resolution of the video stream of the first equipment board card to an initial value;
detecting the position of a mouse, judging that the first area is the current recording area when the time that the position of the mouse is positioned in the first area exceeds a first preset time length, and judging that the second area is the current recording area when the time that the position of the mouse is positioned in the second area exceeds the first preset time length;
when the client executes script playback, the first script is sent to the first equipment board card, the first end to be tested and the first script are operated in the first equipment board card, the second script is sent to the second equipment board card, and the second end to be tested and the second script are operated in the second equipment board card.
5. A multi-client test system, comprising:
the cloud server comprises a management server and a plurality of equipment board cards, wherein the equipment board cards are used for receiving an operation instruction of a client, executing processing based on the operation instruction and transmitting a video stream to the client, and the management server is used for distributing the equipment board cards to the client;
the client displays the video stream of the first equipment board card in the first area, displays the video stream of the second equipment board card in the second area, sends an operation instruction aiming at the first area to the first equipment board card, and sends the operation instruction aiming at the second area to the second equipment board card after requesting the cloud server to distribute the first equipment board card and the second equipment board card;
the client is used for operating a first end to be tested on the first equipment board card and operating a second end to be tested on the second equipment board card, and the first end to be tested and the second end to be tested are communicated with each other so as to realize the function of message sending or game interaction; the client is also used for executing script recording and script playback aiming at the first end to be tested and the second end to be tested;
the client is provided with a script recording mode, the client detects the position acted by an operation instruction in the script recording mode, when the position acted by the operation instruction is located in a first area, a picture currently displayed in the first area is subjected to screenshot to obtain a first screenshot, a first instruction used for identifying the first screenshot is generated on the first script, and a second instruction used for clicking the position acted by the operation instruction on the first screenshot is generated; when the position acted by the operation instruction is located in a second area, performing screenshot on a picture currently displayed in the second area to obtain a second screenshot, generating a third instruction for identifying the second screenshot on a second script, and generating a fourth instruction for clicking the operation instruction corresponding to the second screenshot;
the client is further used for detecting a current recording area and sending a fifth instruction representing the current recording area to the cloud server;
the cloud server determines a current recording area according to the fifth instruction, and when the current recording area is the first area, the cloud server improves the compression rate of the video stream of the second equipment board card; when the current recording area is switched from a first area to a second area, the cloud server improves the compression rate of the video stream of the first equipment board card and restores the compression rate of the video stream of the second equipment board card to an initial value;
when the current recording area is a second area, the cloud server improves the compression rate of the video stream of the first equipment board card; when the current recording area is switched from the second area to the first area, the cloud server improves the compression rate of the video stream of the second equipment board card and restores the compression rate of the video stream of the first equipment board card to an initial value;
detecting the position of a mouse, judging that the first area is the current recording area when the time that the position of the mouse is positioned in the first area exceeds a first preset time length, and judging that the second area is the current recording area when the time that the position of the mouse is positioned in the second area exceeds the first preset time length;
when the client executes script playback, the first script is sent to the first equipment board card, the first end to be tested and the first script are operated in the first equipment board card, the second script is sent to the second equipment board card, and the second end to be tested and the second script are operated in the second equipment board card.
6. A multi-client testing method, implemented with a system according to any of claims 1-5, the method comprising the steps of:
the method comprises the steps that a client requests a cloud server to allocate a first equipment board card and a second equipment board card, a first end to be tested runs on the first equipment board card, a second end to be tested runs on the second equipment board card, and the first end to be tested and the second end to be tested are communicated;
the client side configured to the recording mode performs script recording aiming at a first end to be tested and a second end to be tested to obtain a first script aiming at the first end to be tested and a second script aiming at the second end to be tested;
the client deploys the first script on the first equipment board card to execute playback, and deploys the second script on the second equipment board card to execute the playback.
CN202110419915.6A 2021-04-19 2021-04-19 Multi-client testing system and method Active CN113138919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110419915.6A CN113138919B (en) 2021-04-19 2021-04-19 Multi-client testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110419915.6A CN113138919B (en) 2021-04-19 2021-04-19 Multi-client testing system and method

Publications (2)

Publication Number Publication Date
CN113138919A CN113138919A (en) 2021-07-20
CN113138919B true CN113138919B (en) 2022-04-22

Family

ID=76812932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110419915.6A Active CN113138919B (en) 2021-04-19 2021-04-19 Multi-client testing system and method

Country Status (1)

Country Link
CN (1) CN113138919B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951397A (en) * 2014-05-16 2015-09-30 腾讯科技(深圳)有限公司 Mobile equipment testing method, mobile equipment testing device, mobile equipment testing server and mobile equipment testing system
CN105740153A (en) * 2016-02-29 2016-07-06 网易(杭州)网络有限公司 Cloud testing method and device
CN108804302A (en) * 2017-05-04 2018-11-13 腾讯科技(深圳)有限公司 A kind of remote test method, system and relevant device
CN109600282A (en) * 2018-12-26 2019-04-09 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype
CN109684218A (en) * 2018-12-26 2019-04-26 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype
CN112087347A (en) * 2020-09-02 2020-12-15 苏州亿歌网络科技有限公司 Game server testing method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160004628A1 (en) * 2014-07-07 2016-01-07 Unisys Corporation Parallel test execution framework for multiple web browser testing
CN105760308B (en) * 2016-03-31 2018-09-14 网易(杭州)网络有限公司 Multi-client cooperates with test method and device
CN106339319A (en) * 2016-08-30 2017-01-18 福建天晴数码有限公司 Method and system for testing interactive software
CN106371990B (en) * 2016-08-30 2018-11-23 福建天晴数码有限公司 A kind of test method and system of interactive software oncurrent processing ability
CN108280026B (en) * 2018-01-23 2019-03-22 网易(杭州)网络有限公司 Game automated testing method and device, storage medium, electronic equipment
CN112395187A (en) * 2020-11-05 2021-02-23 华人运通(江苏)技术有限公司 Test method, test system, computer device and storage medium
CN112468873A (en) * 2020-11-16 2021-03-09 北京达佳互联信息技术有限公司 Picture display method, device, system, electronic equipment, server and medium
CN112596848B (en) * 2020-12-30 2024-06-04 北京达佳互联信息技术有限公司 Screen recording method, device, electronic equipment, storage medium and program product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951397A (en) * 2014-05-16 2015-09-30 腾讯科技(深圳)有限公司 Mobile equipment testing method, mobile equipment testing device, mobile equipment testing server and mobile equipment testing system
CN105740153A (en) * 2016-02-29 2016-07-06 网易(杭州)网络有限公司 Cloud testing method and device
CN108804302A (en) * 2017-05-04 2018-11-13 腾讯科技(深圳)有限公司 A kind of remote test method, system and relevant device
CN109600282A (en) * 2018-12-26 2019-04-09 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype
CN109684218A (en) * 2018-12-26 2019-04-26 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype
CN112087347A (en) * 2020-09-02 2020-12-15 苏州亿歌网络科技有限公司 Game server testing method and system

Also Published As

Publication number Publication date
CN113138919A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN107342083B (en) Method and apparatus for providing voice service
CN110177300B (en) Program running state monitoring method and device, electronic equipment and storage medium
CN106998485A (en) Net cast method and device
US6952406B2 (en) Method and apparatus for reporting total call quality
CN113992967A (en) Screen projection data transmission method and device, electronic equipment and storage medium
CN112333044A (en) Shunting equipment performance test method, device and system, electronic equipment and medium
CN108712299A (en) A kind of method, apparatus, equipment and the computer storage media of monitoring live streaming delay
CN110225291A (en) A kind of data transmission method, device and computer equipment
CN115396529A (en) Multichannel communication method, device, terminal equipment and storage medium
CN113144620B (en) Method, device, platform, readable medium and equipment for detecting frame synchronous game
CN113726801A (en) AB experiment method, device, equipment and medium applied to server
CN113138919B (en) Multi-client testing system and method
CN112511739B (en) Interactive information generation method and equipment
CN112732554A (en) Intelligent networking hand-trip test method and system
CN110351577B (en) Live broadcast information processing method and device, storage medium and electronic equipment
CN113839829A (en) Cloud game delay testing method, device and system and electronic equipment
CN103607596B (en) Clock alignment processing method and processing device
CN118158206A (en) Data processing method, server and terminal equipment
US9485458B2 (en) Data processing method and device
CN114760309A (en) Business interaction method, device, equipment and medium of terminal based on cloud service
CN112698829B (en) Abnormal resource positioning method and device, storage medium and electronic equipment
CN110798700B (en) Video processing method, video processing device, storage medium and electronic equipment
CN112969038A (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN112241372A (en) Terminal testing method and device and electronic equipment
CN113794901B (en) Remote penetration operation display method and system for charging pile

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant