CN112181823A - Test script execution method and device, server, electronic device and medium - Google Patents

Test script execution method and device, server, electronic device and medium Download PDF

Info

Publication number
CN112181823A
CN112181823A CN202011025689.5A CN202011025689A CN112181823A CN 112181823 A CN112181823 A CN 112181823A CN 202011025689 A CN202011025689 A CN 202011025689A CN 112181823 A CN112181823 A CN 112181823A
Authority
CN
China
Prior art keywords
script
execution
identification
sequence
scripts
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
CN202011025689.5A
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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202011025689.5A priority Critical patent/CN112181823A/en
Publication of CN112181823A publication Critical patent/CN112181823A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a test script execution method, a test script execution device, a server, electronic equipment and a medium. The method comprises the following steps: acquiring a script identifier set in a script execution request sent by a client, wherein the script identifier set combines and generates script identifiers based on the execution sequence of scripts in the script set; according to the submission sequence of the script execution requests, storing the sequence of the script identification sets acquired in a set time period into a task queue; and sequentially distributing the script identifier sets to each agent execution machine according to the positions of the script identifier sets in the task queue, acquiring and executing scripts one by one according to the corresponding script identifier sets through each agent execution machine, and sending an execution result to the client. The embodiment of the invention distributes the script identification set to the agent execution machine in sequence so that the agent execution machine obtains the script by taking the script set as a unit and executes the script in sequence, thereby improving the execution efficiency of the script, ensuring the service logic and enhancing the maintainability of the script.

Description

