CN111290896A - Server pressure testing method, device, equipment and medium - Google Patents

Server pressure testing method, device, equipment and medium Download PDF

Info

Publication number
CN111290896A
CN111290896A CN202010089183.4A CN202010089183A CN111290896A CN 111290896 A CN111290896 A CN 111290896A CN 202010089183 A CN202010089183 A CN 202010089183A CN 111290896 A CN111290896 A CN 111290896A
Authority
CN
China
Prior art keywords
server
test request
test
calling
request
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.)
Granted
Application number
CN202010089183.4A
Other languages
Chinese (zh)
Other versions
CN111290896B (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 Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202010089183.4A priority Critical patent/CN111290896B/en
Publication of CN111290896A publication Critical patent/CN111290896A/en
Application granted granted Critical
Publication of CN111290896B publication Critical patent/CN111290896B/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/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for testing a server, and relates to the field of computer equipment. The method is applied to the terminal and comprises the following steps: acquiring a calling relation, wherein the calling relation is a relation between a first server located at the upstream and a second server located at the downstream, and the second server is a server to be tested; determining the first server corresponding to the second server according to the calling relation; and sending a test request to the first server, wherein the test request is used for triggering the first server to call the second server at least n times, and n is a positive integer. The pressure test of the second server can be realized through less pressure test resources, and the pressure test resources are saved.

Description

Server pressure testing method, device, equipment and medium
Technical Field
The present application relates to the field of computer devices, and in particular, to a method, an apparatus, a device, and a medium for testing server pressure.
Background
The server stress test is a test for simulating that a large number of users simultaneously initiate a large number of access requests to the server to obtain the response condition of the server, and is used for discovering the performance bottleneck and the upper limit of the capacity of the server.
In the related art, a server receives a test request, and makes a corresponding response according to the test request, and the working limit of server resources is determined by continuously increasing the quantity of the test requests sent to the server. For example, the test request amount received by the server at a certain time is a, the server can normally operate at this time, the test request amount simultaneously sent to the server is increased to b, the server cannot normally operate after operating for 2 seconds at this time, and the server can simultaneously receive the request amount at most as b.
Based on the above situation, a large number of test requests are required to test the compression resistance of the server, and the process is tedious through continuous testing.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a medium for testing a server, a test request does not need to be sent to the server to be tested, the pressure test on the server to be tested can be realized by using less pressure test resources, and the technical scheme is as follows:
according to an aspect of the present application, there is provided a method for testing a server, the method being applied to a terminal, the method including:
acquiring a calling relation, wherein the calling relation is a relation between a first server located at the upstream and a second server located at the downstream, and the second server is a server to be tested;
determining the first server corresponding to the second server according to the calling relation;
and sending a test request to the first server, wherein the test request is used for triggering the first server to call the second server at least n times, and n is a positive integer.
In an optional embodiment, the sending a test request to the first server includes:
generating a test request, the test request comprising: a pressure amplification parameter for indicating a number of calls n to the first server;
sending the test request to the first server.
In an optional embodiment, the test request further includes: at least one of a test identification and an identification of the second server;
the test identifier is used for indicating the type of the current request to the first server as a test request, and the identifier of the second server is used for indicating the server to be tested to the first server as the second server.
In an optional embodiment, the method further comprises:
acquiring a response value of the second server;
responding to the response value not reaching a pressure value threshold value, adjusting the pressure amplification parameter in the test request, wherein the adjusted pressure amplification parameter is used for indicating calling times m to the first server, and m is larger than n and is a positive integer;
and resending the test request to the first server, wherein the test request carries the adjusted pressure amplification parameter.
According to another aspect of the present application, there is provided a method for testing a server, the method being applied to a first server, the method including:
receiving a test request sent by a terminal;
determining the number of times of calling n according to the test request;
and calling the second server at least n times, wherein n is a positive integer.
In an alternative embodiment, the test request includes a pressure amplification parameter;
the determining the number of times of calling n according to the test request comprises:
acquiring the pressure amplification parameter from the test request;
and determining the calling times n according to the pressure amplification parameter.
In an optional embodiment, the test request comprises at least one of a test identification and an identification of the second server;
the method further comprises the following steps:
acquiring the test identification from the test request; determining the type of the request as a test request according to the test identifier; or, obtaining the identifier of the second server from the test request; and determining the server to be tested as the second server according to the identifier of the second server.
In an optional embodiment, the method further comprises:
receiving a test request retransmitted by the terminal;
determining the calling times m according to the test request, wherein m is larger than n and is a positive integer;
making at least m calls to the second server.
According to another aspect of the present application, there is provided a test apparatus of a server, the apparatus being provided in a terminal, the apparatus including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a calling relation, the calling relation is a relation between a first server positioned at the upstream and a second server positioned at the downstream, and the second server is a server to be tested;
the first processing module is used for determining the first server corresponding to the second server according to the calling relation;
the sending module is used for sending a test request to the first server, wherein the test request is used for triggering the first server to call the second server at least n times, and n is a positive integer.
In an alternative embodiment, the apparatus includes a generation module;
the generating module is configured to generate a test request, where the test request includes: a pressure amplification parameter for indicating a number of calls n to the first server;
the sending module is configured to send the test request to the first server.
In an optional embodiment, the test request further includes: at least one of a test identification and an identification of the second server;
the test identifier is used for indicating the type of the current request to the first server as a test request, and the identifier of the second server is used for indicating the server to be tested to the first server as the second server.
In an alternative embodiment, the apparatus includes a receiving module;
the first obtaining module is configured to obtain a response value of the second server;
the first processing module is configured to adjust the pressure amplification parameter in the test request in response to that the response value does not reach a pressure value threshold, where the adjusted pressure amplification parameter is used to indicate a calling number m to the first server, where m is greater than n and is a positive integer;
the sending module is configured to resend the test request to the first server, where the test request carries the adjusted pressure amplification parameter.
According to another aspect of the present application, there is provided a test apparatus of a server, the apparatus being provided in a first server, the apparatus including:
the receiving module is used for receiving a test request sent by a terminal;
the second processing module is used for determining the calling times n according to the test request;
and the calling module is used for calling the second server at least n times, wherein n is a positive integer.
In an optional embodiment, the apparatus comprises a second obtaining module, and the test request comprises a pressure amplification parameter;
the second obtaining module is configured to obtain the pressure amplification parameter from the test request;
and the second processing module is used for determining the calling times n according to the pressure amplification parameter.
In an optional embodiment, the test request comprises at least one of a test identification and an identification of the second server;
the second obtaining module is configured to obtain the test identifier from the test request; the second processing module is used for determining the type of the request as a test request according to the test identifier; or, the second obtaining module is configured to obtain the identifier of the second server from the test request; the second processing module is configured to determine, according to the identifier of the second server, that the server to be tested is the second server.
In an optional embodiment, the receiving module is configured to receive a test request retransmitted by the terminal;
the second processing module is used for determining calling times m according to the test request, wherein m is larger than n and is a positive integer;
the calling module is used for calling the second server at least m times.
According to another aspect of the present application, there is provided a computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the method of testing a server as described above.
According to another aspect of the present application, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement the method of testing a server described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
by obtaining the calling relationship between the second server and the first server, under the condition that the server to be tested is determined to be the second server, an upstream server (first server) of the second server is determined, a test request is sent to the first server through the terminal, and the first server is triggered to call the second server at least n times, so that the second server receives more test requests. The pressure test of the second server can be realized through less pressure test resources, and the pressure test resources are saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 only some embodiments of the present application, 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 schematic diagram of a server cluster according to an exemplary embodiment of the present application;
FIG. 2 is a block diagram of a computer system provided in an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a method for testing a server provided by an exemplary embodiment of the present application;
FIG. 4 is a flow chart of a method for testing a server provided by another exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of a server cluster according to another exemplary embodiment of the present application;
FIG. 6 is a flowchart of a server testing method for a combination of a terminal and a server cluster according to an exemplary embodiment of the present application;
FIG. 7 is a block diagram of a server testing device according to an exemplary embodiment of the present application;
FIG. 8 is a block diagram of a server testing device according to another exemplary embodiment of the present application;
FIG. 9 is a block diagram of a server provided in an exemplary embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms related to embodiments of the present application will be described:
a server: the present invention relates to a computer, and more particularly, to a computer program for providing various computing or server functions to a client in a network, such as a registration server providing a registration service and a login server providing a login function.
Server clustering: refers to one or more server nodes, a server group consisting of the same or different servers.
And (3) pressure testing: the method is used for testing the performance bottleneck and the upper limit of the capacity of the server and judging whether the server can normally work after the server runs for a long time in a limit state. In general, a stress test program generates a test request and sends a large number of test requests to a server, thereby testing the stability of the server in an extreme state.
The server provides programs with various computing or service functions for the user clients, one server is connected with one or more user clients, and the server receives requests of the user clients. Taking the example that the user client is a shopping client, when the shopping client is in a killing second scene, a plurality of user clients simultaneously send requests to the server on the same time node, and the server may generate a problem of reduced operation speed caused by receiving a large number of requests. Therefore, the performance bottleneck and the capacity upper limit of the server can be subjected to stress test, so that the requests of the user clients are received as many as possible on the premise of ensuring the performance of the server. In the related art, the working limit of server resources is determined by continuously adding pressure test resources to a server to be tested, and more pressure test resources are required to be consumed.
The embodiment of the application provides a server testing method, which can realize pressure testing on a server to be tested without consuming excessive pressure testing resources.
Fig. 1 illustrates a schematic structural diagram of a server cluster according to an exemplary embodiment of the present application. The server cluster 10 comprises a server A and a server B, and the server cluster 10 is connected with the stress test program 11. In the operation process, the server A calls the server B, the server A is an upstream server of the server B, and the server B is a server to be tested.
The stress test program 11 generates a test request that simulates a request sent by a user to a server. The stress test program 11 sends the test request to the server a, where the test request carries at least one of the following information: pressure amplification parameters, test identification and identification of the server B.
The server A obtains the pressure amplification parameter according to the test request, when the server A calls the server B, the calling times of the server A to the server B are determined according to the pressure amplification parameter, the server A calls the server B for multiple times according to the pressure amplification parameter, namely the original execution of one calling request is changed into the execution of n calling requests, and n is a positive integer.
When the pressure test program 11 starts to perform a pressure test on the server B, the server B receives a plurality of test requests according to the number of calls, and the pressure test on the server B can be completed by gradually adjusting at least one of the test request amount and the pressure amplification parameter.
Optionally, if the server cluster is in a link relationship, the pressure test program 11 may send a test request to an upstream server corresponding to the server to be tested, and with the method provided in this embodiment, the pressure test on the server to be tested can be implemented only by sending fewer test requests to the upstream server, so that the pressure test resources are saved.
Fig. 2 shows a block diagram of a computer system provided in an exemplary embodiment of the present application. The computer system 100 includes: terminals 120 and server clusters 140.
The terminal 120 is installed and operated with an application program supporting the stress test. The application program is used for generating a test request, and the test request is a request simulating a user to send to the server. The terminal 120 sends the test request to the server cluster under test 140. The terminal 120 may generally refer to one of a plurality of terminals, and the embodiment is merely illustrated by the terminal 120. The device types of the terminal 120 include: at least one of a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer, and the following embodiments are described taking the terminal as a desktop computer as an example.
The terminal 120 is connected to the server cluster 140 through a wireless network or a wired network.
The server cluster 140 includes at least two servers, or cloud computing platforms, or virtualization centers, or a combination thereof. Illustratively, the server cluster 140 includes server a and server B, server a calls server B, which is the server to be tested. The server a receives the test request sent by the terminal 120, and determines a pressure amplification parameter according to the test request, where the pressure amplification parameter is used to increase the number of times of calling the server B. Optionally, the server cluster 140 undertakes primary computational work and the terminal 120 undertakes secondary computational work; alternatively, the server cluster 140 undertakes secondary computing work and the terminal 120 undertakes primary computing work; alternatively, the server 140 and the terminal 120 perform cooperative computing by using a distributed computing architecture.
Those skilled in the art will appreciate that the number of terminals may be greater. For example, the number of the terminals may be only one, or several tens or hundreds of the terminals, or more. The number of terminals and the type of the device are not limited in the embodiments of the present application.
Fig. 3 illustrates a testing method for a server provided by an exemplary embodiment of the present application, which is applied in the terminal 120 in the computer system 100 shown in fig. 2 or in other computer systems, and includes the following steps:
step 301, obtaining a call relationship, where the call relationship is a relationship between a first server located at an upstream and a second server located at a downstream, and the second server is a server to be tested.
The terminal 120 is connected to at least one server, or the terminal 120 is connected to the server cluster through a wired network or a wireless network.
The first server is connected with the second server through a wired network or a wireless network, optionally, the first server is an upstream server of the second server, and the first server calls the second server; or the second server is an upstream server of the first server, the second server calling the first server.
Optionally, a program supporting stress test (referred to as a stress test program for short) is run in the terminal 120, and a call relationship between the first server and the second server is obtained through the program. Illustratively, the first server is a server supporting statistics of live ranking lists, the second server is a server supporting statistics of anchor information, and the first server calls the second server.
Step 302, determining a first server corresponding to a second server according to the calling relationship.
Illustratively, the terminal 120 stress tests the second server. And if the calling relation acquired by the stress test program is that the first server calls the second server, the program determines that the first server is an upstream server and the second server is a downstream server.
Step 303, sending a test request to the first server, where the test request is used to trigger the first server to call the second server at least n times, where n is a positive integer.
The stress test program sends a test request to the first server, the test request is a request simulating that the user client sends to the server, optionally, the test request comprises a stress amplification parameter and at least one of a test identification and a second server identification.
And the first server calls the second server for n times according to the test request, wherein n is a positive integer. In one example, the first server receives test request 1, and the first server calls the second server six times according to test request 1. In another example, the first server receives test request 2 and the first server invokes the second server four times based on test request 2.
It will be appreciated that the stress test program described above may also be an applet that is dependent on the host program, and may also be a web page that supports stress testing.
In summary, in the method provided in this embodiment, by obtaining the call relationship between the second server and the first server, under the condition that the server to be tested is determined to be the second server, the upstream server (the first server) of the second server is determined, the terminal sends the test request to the first server, and the first server is triggered to call the second server at least n times, so that the second server receives more test requests. The pressure test of the second server can be realized through less pressure test resources, and the pressure test resources are saved.
Fig. 4 illustrates a testing method for a server provided in another exemplary embodiment of the present application, which is applied in the terminal 120 in the computer system 100 shown in fig. 2 or in other computer systems, and includes the following steps:
step 401, obtaining a call relationship, where the call relationship is a relationship between a first server located at an upstream and a second server located at a downstream, and the second server is a server to be tested.
And 402, determining a first server corresponding to the second server according to the calling relation.
Step 401 and step 402 are identical to step 301 and step 302, respectively, shown in fig. 3, and are not described herein again.
Step 403, generating a test request, where the test request includes: a pressure amplification parameter for indicating the number of calls n to the first server.
Alternatively, the stress test program generates the test request, or the terminal 120 generates the test request. Optionally, the pressure amplification parameter is a default setting, or the terminal 120 intelligently generates the pressure amplification parameter of the current pressure test according to the historical pressure amplification parameter, or the pressure test program intelligently generates the pressure amplification parameter of the current pressure test according to the historical pressure amplification parameter, or the user inputs the pressure amplification parameter on the terminal 120. The historical pressure amplification parameters are pressure amplification parameters used in each pressure test in the historical pressure test process, intelligent generation of the pressure amplification parameters can be achieved by constructing a relevant model in the terminal 120, and the historical pressure amplification parameters are input into the model to obtain the pressure amplification parameters of the pressure test.
Optionally, the pressure amplification parameter has a correspondence relationship with the number of calls, and the correspondence relationship includes at least one of a functional relationship and a look-up table relationship. Illustratively, the relationship between the pressure amplification parameter and the number of calls satisfies the functional relationship y ═ axA is a constant, y is the number of calls, and x is the pressure amplification parameter. Schematically, the number of calls corresponding to the pressure amplification parameter M is aM. The relationship between the pressure amplification parameter and the number of calls may be constant at all times or varied in stagesAnd (4) transforming. This is not limited in the examples of the present application.
The test request further includes at least one of a test identification and an identification of the second server. The test identifier is used for indicating the type of the current request to the first server as a test request, and the identifier of the second server is used for indicating the server to be tested to the first server as the second server. The following describes a relationship among the pressure amplification parameter, the second server identifier, and the test identifier included in the pair of test requests in the table.
Watch 1
Figure BDA0002383137240000091
Figure BDA0002383137240000101
The test identifier 2020020300330001 is used to indicate the 0001 th pressure test at 33 min, 03, 00 of 2020, and the type of the test identifier is not limited in this embodiment. The identifier of the second server may be a name, a number, and the like of the second server, and the application does not limit the form of the identifier of the second server.
Step 404, a test request is sent to a first server.
In one example, the stress test program sends a test request to the first server, including the stress amplification parameter, the identification of the second server, and the test identification in the test request. And the pressure test program determines the type of the request as a test request according to the test identifier, determines the second server as a server to be tested according to the identifier of the second server, determines the upstream server of the second server as the first server, and determines the number of times for indicating the first server to call the second server according to the pressure amplification parameter. And the first server calls the second server according to the calling times after receiving the test request.
Optionally, after completing the pressure test, the pressure test program adjusts the test request according to the response value of the second server, and tests the first server again according to the adjusted test request, where the method includes the following steps:
and S1, acquiring the response value of the second server.
After the first server calls the second server, the second server generates a response value, and the stress test program acquires the response value of the second server.
And S2, responding to the response value not reaching the pressure value threshold value, adjusting the pressure amplification parameter in the test request, wherein the adjusted pressure amplification parameter is used for indicating the calling times m to the first server, and m is larger than n and is a positive integer.
Optionally, the pressure value threshold is a default setting of the server, or a pressure value threshold intelligently generated by the server according to the pressure amplification parameter in the test request, or a pressure value threshold set by the user in the pressure test program.
And the pressure test program adjusts the pressure amplification parameter from N to M and correspondingly indicates that the number of times that the first server calls the second server is M. In one example, the first server receives a test 1 request with a pressure amplification parameter of N, which correspondingly indicates that the first server calls the second server 3 times, and after the pressure test program adjusts the pressure amplification parameter to M, the first server receives a test request 2 including the pressure amplification parameter M, and the test request 2 correspondingly indicates that the first server calls the second server 6 times. The adjustment of the pressure parameter is such that the number of times the first server calls the second server varies by a multiple.
Optionally, in response to the response value reaching the pressure value threshold, the pressure amplification parameter in the test request is adjusted, so that the adjusted pressure amplification parameter indicates the number of calls k to the first server, where k is smaller than n and k is a positive integer. When the response value of the second server reaches the pressure value threshold, the pressure amplification parameter in the test request or the adjustment test request needs to be amplified, so that the number of times of calling the second server by the first server is reduced, and the problem that the second server is stuck or even down in operation due to the fact that the second server receives too many test requests is avoided.
And S3, resending the test request to the first server, wherein the test request carries the adjusted pressure amplification parameters.
The pressure test program sends a test request carrying the pressure amplification parameter M to the first server.
In one example, as shown in fig. 5, the server cluster 110 is a server cluster for a live platform, and the server cluster 110 includes a list server a, a user information server B, a list server C, and a live status server D. The list server a is used for counting live broadcast lists in the live broadcast platform, such as hourly lists, daily lists, weekly lists, monthly lists and the like, the user information server B is used for recording information of a main broadcast client in the live broadcast platform or information of an audience client watching live broadcast, the list server C is used for calculating ranking of each main broadcast in each list and reward corresponding to the ranking, and the live broadcast state server D is used for recording state of each main broadcast client during live broadcast, for example, live broadcast theme of the main broadcast client is talent performance or audience broadcast, two main broadcast clients fight in live broadcast, and the main broadcast client obtains gifts in the live broadcast process. The list server A is an upstream server of the user information server B, the list server C and the live broadcast state server D, and can call the three servers at the same time, or call the three servers according to a certain sequence, or call the three servers in batches, or call the three servers randomly.
The stress test program 12 is connected to the server cluster 110 via a wireless network or a wired network. Illustratively, the user information server B is a server to be tested, the stress testing program 12 obtains a call relationship between servers in the server cluster 110, and determines that an upstream server corresponding to the user information server B is the list server a according to the call relationship. The stress test program 12 generates a test request comprising the stress amplification parameters and the identity of the user information server B. The stress test program 12 sends the test request to the list server a, and the list server a calls the user information server B according to the stress amplification parameter in the test request. The user information server B receives the requests for many times, so that the pressure test of the user information server B is realized. Optionally, the test request or the pressure amplification parameter is adjusted according to the response value of the user information server B, so as to complete the pressure test on the user information server B.
It is understood that the stress test program 12 may simultaneously send a plurality of test requests to the list server a, where the test requests are generated by the user information server B, the list server C, and the live broadcast state server D, and the list server a calls the three servers according to the test request corresponding to each server.
In summary, in the method provided in this embodiment, the pressure test program generates the test request according to the call relationship between the first server and the second server, the test request includes the pressure amplification parameter and at least one of the test identifier and the second server identifier, and the pressure test program sends the test request to the first server, so that the first server calls the second server n times according to the pressure amplification parameter, thereby saving the pressure test resource.
Fig. 6 is a flowchart of a method for testing a server, which is applied to the computer system 100 shown in fig. 2 or other computer systems, according to an exemplary embodiment of the present application, and includes the following steps:
step 601, the terminal obtains a call relation.
The calling relation is a relation between a first server located at the upstream and a server located at the downstream, the first server can call a second server, and the second server is a server to be tested.
Optionally, a pressure test program is run on the terminal, and the program acquires the call relation.
Step 602, the terminal determines a first server corresponding to a second server according to the call relation.
Optionally, a pressure test program is run on the terminal, and the program determines the first server corresponding to the second server according to the call relationship.
Step 603, the terminal generates a test request.
Optionally, a pressure test program is run on the terminal, and the program generates a test request.
In step 604, the terminal sends a test request to the first server.
Step 605, the first server receives the test request sent by the terminal.
The terminal is operated with at least one pressure test tool of a pressure test program, an applet and a website. Optionally, after the stress test program generates a test request, the terminal sends the test request to the server a.
Step 606, the first server determines the number of times of invocation n according to the test request, wherein n is a positive integer.
Optionally, the test request includes a pressure amplification parameter. The pressure amplification parameter is used for indicating the calling times n to the first server, wherein n is a positive integer. The method comprises the following substeps:
step 6061, the first server obtains the pressure amplification parameter from the test request.
Step 6062, the first server determines the number of calls n according to the pressure amplification parameter, where n is a positive integer.
Optionally, the test request further comprises at least one of a test identification and an identification of the second server.
The first server acquires a test identifier from the test request; and the first server determines the type of the request as a test request according to the test identifier.
The first server acquires the identifier of the second server from the test request; and the first server determines the server to be tested as the second server according to the identification of the second server.
Step 607, the first server makes at least n calls to the second server, where n is a positive integer.
The second server generates a response value according to the call, step 608.
In step 609, the second server sends a response value to the terminal.
Optionally, the second server sends the response value to the first server, and the response value is sent to the terminal through the first server, or the second server directly sends the response value to the terminal.
In step 610, the terminal obtains a response value of the second server.
Step 611, in response to that the response value does not reach the threshold value of the pressure value, the terminal adjusts a pressure amplification parameter in the test request, where the adjusted pressure amplification parameter is used to indicate the number of times of calling m to the first server, and m is greater than n and is a positive integer.
In one example, m and n satisfy a multiple relationship, and the number of times that the first server calls the second server before the test request is adjusted is 2; the number of times the first server calls the second server after adjusting the test request is 4.
Optionally, the terminal adjusts the test request, or the terminal adjusts a pressure amplification parameter in the test request.
Step 612, the terminal resends the test request to the first server, where the test request carries the adjusted pressure amplification parameter.
Step 613, the first server receives the test request retransmitted by the terminal.
And 614, the first server determines the calling times m according to the test request, wherein m is greater than n and is a positive integer.
Step 615, the first server makes at least m calls to the second server.
The second server again generates a response value based on the call, step 616.
The second server transmits a response value to the terminal, step 617.
Optionally, the second server sends the response value to the first server, and the response value is sent to the terminal through the first server, or the second server directly sends the response value to the terminal.
And step 618, the terminal acquires the response value of the second server, adjusts the pressure amplification parameter again according to the response value or responds that the response value reaches the threshold value of the pressure value, and ends the pressure test process.
It is understood that steps 611 through 618 are optional steps.
In summary, in the method provided in this embodiment, the terminal sends the test request carrying the pressure amplification parameter to the first server, and the first server calls the second server according to the pressure amplification parameter and the certain number of calls, so that the pressure test on the second server can be realized with fewer pressure test resources, and the pressure test resources are saved.
Fig. 7 shows a block diagram of a testing apparatus of a server according to an exemplary embodiment of the present application. The device sets up in the terminal, should survey the device and include:
a first obtaining module 710, configured to obtain a call relationship, where the call relationship is a relationship between a first server located upstream and a second server located downstream, and the second server is a server to be tested;
the first processing module 720 is configured to determine, according to the call relationship, a first server corresponding to the second server;
the sending module 730 is configured to send a test request to the first server, where the test request is used to trigger the first server to call the second server at least n times, and n is a positive integer.
In an alternative embodiment, the apparatus includes a generation module 740;
the generating module 740 is configured to generate a test request, where the test request includes: the pressure amplification parameter is used for indicating the calling times n to the first server;
the sending module 730 is configured to send a test request to the first server.
In an optional embodiment, the test request further comprises: at least one of a test identification and an identification of the second server;
the test identifier is used for indicating the type of the current request to the first server as a test request, and the identifier of the second server is used for indicating the server to be tested to the first server as the second server.
In an alternative embodiment, the apparatus includes a receiving module 740;
the first obtaining module 710 is configured to obtain a response value of the second server;
the first processing module 720 is configured to adjust a pressure amplification parameter in the test request in response to the response value not reaching the threshold value of the pressure value, where the adjusted pressure amplification parameter is used to indicate the number of times of calling m to the first server, where m is greater than n and is a positive integer;
the sending module 730 is configured to resend the test request to the first server, where the test request carries the adjusted pressure amplification parameter.
Fig. 8 shows a block diagram of a testing apparatus of a server according to an exemplary embodiment of the present application. The device sets up in first server, should survey the device and include:
a receiving module 810, configured to receive a test request sent by a terminal;
a second processing module 820, configured to determine a number of times of call n according to the test request;
the invoking module 830 is configured to invoke the second server at least n times, where n is a positive integer.
In an alternative embodiment, the apparatus includes a second obtaining module 840, where the test request includes a pressure amplification parameter;
the second obtaining module 840 is configured to obtain a pressure amplification parameter from the test request;
the second processing module 820 is configured to determine the number of times of call n according to the pressure amplification parameter.
In an alternative embodiment, the test request includes at least one of a test identification and an identification of the second server;
the second obtaining module 840 is configured to obtain a test identifier from the test request; the second processing module 820 is configured to determine, according to the test identifier, that the type of the current request is a test request; or, the second obtaining module 840 is configured to obtain an identifier of a second server from the test request; the second processing module 820 is configured to determine, according to the identifier of the second server, that the server to be tested is the second server.
In an optional embodiment, the receiving module 810 is configured to receive a test request retransmitted by a terminal;
the second processing module 820 is configured to determine, according to the test request, a number of times of invocation m, where m is greater than n and is a positive integer;
the invoking module 830 is configured to invoke the second server at least m times.
Fig. 9 shows a schematic structural diagram of a server according to an exemplary embodiment of the present application. The server may be a server in the background server cluster 140. Specifically, the method comprises the following steps:
the server 900 includes a Central Processing Unit (CPU) 901, a system Memory 904 including a Random Access Memory (RAM) 902 and a Read Only Memory (ROM) 903, and a system bus 905 connecting the system Memory 904 and the Central Processing Unit 901. The server 900 also includes a basic input/output System (I/O System)906 for facilitating information transfer between devices within the computer, and a mass storage device 907 for storing an operating System 913, application programs 914, and other program modules 915.
The basic input/output system 906 includes a display 907 for displaying information and an input device 909 such as a mouse, keyboard, etc. for a user to input information. Wherein a display 907 and an input device 909 are connected to the central processing unit 901 through an input-output controller 910 connected to the system bus 905. The basic input/output system 906 may also include an input/output controller 910 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 910 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 907 is connected to the central processing unit 901 through a mass storage controller (not shown) connected to the system bus 905. The mass storage device 907 and its associated computer-readable media provide non-volatile storage for the server 900. That is, mass storage device 907 may include a computer-readable medium (not shown) such as a hard disk or Compact disk Read Only Memory (CD-ROM) drive.
Computer-readable media may include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Solid State Memory technology, CD-ROM, Digital Versatile Disks (DVD), or Solid State Drives (SSD), other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage, or other magnetic storage devices. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM). Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 904 and mass storage device 907 described above may be collectively referred to as memory.
The server 900 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the present application. That is, the server 900 may be connected to the network 912 through the network interface unit 911 connected to the system bus 905, or the network interface unit 911 may be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU.
In an alternative embodiment, a computer device is provided, the computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the at least one instruction, the at least one program, set of codes, or set of instructions being loaded and executed by the processor to implement the method of testing a server as described above.
In an alternative embodiment, a computer readable storage medium is provided having at least one instruction, at least one program, set of codes, or set of instructions stored therein, which is loaded and executed by a processor to implement the method of testing a server as described above.
Referring to fig. 10, a block diagram of a computer device 1000 according to an exemplary embodiment of the present application is shown. The computer device 1000 may be a portable mobile terminal, such as: smart phones, tablet computers, MP3 players (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4). The computer device 1000 may also be referred to by other names such as user equipment, portable terminal, etc.
Generally, the computer device 1000 includes: a processor 1001 and a memory 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, a 7-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1002 is used to store at least one instruction for execution by processor 1001 to implement a method of testing a server provided herein.
In some embodiments, the computer device 1000 may further optionally include: a peripheral interface 1003 and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, touch screen display 1005, camera 1006, audio circuitry 1007, positioning components 1007, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1004 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display screen 1005 also has the ability to capture touch signals on or over the surface of the touch display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. The touch display screen 1005 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the touch display screen 1005 may be one, providing a front panel of the computer device 1000; in other embodiments, the touch display screen 1005 may be at least two, respectively disposed on different surfaces of the computer device 1000 or in a folded design; in still other embodiments, the touch display 1005 may be a flexible display, disposed on a curved surface or on a folded surface of the computer device 1000. Even more, the touch display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The touch Display screen 1005 may be made of a material such as an LCD (Liquid Crystal Display) or an OLED (organic light-Emitting Diode).
The camera assembly 1006 is used to capture images or video. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 is used to provide an audio interface between a user and the computer device 1000. The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of the computer device 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
The positioning component 1007 is used to locate the current geographic Location of the computer device 1000 to implement navigation or LBS (Location Based Service). The Positioning component 1007 can be a Positioning component based on the GPS (Global Positioning System) of the united states, the beidou System of china, or the galileo System of russia.
The power supply 1009 is used to supply power to the various components in the computer device 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the computer device 1000 also includes one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensors 1013, 1014, optical sensor 1015, and proximity sensor 1016.
The acceleration sensor 1011 detects the magnitude of acceleration on three coordinate axes of a coordinate system established with the computer apparatus 1000. For example, the acceleration sensor 1011 is configured to detect the components of the gravitational acceleration on three coordinate axes. The processor 1001 may control the touch display screen 1005 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal of the acceleration sensor 1011 set. The acceleration sensor 1011 may be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the computer apparatus 1000, and the gyro sensor 1012 may collect a 3D motion of the user with respect to the computer apparatus 1000 together with the acceleration sensor 1011. From the data collected by the gyro sensor 1012, the processor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1013 may be disposed on a side bezel of computer device 1000 and/or on a lower layer of touch display screen 1005. When the pressure sensor 1013 is disposed on a side frame of the computer apparatus 1000, a user's holding signal to the computer apparatus 1000 can be detected, and left-right hand recognition or shortcut operation can be performed based on the holding signal. When the pressure sensor 1013 is disposed at a lower layer of the touch display screen 1005, it is possible to control the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1014 is used for collecting a fingerprint of a user to identify the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1014 may be provided on the front, back, or side of the computer device 1000. When a physical key or vendor Logo is provided on the computer device 1000, the fingerprint sensor 1014 may be integrated with the physical key or vendor Logo.
The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, the processor 1001 may control the display brightness of the touch display screen 1005 according to the intensity of the ambient light collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
A proximity sensor 1016, also known as a distance sensor, is typically provided on the front side of the computer device 1000. The proximity sensor 1016 is used to capture the distance between the user and the front of the computer device 1000. In one embodiment, the processor 1001 controls the touch display screen 1005 to switch from the bright screen state to the dark screen state when the proximity sensor 1016 detects that the distance between the user and the front face of the computer device 1000 is gradually decreased; when the proximity sensor 1016 detects that the distance between the user and the front of the computer device 1000 is gradually increased, the touch display screen 1005 is controlled by the processor 1001 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 10 is not intended to be limiting of the computer device 1000, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A method for testing a server is applied to a terminal, and comprises the following steps:
acquiring a calling relation, wherein the calling relation is a relation between a first server located at the upstream and a second server located at the downstream, and the second server is a server to be tested;
determining the first server corresponding to the second server according to the calling relation;
and sending a test request to the first server, wherein the test request is used for triggering the first server to call the second server at least n times, and n is a positive integer.
2. The method of claim 1, wherein sending a test request to the first server comprises:
generating a test request, the test request comprising: a pressure amplification parameter for indicating a number of calls n to the first server;
sending the test request to the first server.
3. The method of claim 2, wherein the test request further comprises: at least one of a test identification and an identification of the second server;
the test identifier is used for indicating the type of the current request to the first server as a test request, and the identifier of the second server is used for indicating the server to be tested to the first server as the second server.
4. The method of claim 2, further comprising:
acquiring a response value of the second server;
responding to the response value not reaching a pressure value threshold value, adjusting the pressure amplification parameter in the test request, wherein the adjusted pressure amplification parameter is used for indicating calling times m to the first server, and m is larger than n and is a positive integer;
and resending the test request to the first server, wherein the test request carries the adjusted pressure amplification parameter.
5. A method for testing a server, the method being applied to a first server, the method comprising:
receiving a test request sent by a terminal;
determining the number of times of calling n according to the test request;
and calling the second server at least n times, wherein n is a positive integer.
6. The method of claim 5, wherein the test request includes a pressure amplification parameter;
the determining the number of times of calling n according to the test request comprises:
acquiring the pressure amplification parameter from the test request;
and determining the calling times n according to the pressure amplification parameter.
7. The method of claim 5, wherein the test request comprises at least one of a test identification and an identification of the second server;
the method further comprises the following steps:
acquiring the test identification from the test request; determining the type of the request as a test request according to the test identifier; or, obtaining the identifier of the second server from the test request; and determining the server to be tested as the second server according to the identifier of the second server.
8. The method of any of claims 5 to 7, further comprising:
receiving a test request retransmitted by the terminal;
determining the calling times m according to the test request, wherein m is larger than n and is a positive integer;
making at least m calls to the second server.
9. A test apparatus of a server, the apparatus being provided in a terminal, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a calling relation, the calling relation is a relation between a first server positioned at the upstream and a second server positioned at the downstream, and the second server is a server to be tested;
the first processing module is used for determining the first server corresponding to the second server according to the calling relation;
the sending module is used for sending a test request to the first server, wherein the test request is used for triggering the first server to call the second server at least n times, and n is a positive integer.
10. A testing apparatus for a server, the apparatus being provided in a first server, the apparatus comprising:
the receiving module is used for receiving a test request sent by a terminal;
the second processing module is used for determining the calling times n according to the test request;
and the calling module is used for calling the second server at least n times, wherein n is a positive integer.
11. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement a method of testing a server according to any one of claims 1 to 8.
12. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement a method of testing a server according to any one of claims 1 to 8.
CN202010089183.4A 2020-02-12 2020-02-12 Method, device, equipment and medium for testing server pressure Active CN111290896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010089183.4A CN111290896B (en) 2020-02-12 2020-02-12 Method, device, equipment and medium for testing server pressure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010089183.4A CN111290896B (en) 2020-02-12 2020-02-12 Method, device, equipment and medium for testing server pressure

