CN112532483A - Test method, test device, electronic equipment and storage medium - Google Patents

Test method, test device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112532483A
CN112532483A CN202011339814.XA CN202011339814A CN112532483A CN 112532483 A CN112532483 A CN 112532483A CN 202011339814 A CN202011339814 A CN 202011339814A CN 112532483 A CN112532483 A CN 112532483A
Authority
CN
China
Prior art keywords
service
tested
online
identifier
online services
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.)
Pending
Application number
CN202011339814.XA
Other languages
Chinese (zh)
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202011339814.XA priority Critical patent/CN112532483A/en
Publication of CN112532483A publication Critical patent/CN112532483A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a testing method, a testing device, electronic equipment and a storage medium, and relates to the technical field of artificial intelligence such as big data and deep learning. The specific implementation scheme is as follows: receiving a service request of a client, wherein the service request has an identifier; distributing the service request to one of a plurality of online services to be tested according to the identification; acquiring service data generated by a plurality of online services to be tested responding to service requests in a preset time length; and generating a plurality of test reports of the online service to be tested according to the service data of the online service to be tested. Therefore, the online service of the user service can be selected from the plurality of online services by combining the identification of the client, and the effectiveness of the plurality of technical schemes can be quickly verified under the condition of ensuring that the influence on the user experience is as small as possible, so that the optimal selection is carried out.

Description