Test script execution method and device, server, electronic device and medium
Technical Field
The embodiment of the invention relates to computer technology, in particular to a method and a device for executing a test script, a server, electronic equipment and a medium.
Background
With the development idea of agility, the software version iteration is more and more frequent, and the test is used as an indispensable part in the software version iteration and can be adapted to the software version iteration only by improving the efficiency and the flexibility. The traditional manual UI test is more and more popular, and the UI automatic test becomes urgent. The UI automation test refers to a UI test method based on script recording and automatic playback. The most important idea of the UI automation test is that the UI automation test can play an important role in version iteration test after one-time recording and multiple playback.
The traditional UI automation test adopts a strategy that a distributed server randomly pulls scripts to be executed independently when the scripts are executed remotely, and the scripts have no business relevance, so the executing method has the defect that the problem of business relevance among the scripts cannot be solved, and only one script can cover the whole business logic, so that the scripts are overlarge, and the maintenance is difficult. Therefore, how to solve the problems that the UI automation test distributed remote execution efficiency and the service logic are difficult to be compatible and difficult to maintain becomes an urgent need.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for executing a test script, a server, an electronic device, and a medium, which can improve execution efficiency, ensure business logic, and enhance maintainability of the script.
In a first aspect, an embodiment of the present invention provides a method for executing a test script, including:
acquiring a script identifier set in a script execution request sent by a client, wherein the script identifier set combines and generates script identifiers based on the execution sequence of scripts in the script set;
according to the submission sequence of the script execution request, storing the sequence of the script identification sets acquired in a set time period into a task queue;
and sequentially distributing the script identifier sets to each agent execution machine according to the positions of the script identifier sets in the task queue, acquiring and executing scripts one by one according to the corresponding script identifier sets through each agent execution machine, and sending an execution result to a client.
In a second aspect, an embodiment of the present invention further provides an execution method of a test script, including:
acquiring a script identification set corresponding to a script set, wherein the script identification set combines and generates script identifications based on the execution sequence of scripts in the script set;
generating a script execution request according to the script identification set, and sending the script execution request to a server, wherein the script execution request is used for indicating the server to acquire the script identification set in the script execution request sent by the client, and storing the script identification set acquired in a set time period into a task queue according to the submission sequence of the script execution request; according to the position of the script identification set in the task queue, sequentially distributing the script identification set to each agent execution machine, acquiring and executing scripts one by one according to the corresponding script identification set through each agent execution machine, and outputting an execution result;
and receiving an execution result sent by the server.
In a third aspect, an embodiment of the present invention further provides an apparatus for executing a test script, where the apparatus includes:
the system comprises a first acquisition module, a second acquisition module and a script execution module, wherein the first acquisition module is used for acquiring a script identifier set in a script execution request sent by a client, and the script identifier set is generated by combining script identifiers based on the execution sequence of scripts in a script set;
the script storage module is used for storing the script identification set sequence acquired in the set time period into the task queue according to the submission sequence of the script execution request;
and the script distribution module is used for sequentially distributing the script identification set to each agent execution machine according to the position of the script identification set in the task queue, acquiring and executing scripts one by one according to the corresponding script identification set through each agent execution machine, and sending an execution result to the client.
In a fourth aspect, an embodiment of the present invention further provides an apparatus for executing a test script, where the apparatus includes:
the second acquisition module is used for acquiring a script identifier set corresponding to the script set, wherein the script identifier set combines and generates script identifiers based on the execution sequence of scripts in the script set;
the request sending module is used for generating a script execution request according to the script identification set and sending the script execution request to a server, wherein the script execution request is used for indicating the server to acquire the script identification set in the script execution request sent by the client, and the script identification set sequence acquired in a set time period is stored in a task queue according to the submission sequence of the script execution request; according to the position of the script identification set in the task queue, sequentially distributing the script identification set to each agent execution machine, acquiring and executing scripts one by one according to the corresponding script identification set through each agent execution machine, and outputting an execution result;
and the result receiving module is used for receiving the execution result sent by the server.
In a fifth aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for executing the test script provided by any embodiment of the invention.
In a sixth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for executing the test script provided by any embodiment of the invention.
In a seventh aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to execute the execution method of the test script provided in any embodiment of the present invention.
The method comprises the steps of acquiring script identification sets in script execution requests sent by a client, sequentially storing the script identification sets acquired in a set time period into a task queue according to the submission sequence of the script execution requests, sequentially distributing the script identification sets to each agent execution machine according to the positions of the script identification sets in the task queue, acquiring scripts one by one according to the corresponding script identification sets through each agent execution machine, executing the scripts, and sending execution results to the client. The embodiment of the invention sequentially distributes the script identification sets to the agent execution machine so that the agent execution machine obtains the scripts by taking the script set as a unit and sequentially executes the scripts in the script set, and different agent execution machines can simultaneously execute different script sets, thereby solving the related problems of the distributed remote execution of the UI automation test in complex service scenes such as the financial field and the like, improving the execution efficiency of the scripts, ensuring the service logic, and enhancing the maintainability of the scripts by dividing the scripts into the script identification sets.
Drawings
FIG. 1 is a flowchart of a method for executing a test script according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for executing a test script according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for executing a test script according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for executing a test script according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for executing a test script according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of another apparatus for executing a test script according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an eighth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an execution method of a test script according to an embodiment of the present invention, where the method is applicable to a distributed remote execution of UI automation tests in complex business scenarios such as the financial field, and the method may be executed by an execution device of the test script, and the device may be implemented in a software and/or hardware manner. The apparatus may be configured in a server. As shown in fig. 1, the method includes:
and step S101, acquiring a script identification set in a script execution request sent by a client.
The script is a step descriptive language recorded manually, and can be converted into other forms of codes through a conversion tool. For example, the recorded script may be converted into java code by a WEB automation tool selenium.
The client includes a user-operable user interface, such as a computer's web page or the like. The electronic device maintains a long connection with the server through the client, and thus, sends a script execution request to the server through the client. The script execution request is a request for executing the script sent by the client, and is used for instructing the server to send the script to the proxy execution machine, executing the script by the proxy execution machine, and instructing the server to feed back an execution result to the client. The agent execution machine can be understood as a code executor, and is a plug-in for dynamically compiling codes to obtain an operation result. The script execution request can include a set of script identifications. Optionally, the script execution request may further include a creator, an operating user, a submission time, and/or the number of scripts, etc.
A script set may be a collection of scripts having business relevance. The script set can split large business logic into scripts with business relevance, and the scripts must be executed according to a fixed sequence in the execution process. There may be no business association between different script sets. The script identification set combines and generates the script identifications based on the execution sequence of the scripts in the script set. For example, a script set has three scripts, and the script identifiers of the corresponding scripts are a, f, and d, respectively. The script in the script set is executed in the order a, f, and d, and thus the script identification set is afd.
Illustratively, the script identification sets in the 5 script execution requests sent by the server acquisition client are hnag, afd, a, fcd and d in sequence. Each script execution request may include a set of script identifications. The script identification set hnag is provided with 4 script identifications which are h, n, a and g in sequence according to the execution sequence. The script identification set afd has 3 script identifications, which are a, f and d in order of execution. The script identification set a has 1 script identification a. The script identifier set fcd has 3 script identifiers, which are f, c and d in sequence according to the execution order. The script identification set d has 1 script identification d.
And step S102, storing the sequence of the script identifier sets acquired in the set time period into a task queue according to the submission sequence of the script execution requests.
The task queue is a queue for storing the scripts to be executed and is used for sequentially storing script identification sets in the script execution requests according to the submission sequence of the script execution requests.
The set time period can be understood as the time interval for storing the received script execution request into the task queue, namely how often the script execution request is stored into the task queue. The set time period may be any time period preset by a user. For example, assuming that a set time period may be set to 5 minutes in advance, the operation of storing the script execution request into the task queue is performed every 5 minutes, and the script execution request stored into the task queue is a script execution request newly acquired in a time period between the previous storing operation and the current storing operation.
Illustratively, the script execution requests acquired by the server within the set time period are a first script execution request, a second script execution request, a third script execution request, a fourth script execution request and a fifth script execution request in sequence. The script identification set in the first script execution request is hnag, the script identification set in the second script execution request is afd, the script identification set in the third script execution request is a, the script identification set in the fourth script execution request is fcd, and the script identification set in the fifth script execution request is d. And the server stores the script identification sets obtained in the set time period into a task queue in sequence, and the task queue stores the script identification sets in the sequence of hnag, afd, a, fcd and d.
And step S103, sequentially distributing the script identifier sets to each agent execution machine according to the positions of the script identifier sets in the task queue, acquiring and executing scripts one by one according to the corresponding script identifier sets through each agent execution machine, and sending an execution result to the client.
Specifically, the server distributes the script identification set to each idle agent execution machine in sequence according to the position sequence of the script identification set in the task queue. And each agent execution machine acquires each script corresponding to the script identification set one by one according to the received script identification set, and sequentially executes the scripts according to the execution sequence of the scripts contained in the script identification set to obtain an execution result. And the server sends the execution result to the client. Complex service scenes such as the financial field and the like have complex service logics, and as a single UI automation test script may not cover complete service logics, the scripts must be executed according to the service logic sequence if the scripts have the same service relevance, but if all the scripts are executed in sequence, the script execution efficiency is affected, and the distributed agent execution machine cannot be fully utilized. According to the embodiment of the invention, the scripts with the service relevance are placed in the same script set by splitting the scripts, and different script sets can be executed in parallel in sequence in the agent execution machine, so that the execution efficiency and the service logic are both considered, the scripts can be maintained more conveniently by splitting the scripts, and the problem of inconvenience in modification and reading caused by overlarge single script is solved.
Illustratively, the server distributes the script identification sets in the task queues hnag, afd, a, fcd, d to the agent execution machines A, B, C, D and E in sequence, and the agent execution machine A acquires scripts h, n, a and g one by one according to the acquired script identification set hnag and executes h, n, a and g in sequence. The agent execution machine B acquires the scripts a, f, and d one by one according to the acquired script identification set afd, and executes a, f, and d in sequence. And the agent executing machine C acquires the script a according to the acquired script identification set a and executes the script a. And the agent executing machine D acquires the scripts f, c and D one by one according to the acquired script identification set fcd and executes the scripts f, c and D in sequence. And the agent executive machine E acquires the script d according to the acquired script identification set d and executes the script d.
It should be noted that, when the number of the agent execution machines is smaller than the number of the script identifier sets in the task queue, the server may send the script identifier sets to the respective agent execution machines in a loop in sequence. For example, the server distributes the script identification sets in the task queues hnag, afd, a, fcd, d to the agent execution machines A and B in turn. First, the server distributes the script identification set hnag to the agent execution machine a, and distributes the script identification set afd to the agent execution machine B. Then, the server distributes the script identification set a to the agent execution machine A and distributes the script identification set fcd to the agent execution machine B. Finally, the server distributes the script identification set d to the agent execution machine A.
The server may also send the set of script identifications sequentially to the idle agent executors. For example, the server first distributes the script identification set hnag to the agent execution machine a, and distributes the script identification set afd to the agent execution machine B. If the agent execution machine B finishes script execution firstly and is in an idle state, the server can send the next script identification set in the task queue to the agent execution machine B in sequence, and the script execution efficiency is further improved. Specifically, assuming that the agent execution machine B completes the execution operation of the script identification set before the agent execution machine a, the server distributes the script identification set a to the agent execution machine B. And supposing that when the agent execution machine B executes the script identification set a, the return information of the execution result of the agent execution machine A is detected, the agent execution machine A is determined to finish the execution operation of the script identification set hnag, and then the next script identification set fcd is distributed to the agent execution machine A. And after receiving the execution result return information sent by the agent execution machine B, the server determines that the agent execution machine B is in an idle state, and then distributes the script identification set d to the agent execution machine B.
The method comprises the steps of acquiring script identification sets in script execution requests sent by a client, sequentially storing the script identification sets acquired in a set time period into a task queue according to the submission sequence of the script execution requests, sequentially distributing the script identification sets to each agent execution machine according to the positions of the script identification sets in the task queue, acquiring scripts one by one according to the corresponding script identification sets through each agent execution machine, executing the scripts, and sending execution results to the client. The embodiment of the invention sequentially distributes the script identification sets to the agent execution machine so that the agent execution machine obtains the scripts by taking the script set as a unit and sequentially executes the scripts in the script set, and different agent execution machines can simultaneously execute different script sets, thereby solving the problems related to the distributed remote execution of the UI automation test in complex service scenes such as the financial field and the like, improving the execution efficiency of the scripts, ensuring the service logic, and enhancing the maintainability of the scripts by dividing the scripts into the script identification sets.
Example two
Fig. 2 is a flowchart of another method for executing a test script according to a second embodiment of the present invention, where the second embodiment is optimized based on the foregoing embodiment, and as shown in fig. 2, the method includes:
step S201, acquiring a script identifier set in a script execution request sent by a client.
Optionally, a script execution request sent by the client is obtained, and the script execution request is analyzed to obtain a script identifier set stored by using the set data structure.
The set data structure comprises an array, a dynamic array or a double linked list. The script identification set stored by adopting the set data structure stores the script identification by adopting the set data structure according to the script execution sequence so as to ensure that the script with service association is executed according to the logic sequence. For example, the server may parse the script execution request to obtain a set of script identifications stored in the form of an array.
Step S202, obtaining the submission time in the script execution request, and determining the submission sequence of the script execution request obtained in the set time period according to the submission time.
The submission time in the script execution request may be a time when the user clicks a first preset button on a user interface of the client, where the first preset button is used for the client to send the script execution request to the server. For example, when a user clicks a "submit" button corresponding to an a-script set on a web page, the client sends a script execution request corresponding to the a-script set to the service, and the submission time in the script execution request acquired by the server is the time when the user clicks the "submit" button.
And S203, sequencing the script identification set corresponding to the script execution request according to the submission sequence.
Specifically, the server sorts the script identifier sets corresponding to the script execution requests according to the order of the submission time from first to last. And arranging the script identification set with the prior submission time in the front and arranging the script identification set with the later submission time in the back. The submission sequence can be customized by the user according to actual needs.
Further, the server may sort the set data structures corresponding to the script identifier sets according to the submission order. For example, if the script identification set is stored in the form of an array, the server may sort the array corresponding to the script execution request.
And step S204, storing the script identification set sequence into a task queue based on the sequencing result.
Further, the server may store the setting data structure corresponding to the script identification set into the task queue based on the sorting result. For example, if the script identification set is stored in the form of an array, the server may store the array corresponding to the script identification set in the task queue based on the sorting result.
And S205, sequentially generating execution tasks comprising the script identification sets according to the storage positions of the script identification sets in the task queue.
Specifically, the execution tasks including the script identification sets may be tasks corresponding to the script identification sets one to one, that is, one script identification set corresponds to one execution task.
Further, the server may sequentially generate the execution tasks including the script identifier sets according to storage locations of the setting data structures corresponding to the script identifier sets in the task queue. For example, if the script identifier set is stored in the form of an array, the server may sequentially generate the execution tasks including the script identifier set according to the storage positions of the array corresponding to the script identifier set in the task queue.
And step S206, distributing the execution tasks to each agent execution machine in sequence according to the storage positions.
Specifically, the server may distribute the execution tasks to the agent execution machines in sequence from the front to the back of the storage location. If the number of the agent execution machines is smaller than the number of the executed tasks, the server can sequentially and circularly distribute the executed tasks to the agent execution machines according to the storage positions, or sequentially distribute the executed tasks to the idle agent execution machines.
And step S207, analyzing the received execution tasks through each agent execution machine to obtain script identification information and script execution sequence information in the script identification set.
The script identification information is identification information of the script and is used for uniquely identifying the script. The script execution order information is used to determine the execution order of the scripts contained in the script identification set.
And step S208, pulling the scripts corresponding to the script identification information from the database one by one through each agent execution machine according to the script execution sequence information and executing the scripts.
And step S209, sending the execution result to the client.
The execution result may be a test result of the script. If the proxy execution machine has errors when executing the script, the proxy execution machine records an execution result through an execution log; if the agent execution machine executes the script without errors, the execution result is a test pass state.
The embodiment of the invention stores the script identification set by adopting the set data structure, thereby realizing orderly packaging of the script in the form of the set data structure. Determining a submission sequence in a set time period according to the submission time in the script execution request, sequencing the script identification sets according to the submission sequence, storing the script identification set sequence into a task queue based on a sequencing result, generating execution tasks according to a storage position sequence, further sequentially distributing the execution tasks to each agent execution machine, analyzing the execution tasks through the agent execution machines, pulling corresponding scripts from a database and executing the corresponding scripts, solving the problem of sequential execution of the scripts in the same task in a distributed execution environment, and fully considering the execution efficiency and the service logic. By sending the execution result to the client, the user can conveniently check the execution result of the script.
In an exemplary embodiment, upon detecting a script set establishment request sent by a client, a server may determine a script set identifier for a newly established script set; acquiring script set names included in the script set establishing request and identification information of scripts in the newly established script set; and combining the script identification information according to the execution sequence of the newly established script in the script set to obtain a script identification set, and associating and storing the script set identification, the script set name and the script identification set.
The script set creating request is a request for adding a script set sent by the client, and may be generated by the user clicking a second preset button on the user interface of the client, for example, the user clicks an "add" button on a web page, and the client sends the script set creating request to the server.
The script set identification is determined by the server according to a script set establishing request sent by the client and is used for uniquely identifying the newly established script set.
The script set creation request includes a script set name and identification information of a script in the newly created script set. Wherein the script set name can be entered by a user on a user interface of the client. The identification information of the script is used to uniquely identify the script. When the client side obtains the scripts which are added to the newly-built script set by the user, the client side determines the identification information of each script.
Illustratively, the client obtains the script set name entered by the user: the client side determines that identification information of scripts corresponding to the script a1, the script a2 and the script a3 is a1, a2 and a3 respectively. And when detecting a script set establishing request sent by the client, the server determines a script set identifier A for the script set A. The server acquires the identification information a1, a2, and a3 of the a script set and the script included in the script set establishment request. Since the execution sequence of the script a1, the script a2 and the script a3 is the script a2, the script a1 and the script a3, the set of script identifications obtained by the server is a2a1a 3. The server identifies script set A and script set name: the script set A and the script identification set a2a1a3 are stored in the database in an associated manner.
Optionally, the server may execute a corresponding display operation, an edit operation, or a delete operation according to the script set viewing request, the edit request, or the delete request sent by the client, respectively. The displaying operation may be sending information such as a name of the script set, a name of a script contained in the script set, a creator, an operation user, or the number of contained scripts to the client, so as to instruct the client to display corresponding information of the script set. The editing operation may be a modification of information of the script set. The delete operation may be deleting a script set.
EXAMPLE III
Fig. 3 is a flowchart of another method for executing a test script according to a third embodiment of the present invention, where this embodiment is applicable to a case of distributed remote execution of UI automation tests in complex business scenarios such as the financial field, and the method may be executed by an execution device of the test script, and the device may be implemented in a software and/or hardware manner. The apparatus may be configured in an electronic device. As shown in fig. 3, the method includes:
and S301, acquiring a script identification set corresponding to the script set.
And the script identification set combines and generates the script identifications based on the execution sequence of the scripts in the script set.
Specifically, when the remote execution operation of the script set is detected, the script set identifier corresponding to the remote execution operation is determined, a script identifier set corresponding to the script set identifier is obtained, and the script identifier set is stored by adopting a set data structure, wherein the set data structure comprises an array, a dynamic array or a double-linked list.
The remote execution operation can be generated by clicking a first preset button on a user interface of the client by a user. For example, script set names are displayed on a user interface of the client, and according to the fact that a user selects a plurality of script sets needing to be tested and the user clicks a first preset button, the client obtains a script identification set corresponding to the script sets.
Optionally, before obtaining the script identification set corresponding to the script set, the method further includes:
and acquiring the script set identification and the corresponding script identification sent by the server, and displaying the script set identification and the corresponding script identification in a user interface.
Specifically, the client displays a script set identifier and a corresponding script identifier sent by the server in the user interface. The script identification is the script identification of each script in the script set corresponding to the script set identification.
And step S302, generating a script execution request according to the script identification set, and sending the script execution request to a server.
The script execution request is used for indicating the server to acquire a script identifier set in the script execution request sent by the client, and storing the script identifier set sequence acquired in a set time period into the task queue according to the submission sequence of the script execution request; and sequentially distributing the script identifier sets to each agent execution machine according to the positions of the script identifier sets in the task queue, acquiring and executing scripts one by one according to the corresponding script identifier sets through each agent execution machine, and outputting an execution result.
Step S303, receiving the execution result sent by the server.
Specifically, the client receives an execution result corresponding to the script execution request sent by the server, and displays each execution result.
The embodiment of the invention obtains the script identification set corresponding to the script set, generates the script execution request according to the script identification set, and sends the script execution request to the server to instruct the server to sequentially distribute the script identification set to the agent execution machine, so that the agent execution machine obtains the script by taking the script set as a unit and sequentially executes the script in the script set, and different agent execution machines can simultaneously execute different script sets, thereby solving the problem of distributed remote execution of UI (user interface) automatic test in complex service scenes such as the financial field and the like, improving the execution efficiency of the script, ensuring the service logic, and enhancing the maintainability of the script by dividing the script into each script identification set. By receiving the execution result sent by the server, the user can conveniently know the execution result of the script in time.
In an exemplary embodiment, when a script set establishing operation input by a user is detected, acquiring a script set name included in the script set establishing operation information and identification information of a script included in a newly established script set; and generating a script set establishing request according to the script set name and the identification information of the script contained in the newly established script set, and sending the script set establishing request to the server.
The set-up script operation may be generated by a user clicking a second preset button on the user interface of the client for newly setting up a script set. The operation information of creating script set may include name of script set, identification information of script included in the newly created script set, number of scripts in creator, operation user and/or newly created script set, and the like.
Example four
On the basis of the foregoing embodiments, the present embodiment provides a specific implementation manner for the interaction between the server and the client.
Fig. 4 is a flowchart of a method for executing a test script according to a fourth embodiment of the present invention. As shown in FIG. 4, the front-end task assignment module is used to organize a script set, which may be, for example, a user interface of a client. The front-end task allocation module can establish a script set, acquire UI automation test scripts stored in a database, add scripts related to services to the script set, adjust the execution sequence of the scripts to enable the adjusted sequence to accord with service logic, execute the script set according to a remote execution instruction of a user, and send an HTTP request to the back-end service module. Wherein the HTTP request is for instructing the server to execute the script. The message body in the HTTP request may be an array composed of script identifiers of scripts in the script set.
Illustratively, a script set A is established, scripts a1, a2 and a3 related to services are added into the script set A, script sequencing is adjusted according to the script execution sequence, after a user clicks a save button, a client generates a script set with the execution sequence and stores the script set into a database, and the storage form in the database is a script set name, a script set identifier and a script identifier set.
The back-end service module is used for processing the HTTP request and can be arranged in the server. The back-end service module can receive the HTTP request sent by the front-end task allocation module, analyze a script identification array formed by script identifications in the HTTP request, and push the script identification array to a task queue.
The task queue module is used for task allocation and can be arranged in the server. The task queue can receive the script identification array pushed by the back-end service module, sequentially insert the script identification array into the task queue, and sequentially distribute tasks to the agent execution machine. Wherein each task comprises a script identification array.
The agent execution machine is used for processing the script identification array, and can be a distributed agent execution machine. The agent execution machine can judge whether a task exists in the task queue, if so, the distributed agent execution machine can pull the task, analyze the task, pull the scripts from the database one by one according to the sequence of the script identifiers in the script identifier array and execute the scripts, and output an execution log and an execution result to a user interface of the client. Otherwise, the distributed proxy execution machine may be in a wait state.
The embodiment of the invention organizes the scripts with service relevance into an ordered set through the interactive work of the front-end task distribution module, the rear-end service module, the task queue module and the agent execution machine, the ordered set is packaged in an array form, the array is pushed into the task queue, and the agent execution machine takes the array as a unit to pull the tasks from the message queue and analyzes the array to execute the scripts one by one. The execution efficiency of the script is improved, the service logic is ensured, and the maintainability of the script is enhanced by dividing the script into each script identification set.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an apparatus for executing a test script according to a fifth embodiment of the present invention. The device can be realized by software and/or hardware, can be generally integrated in a server, and can improve the execution efficiency, ensure the service logic and enhance the maintainability of the script by executing the execution method of the test script. As shown in fig. 5, the apparatus includes:
a first obtaining module 501, configured to obtain a script identifier set in a script execution request sent by a client, where the script identifier set combines and generates script identifiers based on an execution sequence of scripts in a script set;
a script storage module 502, configured to store a script identifier set sequence obtained within a set time period into a task queue according to a submission sequence of the script execution request;
and the script distribution module 503 is configured to sequentially distribute the script identifier sets to each agent execution machine according to the positions of the script identifier sets in the task queue, acquire and execute scripts one by one according to the corresponding script identifier sets by each agent execution machine, and send execution results to the client.
Optionally, the first obtaining module 501 is specifically configured to:
the method comprises the steps of obtaining a script execution request sent by a client, analyzing the script execution request to obtain a script identification set stored by adopting a set data structure, wherein the set data structure comprises an array, a dynamic array or a double linked list.
Optionally, the script storage module 502 is specifically configured to:
acquiring the submission time in the script execution request, and determining the submission sequence of the acquired script execution request in a set time period according to the submission time;
sequencing the script identification sets corresponding to the script execution requests according to the submission sequence;
and sequentially storing the script identification set into a task queue based on a sequencing result.
Optionally, the script distribution module 503 is specifically configured to:
sequentially generating execution tasks comprising the script identification sets according to the storage positions of the script identification sets in the task queue;
and distributing the execution tasks to each agent execution machine in sequence according to the storage position.
Optionally, the script distribution module 503 is specifically configured to:
analyzing the received execution tasks through each agent execution machine to obtain script identification information and script execution sequence information in a script identification set;
and pulling the scripts corresponding to the script identification information from the database one by one through each agent execution machine according to the script execution sequence information and executing the scripts.
Optionally, the apparatus further comprises:
the identification determining module is used for determining a script set identification for a newly established script set when a script set establishing request sent by a client is detected;
a third obtaining module, configured to obtain a script set name included in the script set establishing request and identification information of a script in the newly established script set;
and the script storage module is used for combining the script identification information according to the execution sequence of the newly established script in the script set to obtain a script identification set, and storing the script set identification, the script set name and the script identification set in an associated manner.
The execution device of the test script provided by the embodiment of the invention can execute the execution method of the test script provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of another apparatus for executing a test script according to a sixth embodiment of the present invention. The device can be realized by software and/or hardware, can be generally integrated in electronic equipment, and can improve the execution efficiency, ensure the service logic and enhance the maintainability of the script by executing the execution method of the test script. As shown in fig. 6, the apparatus includes:
a second obtaining module 601, configured to obtain a script identifier set corresponding to a script set, where the script identifier set combines and generates script identifiers based on an execution sequence of scripts in the script set;
a request sending module 602, configured to generate a script execution request according to the script identifier set, and send the script execution request to a server, where the script execution request is used to instruct the server to obtain a script identifier set in a script execution request sent by a client, and according to a submission sequence of the script execution request, store a sequence of script identifier sets obtained within a set time period into a task queue; according to the position of the script identification set in the task queue, sequentially distributing the script identification set to each agent execution machine, acquiring and executing scripts one by one according to the corresponding script identification set through each agent execution machine, and outputting an execution result;
a result receiving module 603, configured to receive an execution result sent by the server.
Optionally, the apparatus further comprises:
the fourth acquisition module is used for acquiring script set names included in the script set establishment operation information and identification information of scripts included in the newly established script set when the script set establishment operation input by a user is detected;
and the establishment request sending module is used for generating a script set establishment request according to the script set name and the identification information of the script contained in the newly established script set, and sending the script set establishment request to the server.
Optionally, the apparatus further comprises:
and the fifth acquisition module is used for acquiring the script set identifier and the corresponding script identifier sent by the server before acquiring the script identifier set corresponding to the script set, and displaying the script set identifier and the corresponding script identifier in the user interface.
Optionally, the second obtaining module 601 is specifically configured to:
when the remote execution operation of the script set is detected, the script set identification corresponding to the remote execution operation is determined, the script identification set corresponding to the script set identification is obtained, and a set data structure is adopted to store the script identification set, wherein the set data structure comprises an array, a dynamic array or a double-linked list.
The execution device of the test script provided by the embodiment of the invention can execute the execution method of the test script provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of a server according to a seventh embodiment of the present invention, as shown in fig. 7, the server includes a processor 700, a memory 701, an input device 702, and an output device 703; the number of the processors 700 in the server may be one or more, and one processor 700 is taken as an example in fig. 7; the processor 700, the memory 701, the input device 702 and the output device 703 in the server may be connected by a bus or other means, and fig. 7 illustrates an example of connection by a bus.
The memory 701 may be used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions and/or modules corresponding to the execution method of the test script in the embodiment of the present invention (for example, the first obtaining module 501, the script storage module 502, and the script distribution module 503 in the execution device of the test script). The processor 700 executes various functional applications of the server and data processing, i.e., implements the above-described test script execution method, by executing the software programs, instructions, and modules stored in the memory 701.
The memory 701 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 701 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 701 may further include memory located remotely from processor 700, which may be connected to a server 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 input device 702 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the server. The output device 703 may include a display device such as a display screen.
Example eight
Fig. 8 is a schematic structural diagram of an electronic apparatus according to an eighth embodiment of the present invention, as shown in fig. 8, the electronic apparatus includes a processor 800, a memory 801, an input device 802, and an output device 803; the number of the processors 800 in the electronic device may be one or more, and one processor 800 is taken as an example in fig. 8; the processor 800, the memory 801, the input device 802, and the output device 803 in the electronic apparatus may be connected by a bus or other means, and fig. 8 illustrates an example of a connection by a bus.
The memory 801 may be used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions and/or modules corresponding to the execution method of the test script in the embodiment of the present invention (for example, the second obtaining module 601, the request sending module 602, and the result receiving module 603 in the execution device of the test script). The processor 800 executes various functional applications and data processing of the electronic device, that is, implements the above-described test script execution method, by executing the software programs, instructions, and modules stored in the memory 801.
The memory 801 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 801 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 801 may further include memory located remotely from processor 800, which may be connected to an electronic device through 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 input device 802 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic apparatus. The output device 803 may include a display device such as a display screen.
Example nine
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for executing a test script, the method including:
acquiring a script identifier set in a script execution request sent by a client, wherein the script identifier set combines and generates script identifiers based on the execution sequence of scripts in the script set;
according to the submission sequence of the script execution request, storing the sequence of the script identification sets acquired in a set time period into a task queue;
and sequentially distributing the script identifier sets to each agent execution machine according to the positions of the script identifier sets in the task queue, acquiring and executing scripts one by one according to the corresponding script identifier sets through each agent execution machine, and sending an execution result to a client.
Also provided in an embodiment of the present invention is a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for executing a test script, the method including:
acquiring a script identification set corresponding to a script set, wherein the script identification set combines and generates script identifications based on the execution sequence of scripts in the script set;
generating a script execution request according to the script identification set, and sending the script execution request to a server, wherein the script execution request is used for indicating the server to acquire the script identification set in the script execution request sent by the client, and storing the script identification set acquired in a set time period into a task queue according to the submission sequence of the script execution request; according to the position of the script identification set in the task queue, sequentially distributing the script identification set to each agent execution machine, acquiring and executing scripts one by one according to the corresponding script identification set through each agent execution machine, and outputting an execution result;
and receiving an execution result sent by the server.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also execute the relevant operations in the execution method of the test script provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the execution apparatus of the test script, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (15)