Publications (2)

Publication Number Publication Date
CN111290896A true CN111290896A (en) 2020-06-16
CN111290896B CN111290896B (en) 2024-05-10

Family

ID=71030036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010089183.4A Active CN111290896B (en) 2020-02-12 2020-02-12 Method, device, equipment and medium for testing server pressure

Country Status (1)

Country Link
CN (1) CN111290896B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949504A (en) * 2020-08-19 2020-11-17 政采云有限公司 Pressure testing method, device and medium
CN112181802A (en) * 2020-08-21 2021-01-05 长沙市到家悠享网络科技有限公司 Test method and device
CN112583669A (en) * 2020-12-11 2021-03-30 北京字节跳动网络技术有限公司 On-line link pressure testing method and device, electronic equipment and medium
CN113722240A (en) * 2021-11-02 2021-11-30 麒麟软件有限公司 Stability testing method and system for linux operating system management platform
CN114490374A (en) * 2022-01-21 2022-05-13 阿里巴巴(中国)有限公司 Applied pressure test method, electronic device, storage medium, and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418544B1 (en) * 1999-06-22 2002-07-09 International Business Machines Corporation Use of a client meta-cache for realistic high-level web server stress testing with minimal client footprint
US20100043004A1 (en) * 2008-08-12 2010-02-18 Ashwini Kumar Tambi Method and system for computer system diagnostic scheduling using service level objectives
CN106201850A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 A kind of compatibility test method and device
CN106656998A (en) * 2016-11-09 2017-05-10 腾讯科技(深圳)有限公司 Server communication method and device
CN108572916A (en) * 2018-03-22 2018-09-25 平安科技(深圳)有限公司 Method for testing pressure, device, equipment based on Jmeter and storage medium
CN110321270A (en) * 2018-03-29 2019-10-11 广东神马搜索科技有限公司 Single machine performance test methods, device and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418544B1 (en) * 1999-06-22 2002-07-09 International Business Machines Corporation Use of a client meta-cache for realistic high-level web server stress testing with minimal client footprint
US20100043004A1 (en) * 2008-08-12 2010-02-18 Ashwini Kumar Tambi Method and system for computer system diagnostic scheduling using service level objectives
CN106201850A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 A kind of compatibility test method and device
CN106656998A (en) * 2016-11-09 2017-05-10 腾讯科技(深圳)有限公司 Server communication method and device
CN108572916A (en) * 2018-03-22 2018-09-25 平安科技(深圳)有限公司 Method for testing pressure, device, equipment based on Jmeter and storage medium
CN110321270A (en) * 2018-03-29 2019-10-11 广东神马搜索科技有限公司 Single machine performance test methods, device and server

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949504A (en) * 2020-08-19 2020-11-17 政采云有限公司 Pressure testing method, device and medium
CN112181802A (en) * 2020-08-21 2021-01-05 长沙市到家悠享网络科技有限公司 Test method and device
CN112583669A (en) * 2020-12-11 2021-03-30 北京字节跳动网络技术有限公司 On-line link pressure testing method and device, electronic equipment and medium
CN113722240A (en) * 2021-11-02 2021-11-30 麒麟软件有限公司 Stability testing method and system for linux operating system management platform
CN113722240B (en) * 2021-11-02 2022-02-01 麒麟软件有限公司 Stability testing method and system for linux operating system management platform
CN114490374A (en) * 2022-01-21 2022-05-13 阿里巴巴(中国)有限公司 Applied pressure test method, electronic device, storage medium, and program product