Test method, test device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of data processing, in particular to the technical field of artificial intelligence such as big data and deep learning, and particularly relates to a testing method, a testing device, electronic equipment and a storage medium.
Background
In the related art, in order to better serve a user and bring better experience to the user, before the internet service is online, a test needs to be performed, including: speech recognition and speech synthesis, etc., therefore, how to better implement the test of the online service becomes an urgent problem to be solved.
Disclosure of Invention
The application provides a test method, a test device, a test equipment and a storage medium.
According to a first aspect of the present application, there is provided a test method comprising:
receiving a service request of a client, wherein the service request has an identifier;
distributing the service request to one of a plurality of online services to be tested according to the identification;
acquiring service data generated by the plurality of online services to be tested responding to the service requests in a preset time length;
and generating a test report of the plurality of online services to be tested according to the service data of the plurality of online services to be tested.
According to a second aspect of the present application, there is provided a test apparatus comprising:
the system comprises a first receiving module, a second receiving module and a sending module, wherein the first receiving module is used for receiving a service request of a client, and the service request has an identifier;
the distribution module is used for distributing the service request to one of a plurality of online services to be tested according to the identification;
the first acquisition module is used for acquiring service data generated by the plurality of online services to be tested responding to the service requests in a preset time length;
and the processing module is used for generating a test report of the plurality of online services to be tested according to the service data of the plurality of online services to be tested.
According to a third aspect of the present application, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the test method as described above.
According to a fourth aspect of the present application, a non-transitory computer-readable storage medium is presented having stored thereon computer instructions for causing the computer to perform the testing method as described above.
According to a fifth aspect of the application, a computer program product is presented, comprising a computer program which, when executed by a processor, performs the steps of the testing method as described above.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flow diagram of a testing method according to one embodiment of the present application;
FIG. 2 is a flow diagram of a testing method according to one embodiment of the present application;
FIG. 3 is a schematic diagram of the allocation of service requests to online services to be tested according to the present application;
FIG. 4 is a schematic diagram of the structure of two parallel services according to the present application;
FIG. 5 is a schematic view of a testing device according to the present application;
FIG. 6 is a schematic view of another test apparatus according to the present application;
fig. 7 is a block diagram of an electronic device of a testing method according to an embodiment of the application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the related art, for the online service, because (1) the test index is subjective evaluation, for example, randomly interviews N persons to inquire whether the function is liked or not; (2) the test sample is not readily available, e.g., it is a function that is first brought online, with no user data before; (3) the user behavior is unpredictable, for example, the behavior of the user may be different when the user is ranked differently, but the online data is the user behavior only once, and the like. Currently, the test results of obtaining different online services are extremely unchanged, thereby affecting the optimal selection of the online services.
In order to solve the above problems, the present application provides a testing method, an apparatus, an electronic device, and a storage medium, where the method receives a service request from a client, where the service request has an identifier, allocates the service request to one of a plurality of online services to be tested according to the identifier, and then obtains service data generated by the online services to be tested in response to the service request over a preset time length; the method comprises the steps that a plurality of test reports of the online services to be tested are generated according to service data of the online services to be tested, so that the online services serving for users can be selected from the online services by combining the identification of the client, the effectiveness of a plurality of technical schemes can be rapidly verified under the condition that the influence on user experience is guaranteed to be as small as possible, and optimal selection is carried out.
The following describes a test method, an apparatus, an electronic device, and a storage medium according to embodiments of the present application with reference to the drawings.
FIG. 1 is a flow diagram of a testing method according to one embodiment of the present application. It should be noted that the test method in the embodiment of the present application may be applied to the test apparatus in the embodiment of the present application, and the apparatus may specifically be a hardware device, or software in a hardware device, and the apparatus may be applied to an electronic device, where the electronic device may include a terminal device or a server. For example, mobile terminals include smart phones, tablets, PADs, personal digital assistants, and the like. The embodiments of the present application do not limit this.
As shown in fig. 1, the specific implementation process of the test method is as follows:
step 101, receiving a service request of a client, wherein the service request has an identifier.
Wherein, in one embodiment of the present application, the identification may be generated by: and when the client is installed in the terminal equipment, controlling the client to generate a random number under the condition that the identifier is not detected in the terminal equipment, and taking the random number as the identifier.
In the embodiment of the application, the client sends the service request to the terminal device, and simultaneously, the random number generated by the client can be sent to the terminal device, so that the terminal device can receive the service request carrying the random number.
And 102, distributing the service request to one of a plurality of online services to be tested according to the identification.
That is, after receiving a service request from a client, the service request may be allocated to one of a plurality of online services to be tested according to the identifier in the service request.
As an implementation manner, the service request may be allocated to one of the plurality of online services to be tested according to the correspondence between the identifier and the online service to be tested.
Step 103, obtaining service data generated by a plurality of online services to be tested responding to the service request in a preset time length.
The service data includes, but is not limited to, user usage time, user usage duration, etc.
In one embodiment of the present application, after the service request is distributed to one of the plurality of online services to be tested, service data generated by the service request for the online service to be tested within a preset time period may be counted to obtain the generated service data.
And 104, generating a plurality of test reports of the online services to be tested according to the service data of the online services to be tested.
In an embodiment of the present application, service data generated by a plurality of online services to be tested in response to a service request over a preset time period is obtained, and a plurality of test reports of the online services to be tested can be generated according to the service data of the plurality of online services to be tested.
The test report may be understood as a process of acquiring service data generated by a plurality of online services to be tested in response to a service request over a preset time period, and converting the result into a document format.
As a possible implementation manner, the acquired service data may be input into a preset test report model, so that the test report model automatically generates a plurality of test reports of the online service to be tested based on the service data.
According to the testing method of the embodiment of the application, the service request of the client is received, wherein the service request has the identification, the service request is distributed to one of the plurality of online services to be tested according to the identification, then the service data generated by the plurality of online services to be tested responding to the service request in the preset time length is obtained, and the testing reports of the plurality of online services to be tested are generated according to the service data of the plurality of online services to be tested. Therefore, the online service serving as the user service can be selected from the multiple online service services to be tested by combining the identification of the client, and the effectiveness of multiple technical schemes can be quickly verified under the condition of ensuring that the influence on the user experience is as small as possible, so that the optimal selection is carried out.
In order to make the present application easier to understand, the present application proposes a test method of a specific embodiment, wherein it needs to be explained that the test method of the specific embodiment is further refined or optimized for the above-mentioned embodiment. Fig. 2 is a flow chart of a testing method according to an embodiment of the present application, as shown in fig. 2, the testing method may include:
step 201, receiving a service request of a client, wherein the service request has an identifier.
Wherein, in one embodiment of the present application, the identification may be generated by: and when the client is installed in the terminal equipment, controlling the client to generate a random number under the condition that the identifier is not detected in the terminal equipment, and taking the random number as the identifier.
In the embodiment of the application, when it is detected that the client is installed in the terminal device, initialization may be performed, in the initialization process, the terminal device may detect whether an identifier exists, if the identifier does not exist, the client may generate a random number, and when the client sends a service request to the terminal device, the generated random number is sent to the terminal device, so that the terminal device receives the service request carrying the random number.
As a possible implementation manner, the terminal device may directly obtain the random number of the client when detecting that the identifier exists.
The condition that the terminal device detects that the identifier exists can be understood as that the client is being reinstalled, that is, the terminal device stores the random number generated last time or first time by the client.
Step 202, assigning the service request to one of a plurality of online services to be tested according to the identification.
In an embodiment of the present application, after receiving the service request, the serial number corresponding to the identifier may be obtained, and then the online service to be tested corresponding to the service identifier with the same serial number is obtained and used as the target online service, and the service request is distributed to the target online service.
As a possible implementation manner, after receiving the identifier of the client, the identifier may be remainder according to a preset base number to generate a remainder, and the remainder is used as a sequence number corresponding to the identifier.
For example, as shown in fig. 3, after receiving the random number of the client, a multi-bit number is mapped to another number space through a distribution principle, such as a conversion function, y ═ f (x).
The process of mapping the multiple numbers to another space number is a dimension reduction process, that is, the range of x is larger than the range of y.
For example, y is defined as x taking the remainder of 10, x being a random number of 6 bits of "324123", i.e. y being 3, and the service on the line to be tested is the "service 3" branch as in fig. 2.
As another possible implementation manner, after receiving the identifier of the client, the numbers on each bit of the random number in the identifier may be added, and a value obtained by the summation is used as the serial number corresponding to the identifier.
As another possible implementation manner, after receiving the identifier of the client, the sequence number corresponding to the identifier may be obtained from the correspondence between the identifier and the sequence number.
In one embodiment of the present application, since the online service is composed of a plurality of services connected in series, after the distribution of the service request to the online service to be tested is completed, as shown in fig. 3, the next service is required to be entered. Note that, in fig. 3, the next services entered by the service 1, the service 2, the service 3, the service 4, and the service N are the same.
Step 203, obtaining service data generated by a plurality of online services to be tested responding to the service request in a preset time length.
The service data includes, but is not limited to, user usage time, user usage duration, etc.
In an embodiment of the application, after the service request is allocated to one of the plurality of online services to be tested according to the identifier, statistics may be performed on data of the plurality of online services to be tested, and correspondingly, service data generated by the plurality of online services to be tested in response to the service request over a preset time length may be obtained.
And 204, determining the value of each evaluation index of the online service to be tested according to the service data of the online service to be tested aiming at each online service to be tested.
The evaluation indexes include, but are not limited to, conversion rate, click rate, retention rate and the like.
For example, the user use time of the online service to be tested is obtained, and the value of the online service to be tested on the click rate evaluation index can be determined according to the user use time.
And step 205, generating a test report of the online service to be tested according to the value of the online service to be tested on each evaluation index.
In an embodiment of the present application, taking the user usage time of speech synthesis as an example, in the process of allocating a service request to one of a plurality of online services to be tested, as shown in fig. 3, 2 parallel services may be deployed behind the switch (computer language keyword), where two parallel services may be shown in fig. 4, one is an experimental group (upper position) and the other is a control group (lower position), and through comparison of multiple sets of data, it can be seen that the user usage time of the experimental group is significantly longer than that of the control group.
It should be noted that at least one of the procedures, configurations, and models is different between the speech synthesis service used in the experimental group and the speech synthesis service used in the control group.
According to the testing method of the embodiment of the application, the service request of the client is received, wherein the service request has the identification, the service request is distributed to one of the plurality of online services to be tested according to the identification, then the service data generated by the plurality of online services to be tested responding to the service request in the preset time length is obtained, and the testing reports of the plurality of online services to be tested are generated according to the service data of the plurality of online services to be tested. Therefore, the online service serving as the user service can be selected from the multiple online service services to be tested by combining the identification of the client, the method is very quick and efficient, and the effectiveness of multiple technical schemes can be quickly verified under the condition of ensuring that the influence on the user experience is as small as possible, so that the optimal selection is carried out.
Corresponding to the test methods provided in the foregoing several embodiments, an embodiment of the present application further provides a test apparatus, and since the test apparatus provided in the embodiment of the present application corresponds to the test methods provided in the foregoing several embodiments, the implementation manner of the test method is also applicable to the test apparatus provided in the embodiment, and is not described in detail in the embodiment.
FIG. 5 is a schematic view of a test apparatus according to the present application. As shown in fig. 5, the test apparatus 500 includes: a first receiving module 510, a distributing module 520, a first obtaining module 530 and a processing module 540. Wherein:
a first receiving module 510, configured to receive a service request of a client, where the service request has an identifier;
an allocating module 520, configured to allocate the service request to one of a plurality of online services to be tested according to the identifier;
a first obtaining module 530, configured to obtain service data generated by the plurality of online services to be tested responding to the service request over a preset time length;
the processing module 540 is configured to generate a test report of the plurality of online services to be tested according to the service data of the plurality of online services to be tested; as an example, the processing module is specifically configured to: for each online service to be tested, determining the value of the online service to be tested on each evaluation index according to the service data of the online service to be tested; and generating a test report of the online service to be tested according to the value of the online service to be tested on each evaluation index.
In one embodiment of the application, the identification is generated by: when the client is installed in the terminal equipment, under the condition that the identifier is not detected in the terminal equipment, the client is controlled to generate a random number, and the random number is used as the identifier.
In an embodiment of the present application, as shown in fig. 6, the allocating module 620 includes: a first obtaining unit 6201, configured to obtain a sequence number corresponding to the identifier; a second obtaining unit 6202, configured to obtain the online service to be tested corresponding to the service identifier with the same sequence number, and use the online service as a target online service; a first allocating unit 6203, configured to allocate the service request to the target online service.
In an embodiment of the present application, the first obtaining unit 6201 is specifically configured to: and carrying out remainder operation on the identifier according to a preset base number to generate a remainder, and taking the remainder as the serial number.
Wherein 610-640 in fig. 6 and 510-540 in fig. 5 have the same functions and structures.
According to the testing device of the embodiment of the application, the service request of the client is received, wherein the service request has the identifier, the service request is distributed to one of a plurality of online services to be tested according to the identifier, then the service data generated by the plurality of online services to be tested responding to the service request in the preset time length is obtained, and the testing reports of the plurality of online services to be tested are generated according to the service data of the plurality of online services to be tested. Therefore, the online services serving the user can be selected from the online services by combining the random number, the effectiveness of the technical schemes can be quickly verified under the condition that the influence on the user experience is guaranteed to be as small as possible, and therefore the optimal selection is carried out.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 7 is a block diagram of an electronic device according to the testing method of the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 7, the electronic apparatus includes: one or more processors 701, a memory 702, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 7, one processor 701 is taken as an example.
The memory 702 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the testing method provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the testing method provided herein.
The memory 702, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the first receiving module 510, the allocating module 520, the first acquiring module 530, and the processing module 540 shown in fig. 5) corresponding to the testing method in the embodiments of the present application. The processor 701 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 702, that is, implements the test method in the above-described method embodiment.
The memory 702 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the tested electronic device of the on-line service, and the like. Further, the memory 702 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 702 may optionally include memory located remotely from processor 701, which may be connected to the tested electronic devices of the online service over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the test method may further include: an input device 703 and an output device 704. The processor 701, the memory 702, the input device 703 and the output device 704 may be connected by a bus or other means, and fig. 7 illustrates an example of a connection by a bus.
The input device 703 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the tested electronic device for online service, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output device Y04 may include a display device, an auxiliary lighting device (e.g., LED), a tactile feedback device (e.g., vibration motor), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be noted that artificial intelligence is a subject for studying a computer to simulate some human thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware and software technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, machine learning/deep learning, a big data processing technology, a knowledge map technology and the like.
According to the technical scheme of the embodiment of the application, the service request of the client is received, wherein the service request has the identifier, the service request is distributed to one of a plurality of online services to be tested according to the identifier, then service data generated by the plurality of online services to be tested in response to the service request in the preset time length is obtained, and a plurality of test reports of the online services to be tested are generated according to the service data of the plurality of online services to be tested. Therefore, the online services serving the user can be selected from the online services by combining the random number, the effectiveness of the technical schemes can be quickly verified under the condition that the influence on the user experience is guaranteed to be as small as possible, and therefore the optimal selection is carried out.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (13)