1. A method for executing a test script, comprising:
acquiring a script identifier set in a script execution request sent by a client, wherein the script identifier set combines and generates script identifiers based on the execution sequence of scripts in the script set;
according to the submission sequence of the script execution request, storing the sequence of the script identification sets acquired in a set time period into a task queue;
and sequentially distributing the script identifier sets to each agent execution machine according to the positions of the script identifier sets in the task queue, acquiring and executing scripts one by one according to the corresponding script identifier sets through each agent execution machine, and sending an execution result to a client.
2. The method according to claim 1, wherein the obtaining of the script identification set in the script execution request sent by the client comprises:
the method comprises the steps of obtaining a script execution request sent by a client, analyzing the script execution request to obtain a script identification set stored by adopting a set data structure, wherein the set data structure comprises an array, a dynamic array or a double linked list.
3. The method according to claim 1, wherein the storing the script identifier sets obtained within a set time period into a task queue according to the submission order of the script execution requests comprises:
acquiring the submission time in the script execution request, and determining the submission sequence of the acquired script execution request in a set time period according to the submission time;
sequencing the script identification sets corresponding to the script execution requests according to the submission sequence;
and sequentially storing the script identification set into a task queue based on a sequencing result.
4. The method of claim 3, wherein the sequentially distributing the script identifier sets to the agent execution machines according to the positions of the script identifier sets in the task queue comprises:
sequentially generating execution tasks comprising the script identification sets according to the storage positions of the script identification sets in the task queue;
and distributing the execution tasks to each agent execution machine in sequence according to the storage position.
5. The method of claim 4, wherein the obtaining and executing scripts one by one according to the corresponding script identification set by each agent execution machine comprises:
analyzing the received execution tasks through each agent execution machine to obtain script identification information and script execution sequence information in a script identification set;
and pulling the scripts corresponding to the script identification information from the database one by one through each agent execution machine according to the script execution sequence information and executing the scripts.
6. The method of claim 1, further comprising:
when a script set establishing request sent by a client is detected, determining a script set identifier for a newly established script set;
acquiring script set names included in the script set establishing request and identification information of scripts in the newly established script set;
and combining the script identification information according to the execution sequence of the newly established script in the script set to obtain a script identification set, and storing the script set identification, the script set name and the script identification set in an associated manner.
7. A method for executing a test script, comprising:
acquiring a script identification set corresponding to a script set, wherein the script identification set combines and generates script identifications based on the execution sequence of scripts in the script set;
generating a script execution request according to the script identification set, and sending the script execution request to a server, wherein the script execution request is used for indicating the server to acquire the script identification set in the script execution request sent by the client, and storing the script identification set acquired in a set time period into a task queue according to the submission sequence of the script execution request; according to the position of the script identification set in the task queue, sequentially distributing the script identification set to each agent execution machine, acquiring and executing scripts one by one according to the corresponding script identification set through each agent execution machine, and outputting an execution result;
and receiving an execution result sent by the server.
8. The method of claim 7, further comprising:
when the operation of establishing the script set input by a user is detected, acquiring the name of the script set included in the operation information of establishing the script set and the identification information of the script included in the newly established script set;
and generating a script set establishing request according to the script set name and the identification information of the script contained in the newly established script set, and sending the script set establishing request to a server.
9. The method of claim 7, further comprising, prior to obtaining the set of script identifiers corresponding to the set of scripts:
and acquiring a script set identifier and a corresponding script identifier sent by the server, and displaying the script set identifier and the corresponding script identifier in a user interface.
10. The method of claim 9, wherein obtaining a set of script identifiers corresponding to a set of scripts comprises:
when the remote execution operation of the script set is detected, the script set identification corresponding to the remote execution operation is determined, the script identification set corresponding to the script set identification is obtained, and a set data structure is adopted to store the script identification set, wherein the set data structure comprises an array, a dynamic array or a double-linked list.
11. An apparatus for executing a test script, comprising:
the system comprises a first acquisition module, a second acquisition module and a script execution module, wherein the first acquisition module is used for acquiring a script identifier set in a script execution request sent by a client, and the script identifier set is generated by combining script identifiers based on the execution sequence of scripts in a script set;
the script storage module is used for storing the script identification set sequence acquired in the set time period into the task queue according to the submission sequence of the script execution request;
and the script distribution module is used for sequentially distributing the script identification set to each agent execution machine according to the position of the script identification set in the task queue, acquiring and executing scripts one by one according to the corresponding script identification set through each agent execution machine, and sending an execution result to the client.
12. An apparatus for executing a test script, comprising:
the second acquisition module is used for acquiring a script identifier set corresponding to the script set, wherein the script identifier set combines and generates script identifiers based on the execution sequence of scripts in the script set;
the request sending module is used for generating a script execution request according to the script identification set and sending the script execution request to a server, wherein the script execution request is used for indicating the server to acquire the script identification set in the script execution request sent by the client, and the script identification set sequence acquired in a set time period is stored in a task queue according to the submission sequence of the script execution request; according to the position of the script identification set in the task queue, sequentially distributing the script identification set to each agent execution machine, acquiring and executing scripts one by one according to the corresponding script identification set through each agent execution machine, and outputting an execution result;
and the result receiving module is used for receiving the execution result sent by the server.
13. A server, characterized in that the server comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of execution of a test script as claimed in any one of claims 1 to 6.
14. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of execution of a test script as claimed in any one of claims 7 to 10.
15. A storage medium containing computer-executable instructions for performing a method of execution of a test script according to any one of claims 1 to 10 when executed by a computer processor.
CN202011025689.5A 2020-09-25 2020-09-25 Test script execution method and device, server, electronic device and medium Pending CN112181823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011025689.5A CN112181823A (en) 2020-09-25 2020-09-25 Test script execution method and device, server, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011025689.5A CN112181823A (en) 2020-09-25 2020-09-25 Test script execution method and device, server, electronic device and medium