Also Published As

Publication number Publication date
CN111290896B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN111290896B (en) Method, device, equipment and medium for testing server pressure
CN108063981B (en) Method and device for setting attributes of live broadcast room
CN110278464B (en) Method and device for displaying list
CN113204298B (en) Method and device for displaying release progress, electronic equipment and storage medium
CN110740340B (en) Video live broadcast method and device and storage medium
CN110569220B (en) Game resource file display method and device, terminal and storage medium
CN109697113B (en) Method, device and equipment for requesting retry and readable storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN111177013A (en) Log data acquisition method and device, computer equipment and storage medium
CN111061550A (en) Task processing method, device, equipment and storage medium
CN111858382A (en) Application program testing method, device, server, system and storage medium
CN111510482A (en) Method and device for determining failed network request and computer storage medium
CN110535890B (en) File uploading method and device
CN111669640B (en) Virtual article transfer special effect display method, device, terminal and storage medium
CN110890969B (en) Method and device for mass-sending message, electronic equipment and storage medium
CN110968815A (en) Page refreshing method, device, terminal and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN111241451A (en) Webpage processing method and device, computer equipment and storage medium
CN107800720B (en) Hijacking reporting method, device, storage medium and equipment
CN111258683A (en) Detection method, detection device, computer equipment and storage medium
CN110971840A (en) Video mapping method and device, computer equipment and storage medium
CN110825465A (en) Log data processing method and device, electronic equipment and storage medium
CN112181442A (en) Unloaded page display method, device, terminal, server and storage medium
CN114143280B (en) Session display method and device, electronic equipment and storage medium

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