1. A method of testing, comprising:
receiving a service request of a client, wherein the service request has an identifier;
distributing the service request to one of a plurality of online services to be tested according to the identification;
acquiring service data generated by the plurality of online services to be tested responding to the service requests in a preset time length;
and generating a test report of the plurality of online services to be tested according to the service data of the plurality of online services to be tested.
2. The test method of claim 1, wherein the identification is generated by:
when the client is installed in the terminal equipment, under the condition that the identifier is not detected in the terminal equipment, the client is controlled to generate a random number, and the random number is used as the identifier.
3. The testing method of claim 1, wherein each of the online services to be tested has a service identification, and the assigning the service request to one of a plurality of online services to be tested according to the identification comprises:
acquiring a serial number corresponding to the identifier;
acquiring the online service to be tested corresponding to the service identification with the same serial number, and using the online service as a target online service;
and distributing the service request to the target online service.
4. The testing method according to claim 3, wherein the obtaining of the serial number corresponding to the identifier comprises:
and carrying out remainder operation on the identifier according to a preset base number to generate a remainder, and taking the remainder as the serial number.
5. The testing method of claim 1, wherein said generating test reports of said plurality of online services to be tested from service data of said plurality of online services to be tested comprises:
for each online service to be tested, determining the value of the online service to be tested on each evaluation index according to the service data of the online service to be tested;
and generating a test report of the online service to be tested according to the value of the online service to be tested on each evaluation index.
6. A test apparatus, comprising:
the system comprises a first receiving module, a second receiving module and a sending module, wherein the first receiving module is used for receiving a service request of a client, and the service request has an identifier;
the distribution module is used for distributing the service request to one of a plurality of online services to be tested according to the identification;
the first acquisition module is used for acquiring service data generated by the plurality of online services to be tested responding to the service requests in a preset time length;
and the processing module is used for generating a test report of the plurality of online services to be tested according to the service data of the plurality of online services to be tested.
7. The test device of claim 6, wherein the identification is generated by:
when the client is installed in the terminal equipment, under the condition that the identifier is not detected in the terminal equipment, the client is controlled to generate a random number, and the random number is used as the identifier.
8. The testing apparatus of claim 6, each of the online services to be tested having a service identifier, the assigning module comprising:
a first obtaining unit, configured to obtain a serial number corresponding to the identifier;
a second obtaining unit, configured to obtain the online service to be tested corresponding to the service identifier with the same sequence number, and use the online service as a target online service;
a first allocation unit, configured to allocate the service request to the service on the target line.
9. The test apparatus according to claim 8, wherein the first obtaining unit is specifically configured to:
and carrying out remainder operation on the identifier according to a preset base number to generate a remainder, and taking the remainder as the serial number.
10. The testing device of claim 6, wherein the processing module is specifically configured to:
for each online service to be tested, determining the value of the online service to be tested on each evaluation index according to the service data of the online service to be tested;
and generating a test report of the online service to be tested according to the value of the online service to be tested on each evaluation index.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
13. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1-5 when executed by a processor.
CN202011339814.XA 2020-11-25 2020-11-25 Test method, test device, electronic equipment and storage medium Pending CN112532483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011339814.XA CN112532483A (en) 2020-11-25 2020-11-25 Test method, test device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011339814.XA CN112532483A (en) 2020-11-25 2020-11-25 Test method, test device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112532483A true CN112532483A (en) 2021-03-19