Publications (1)

Publication Number Publication Date
CN112181823A true CN112181823A (en) 2021-01-05

Family

ID=73943967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011025689.5A Pending CN112181823A (en) 2020-09-25 2020-09-25 Test script execution method and device, server, electronic device and medium

Country Status (1)

Country Link
CN (1) CN112181823A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051173A (en) * 2021-04-13 2021-06-29 广州虎牙科技有限公司 Test flow arrangement execution method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060136579A1 (en) * 2004-12-21 2006-06-22 International Business Machines Corporation Method of executing test scripts against multiple systems
US20160360298A1 (en) * 2015-06-02 2016-12-08 International Business Machines Corporation Generating customized on-demand videos from automated test scripts
CN106569783A (en) * 2015-10-08 2017-04-19 腾讯科技(深圳)有限公司 Task script executing method and apparatus
CN110297757A (en) * 2019-05-16 2019-10-01 平安科技(深圳)有限公司 Test cases management method, device, equipment and computer readable storage medium
CN111242439A (en) * 2020-01-03 2020-06-05 北京科技大学 Trust mechanism-based dynamic task allocation decision-making auxiliary method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060136579A1 (en) * 2004-12-21 2006-06-22 International Business Machines Corporation Method of executing test scripts against multiple systems
US20160360298A1 (en) * 2015-06-02 2016-12-08 International Business Machines Corporation Generating customized on-demand videos from automated test scripts
CN106569783A (en) * 2015-10-08 2017-04-19 腾讯科技(深圳)有限公司 Task script executing method and apparatus
CN110297757A (en) * 2019-05-16 2019-10-01 平安科技(深圳)有限公司 Test cases management method, device, equipment and computer readable storage medium
CN111242439A (en) * 2020-01-03 2020-06-05 北京科技大学 Trust mechanism-based dynamic task allocation decision-making auxiliary method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051173A (en) * 2021-04-13 2021-06-29 广州虎牙科技有限公司 Test flow arrangement execution method and device, computer equipment and storage medium
CN113051173B (en) * 2021-04-13 2024-04-19 广州虎牙科技有限公司 Method, device, computer equipment and storage medium for arranging and executing test flow