Family

ID=74993424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011339814.XA Pending CN112532483A (en) 2020-11-25 2020-11-25 Test method, test device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112532483A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113592305A (en) * 2021-07-29 2021-11-02 北京百度网讯科技有限公司 Test method, test device, electronic device, and storage medium
CN113645214A (en) * 2021-08-03 2021-11-12 北京百度网讯科技有限公司 Data detection method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105787125A (en) * 2016-02-19 2016-07-20 王塑 Method for reflecting user feedback through browser and browser
US20170310766A1 (en) * 2016-04-25 2017-10-26 Le Holdings (Beijing) Co., Ltd. Service state determining method for service processing device and scheduling device
CN109471795A (en) * 2018-10-16 2019-03-15 平安普惠企业管理有限公司 It is grouped test method, device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105787125A (en) * 2016-02-19 2016-07-20 王塑 Method for reflecting user feedback through browser and browser
US20170310766A1 (en) * 2016-04-25 2017-10-26 Le Holdings (Beijing) Co., Ltd. Service state determining method for service processing device and scheduling device
CN109471795A (en) * 2018-10-16 2019-03-15 平安普惠企业管理有限公司 It is grouped test method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113592305A (en) * 2021-07-29 2021-11-02 北京百度网讯科技有限公司 Test method, test device, electronic device, and storage medium
CN113645214A (en) * 2021-08-03 2021-11-12 北京百度网讯科技有限公司 Data detection method and device, electronic equipment and readable storage medium
CN113645214B (en) * 2021-08-03 2023-08-15 北京百度网讯科技有限公司 Data detection method, device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
JP2022023769A (en) Method for allocating server resource, device, electronic device, computer readable storage medium and computer program
CN111694646B (en) Resource scheduling method, device, electronic equipment and computer readable storage medium
CN110489306A (en) A kind of alarm threshold value determines method, apparatus, computer equipment and storage medium
CN111737127A (en) Method and apparatus for testing map service
CN111880914A (en) Resource scheduling method, resource scheduling apparatus, electronic device, and storage medium
CN112532483A (en) Test method, test device, electronic equipment and storage medium
CN114090223A (en) Memory access request scheduling method, device, equipment and storage medium
CN111835592A (en) Method, apparatus, electronic device and readable storage medium for determining robustness
CN111241396B (en) Information pushing method and device, electronic equipment and storage medium
CN112487973A (en) User image recognition model updating method and device
CN111796940B (en) Resource allocation method and device and electronic equipment
CN112561059B (en) Method and apparatus for model distillation
US20190281134A1 (en) Sandboxing requests for web services
CN113220452A (en) Resource allocation method, model training method, device and electronic equipment
CN111767149A (en) Scheduling method, device, equipment and storage equipment
CN112486644A (en) Method, apparatus, device and storage medium for generating information
CN112667795A (en) Dialog tree construction method and device, dialog tree operation method, device and system
CN111581518A (en) Information pushing method and device
CN112735601B (en) Test method, device and equipment for determining infectious disease close-contact population by using Bluetooth
CN111783872A (en) Method and device for training model, electronic equipment and computer readable storage medium
CN113655906A (en) Folding screen control method and device
CN113778973A (en) Data storage method and device
CN113377638B (en) Method and device for generating performance test tool
CN111708582A (en) Online configuration method and device and electronic equipment
CN111967492A (en) Method and device for training classification model, 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210319