Similar Documents

Publication Publication Date Title
CN111159049B (en) Automatic interface testing method and system
CN109710810B (en) Change management method, device, equipment and storage medium
CN111045911B (en) Performance test method, performance test device, storage medium and electronic equipment
CN112631919B (en) Contrast test method, device, computer equipment and storage medium
CN113220431B (en) Cross-cloud distributed data task scheduling method, device and storage medium
US8046638B2 (en) Testing of distributed systems
CN112286806A (en) Automatic testing method and device, storage medium and electronic equipment
CN111679886A (en) Heterogeneous computing resource scheduling method, system, electronic device and storage medium
CN110147327B (en) Multi-granularity-based web automatic test management method
CN111159046A (en) Test method, test device, electronic equipment, test system and storage medium
CN111666201A (en) Regression testing method, device, medium and electronic equipment
CN111510468A (en) Method and device for scheduling computing tasks, server and computing system
CN110750453B (en) HTML 5-based intelligent mobile terminal testing method, system, server and storage medium
CN110851324A (en) Log-based routing inspection processing method and device, electronic equipment and storage medium
CN111552521A (en) Application data reporting method, device, server and storage medium
CN112181823A (en) Test script execution method and device, server, electronic device and medium
CN114443603A (en) Transaction log playback method and device, computer equipment and medium
CN112084111B (en) Data processing method, system and device
CN114564387A (en) Scene type automatic testing method and system for OpenStack cloud platform
CN110928672B (en) Task arranging method, device and equipment and storage medium
CN113596871A (en) Test method, server and computer storage medium
CN114610689B (en) Recording and analyzing method for request log in distributed environment
CN113742426B (en) Data synchronization method, device, equipment, server and storage medium
CN113626301B (en) Method and device for generating test script
CN111190725B (en) Task processing method, device, storage medium and server

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

Application publication date: 20210105

RJ01 Rejection of invention patent application after publication