CN115168238A - Test method, device, equipment and medium - Google Patents

Test method, device, equipment and medium Download PDF

Info

Publication number
CN115168238A
CN115168238A CN202210929617.6A CN202210929617A CN115168238A CN 115168238 A CN115168238 A CN 115168238A CN 202210929617 A CN202210929617 A CN 202210929617A CN 115168238 A CN115168238 A CN 115168238A
Authority
CN
China
Prior art keywords
test
information
execution
testing
result information
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
CN202210929617.6A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210929617.6A priority Critical patent/CN115168238A/en
Publication of CN115168238A publication Critical patent/CN115168238A/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)
  • Debugging And Monitoring (AREA)

Abstract

The present disclosure provides a testing method, device, apparatus, and medium, which can be applied to the technical field of software testing and the technical field of finance. The test method comprises the following steps: responding to a test request from a client, and acquiring first delay execution time information from a target test script by using a main thread through calling a target function; executing the (n-1) th testing step by using the main thread to obtain first testing result information; under the condition that the time interval between the first current time information and the execution finishing time information of the (n-1) th test step is larger than the first delay execution time information, executing the nth test step by utilizing a first asynchronous thread according to the first test data to obtain second test result information; and generating target test result information according to the first test result information and the second test result information.

Description

Test method, device, equipment and medium
Technical Field
The present disclosure relates to the field of software testing and financial technology, and in particular, to a testing method, apparatus, device, medium, and program product.
Background
In the current business transaction scenario, many situations can be involved, in which a background system is required to process transaction data in a centralized manner.
In carrying out the inventive concept of the present disclosure, the inventors found that the related art has the following drawbacks: in a traditional test environment, due to the fact that a certain intermittent period exists in background system switching or batch processing, the problem that an automatic test script can continue to execute a test only by delaying to wait occurs, and test efficiency is low is caused.
Disclosure of Invention
In view of the above, the present disclosure provides a testing method, apparatus, device, medium, and program product.
According to an aspect of the present disclosure, there is provided a test method including:
responding to a test request from a client, utilizing a main thread to obtain first delay execution time information from a target test script by calling a target function, wherein the first delay execution time information represents first preset time interval information between execution start time information of an nth test step and execution end time information of an n-1 test step, and n is a positive integer greater than 1;
executing the (n-1) th testing step by using the main thread to obtain first testing result information, wherein the first testing result information comprises first testing data for executing the (n) th testing step and execution ending time information of the (n-1) th testing step;
under the condition that the time interval between the first current time information and the execution finishing time information of the (n-1) th test step is larger than the first delay execution time information, executing the nth test step by utilizing a first asynchronous thread according to the first test data to obtain second test result information; and
and generating target test result information according to the first test result information and the second test result information.
According to the embodiment of the present disclosure, the nth testing step includes m subtest steps, the nth testing step is executed by using the first asynchronous thread according to the first testing data to obtain the second testing result information, and the method further includes:
acquiring second delay execution time length information from the nth testing step by calling a target function by using the first asynchronous thread, wherein the second delay execution time length information represents second preset time interval information between execution starting time information of the mth sub-testing step and execution ending time information of the (m-1) th sub-testing step, and m is a positive integer greater than 1;
executing the m-1 sub-test step according to the first test data by using the first asynchronous thread to obtain first sub-test result information, wherein the first sub-test result information comprises second test data for executing the m-1 sub-test step and execution ending time information of the m-1 sub-test step
Under the condition that the time interval between the second current time information and the execution finishing time information of the (m-1) th sub-test step is larger than second preset time interval information, executing the mth sub-test step by using a second asynchronous thread according to second test data to obtain second sub-test result information;
and generating second test result information according to the first sub-test result information and the second sub-test result information.
According to the embodiment of the present disclosure, when the time interval between the first current time information and the execution end time information of the (n-1) th test step is greater than the first delay execution duration information, the executing the nth test step according to the first test data by using the first asynchronous thread to obtain the second test result information includes:
under the condition that the time interval between the first current time information and the execution ending time information of the n-th 1 st test step is larger than the first delay execution time information, acquiring first test data;
sending first test data to the first asynchronous thread;
and executing the nth testing step by using the first asynchronous thread according to the first testing data through a reflection mechanism to obtain second testing result information.
According to the embodiment of the present disclosure, the performing the nth test step by the first asynchronous thread according to the first test data through the reflection mechanism to obtain the second test result information includes:
analyzing the first test data by using the first asynchronous thread to obtain test script parameter information for executing the nth test step;
and executing the nth test step through a reflection mechanism according to the test script parameter information to obtain second test result information.
According to the embodiment of the disclosure, in response to a test request from a client, acquiring first delay execution time length information from a target test script by calling a target function by using a main thread, includes:
responding to a test request from a client, acquiring a delayed execution to-be-processed data table, wherein the delayed execution to-be-processed data table comprises delayed execution time length information corresponding to different test scripts, and each piece of delayed execution time length information is obtained from the test scripts by calling a target function by using a main thread;
and acquiring first delay execution time information from the delay execution to-be-processed data sheet according to the identification information of the target test script.
According to an embodiment of the present disclosure, the testing method further includes:
and recording the second delay execution time length information in the delay execution to-be-processed data table under the condition that the second delay execution time length information is acquired from the nth test step by calling the target function by using the first asynchronous thread.
According to an embodiment of the present disclosure, the testing method further includes:
responding to a test request from a client, and creating a test case execution result registration table by using a main thread, wherein the test case execution result registration table comprises test case execution condition information;
scanning a delay execution to-be-processed data table, and determining that the execution condition information of the test case is information for representing the completion of the test under the condition that the data quantity in the delay execution to-be-processed data table meets the preset condition;
and under the condition that the execution condition of the test case is determined to be the information for representing the completion of the test, generating target test result information according to the first test result information and the second test result information.
Another aspect of the present disclosure provides a test apparatus, including: the device comprises a first acquisition module, a first execution module, a second execution module and a first generation module. The first obtaining module is configured to, in response to a test request from a client, obtain, by using a main thread, first delay execution time information from a target test script by calling a target function, where the first delay execution time information represents first preset time interval information between execution start time information of an nth test step and execution end time information of an n-1 st test step, where n is a positive integer greater than 1. And the first execution module is used for executing the (n-1) th test step by using the main thread to obtain first test result information, wherein the first test result information comprises first test data used for executing the (n) th test step and execution ending time information of the (n-1) th test step. And the second execution module is used for executing the nth test step according to the first test data by using the first asynchronous thread under the condition that the time interval between the first current time information and the execution finishing time information of the (n-1) th test step is greater than the first delay execution time length information to obtain second test result information. And the first generating module is used for generating target test result information according to the first test result information and the second test result information.
According to an embodiment of the present disclosure, the second execution module includes a first obtaining unit, a first execution unit, a second execution unit, and a generation unit. The first obtaining unit is used for obtaining second delay execution time length information from an nth testing step by calling a target function through a first asynchronous thread, wherein the second delay execution time length information represents second preset time interval information between execution starting time information of an mth sub-testing step and execution ending time information of an m-1 th sub-testing step, m is a positive integer larger than 1. And the second execution unit is used for executing the mth sub-test step by using a second asynchronous thread according to the second test data under the condition that the time interval between the second current time information and the execution finishing time information of the (m-1) th sub-test step is greater than second preset time interval information to obtain second sub-test result information. And the generating unit is used for generating second test result information according to the first sub-test result information and the second sub-test result information.
According to an embodiment of the present disclosure, the second execution module includes a second acquisition unit, a transmission unit, and a third execution unit. The second obtaining unit is used for obtaining the first test data under the condition that the time interval between the first current time information and the execution ending time information of the (n-1) th test step is larger than the first delay execution time information. And the sending unit is used for sending the first test data to the first asynchronous thread. And the third execution unit is used for executing the nth test step by utilizing the first asynchronous thread according to the first test data through a reflection mechanism to obtain second test result information.
According to an embodiment of the present disclosure, the third execution unit includes a parsing subunit and an execution subunit. The execution subunit is used for executing the nth test step through a reflection mechanism according to the test script parameter information to obtain second test result information.
According to an embodiment of the present disclosure, the first acquisition module includes a third acquisition unit and a fourth acquisition unit. The system comprises a first obtaining unit, a second obtaining unit and a third obtaining module, wherein the first obtaining unit is used for obtaining a delay execution to-be-processed data table in response to a test request from a client, the delay execution to-be-processed data table comprises delay execution time information corresponding to different test scripts, and each piece of delay execution time information is obtained from the test script by calling a target function through a main thread.
According to an embodiment of the present disclosure, the testing apparatus further includes a second obtaining module. The second obtaining module is configured to record the second delay execution time length information in the delay execution to-be-processed data table when the second delay execution time length information is obtained from the nth testing step by calling the target function using the first asynchronous thread.
According to an embodiment of the present disclosure, the testing apparatus further includes a creating module, a determining module, and a second generating module. The creating module is used for responding to a test request from a client and creating a test case execution result registration table by using a main thread, wherein the test case execution result registration table comprises test case execution condition information. And the determining module is used for executing the data table to be processed through scanning delay, and determining the test case execution condition information as the information for representing the completion of the test under the condition that the data volume in the data table to be processed is determined to meet the preset condition. And the second generating module is used for generating target test result information according to the first test result information and the second test result information under the condition that the execution condition of the test case is determined to be the information for representing the completion of the test.
Another aspect of the present disclosure provides an electronic device including: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the above-described testing method.
Another aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described test method.
Another aspect of the disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above-described testing method.
According to the embodiment of the disclosure, the main thread is used for obtaining the first delay execution time length information from the target test script by calling the target function, the asynchronous thread is used for executing the next test step according to the test data obtained by the main thread executing the previous test step under the condition that the time interval between the current time length information and the execution ending time length information of the previous test step is greater than the first delay execution time length, and the target test result information is generated according to the test results of the main thread and the asynchronous thread. The method has the advantages that the target function is called, so that the delay execution time information between two testing steps can be directly obtained from the target testing script, the asynchronous thread processes the testing steps needing to be executed in a delay waiting mode, the processing progress of the testing steps of the main thread cannot be delayed, excessive asynchronous threads are not required to be configured in advance to wait for the execution of the testing steps, the script testing efficiency is improved, and meanwhile, the resource utilization rate is also improved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of a testing method, apparatus, device, medium, and program product according to embodiments of the disclosure;
FIG. 2 schematically illustrates a flow diagram of a testing method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flowchart for performing an nth testing step according to first test data using a first asynchronous thread to obtain second test result information, according to an embodiment of the present disclosure;
FIG. 4 is a flow diagram that schematically illustrates obtaining first latency execution duration information from a target test script using a main thread by calling a target function, in accordance with an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flowchart for generating target test result information from first test result information and second test result information, according to an embodiment of the disclosure;
FIG. 6 schematically illustrates a logical block diagram of a testing method according to an embodiment of the present disclosure;
FIG. 7 schematically shows a block diagram of a test apparatus according to an embodiment of the present disclosure; and
fig. 8 schematically shows a block diagram of an electronic device suitable for implementing a testing method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "A, B and at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
It should be noted that the testing method and device of the present disclosure can be used in the financial field and the software testing technology field, and can also be used in any fields other than the financial technology field and the software testing technology field. The application field of the test method and the device of the present disclosure is not limited.
The embodiment of the disclosure provides a testing method, which includes that a main thread is used for obtaining first delay execution time length information from a target testing script by calling a target function, an asynchronous thread is used for executing a next testing step according to testing data obtained by the main thread executing a previous testing step under the condition that the time interval between the current time length information and execution ending time length information of the previous testing step is larger than the first delay execution time length, and target testing result information is generated according to testing results of the main thread and the asynchronous thread. The method has the advantages that the target function is called, the delay execution time information between the two test steps can be directly obtained from the target test script, the asynchronous thread processes the test steps needing to be executed in a delay waiting mode, the processing process of the test steps of the main thread cannot be delayed, excessive asynchronous threads do not need to be configured in advance to wait for the execution of the test steps, the script test efficiency is improved, and meanwhile, the resource utilization rate is improved.
Fig. 1 schematically shows an application scenario diagram of a testing method according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is the medium used to provide communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The backend management server may analyze and process the received data such as the user request, and feed back a processing result (for example, a web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the testing method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the testing device provided by the embodiments of the present disclosure may be generally disposed in the server 105. The testing method provided by the embodiments of the present disclosure may also be performed by a server or a cluster of servers different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the testing apparatus provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The test method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 6 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart of a testing method according to an embodiment of the present disclosure.
As shown in fig. 2, the test method of this embodiment includes operations S210 to S240.
In operation S210, in response to a test request from a client, a main thread is used to obtain first delay execution time information from a target test script by calling a target function, where the first delay execution time information represents first preset time interval information between execution start time information of an nth test step and execution end time information of an n-1 st test step, where n is a positive integer greater than 1.
According to an embodiment of the present disclosure, the objective function may be a delayOperation method function, and the main thread may identify first delay execution time information, n-1 th test step information, nth test step information, and the like from the objective test script by calling the delayOperation method.
According to an embodiment of the present disclosure, the first preset time interval information may be a time interval of system intermittent waiting of the data processing system involved in the nth test step and the n-1 st test step. For example: the (n-1) th test step is a test step a, the nth test step is a test step B, and after the test step a is completed, the system for performing the test step B processes data every 3 minutes, so that the first preset time interval information Δ t may be set to 3 minutes.
In operation S220, an n-1 th testing step is performed by using the main thread to obtain first testing result information, where the first testing result information includes first testing data for performing the n-th testing step and execution end time information of the n-1 th testing step.
According to an embodiment of the present disclosure, taking a test script for transfer remittance as an example, the 1 st test step may be a transfer step, and the 2 nd test step may be a data collation step. Executing the 1 st testing step by using the main thread, wherein the obtained first testing result information can comprise new transfer amount, balance information of the account A, balance information of the account B and end time t for completing the transfer transaction test from the account A to the account B 1 . The first test data may include transfer amount updates, account a balance information, account B balance information.
In operation S230, in the case that the time interval between the first current time information and the execution end time information of the (n-1) th test step is greater than the first delay execution time information, the nth test step is executed according to the first test data by using the first asynchronous thread, so as to obtain second test result information.
According to the embodiment of the present disclosure, the first current time may be a time when the execution end time information of the (n-1) th test step is acquired, for example: after waiting for a certain time according to a preset time period, obtaining the time t of the execution ending time information of the (n-1) th test step by scanning a database or a data table of the main thread 0
According to the present disclosureExample at t 0 -t 1 And if the difference is larger than delta t, performing a data checking step by using the first asynchronous thread according to the new transfer amount, the balance information of the account A and the balance information of the account B to obtain second test result information, wherein the second test result information can be checked accurately or not accurately.
In operation S240, target test result information is generated according to the first test result information and the second test result information.
According to the embodiment of the disclosure, the target test result information may be a test report for the test case, and may include a test result for each step in the test case, so that a tester can know whether the test node is abnormal in time.
According to the embodiment of the disclosure, the main thread is used for obtaining the first delay execution time length information from the target test script by calling the target function, the asynchronous thread is used for executing the next test step according to the test data obtained by the main thread executing the previous test step under the condition that the time interval between the current time length information and the execution ending time length information of the previous test step is greater than the first delay execution time length, and the target test result information is generated according to the test results of the main thread and the asynchronous thread. The method has the advantages that the target function is called, the delay execution time information between the two test steps can be directly obtained from the target test script, the asynchronous thread processes the test steps needing to be executed in a delay waiting mode, the processing process of the test steps of the main thread cannot be delayed, excessive asynchronous threads do not need to be configured in advance to wait for the execution of the test steps, the script test efficiency is improved, and meanwhile, the resource utilization rate is improved.
Fig. 3 schematically shows a flowchart for performing an nth test step according to first test data by using a first asynchronous thread to obtain second test result information according to an embodiment of the present disclosure.
As shown in fig. 3, the method for performing the nth testing step to obtain the second testing result information of the embodiment includes operations S310 to S340.
In operation S310, second delay execution time length information is obtained from the nth testing step by calling the target function using the first asynchronous thread, where the second delay execution time length information represents second preset time interval information between execution start time information of the mth sub-testing step and execution end time information of the (m-1) th sub-testing step, where m is a positive integer greater than 1.
According to an embodiment of the present disclosure, m test sub-steps may be included in the nth test step. The m test sub-steps may also be part of a target test script, such as: the target test script A comprises a test step 1, a test step 2, a test step 3 and a test step 4. The first delay execution duration information obtained by calling the target function by using the main thread may be a delay waiting time interval between the test step 1 and the test step 2, at this time, the test step 2 to the test step 4 may be taken as the 2 nd test step as a whole, and the test step 1 may be taken as the 1 st test step. When the 2 nd test step is processed by using the asynchronous thread, the second delay waiting duration information existing between the test step 3 and the test step 4 is obtained by calling a target function, the test step 2 and the test step 3 can be used as the 1 st sub-test step, and the test step 4 can be used as the 2 nd sub-test step.
According to an embodiment of the present disclosure, for example: in a payment scenario of a third-party transaction platform, account a needs to pay M elements to account B, and the transaction needs to be completed through the following steps: step A: deducting M elements from an account A; and B: transferring the M element to a third party trading platform by an account A; and C: checking transaction data of the third party transaction platform and the account A; step D: transferring M elements to the account B by the third-party transaction platform; step E: and checking the transaction data of the third party transaction platform and the account B. The first delay execution time length information obtained by the main thread by calling the target function may be preset time interval information between the step B and the step C. Step a and step B may then be the 1 st test step performed by the main thread; steps C-E may be taken as the 2 nd test step handled by the first asynchronous thread.
According to an embodiment of the present disclosure, the second delay execution time length information obtained by calling the target function using the first asynchronous thread may be preset time interval information between step D and step E, step C and step D may be a 1 st test sub-step processed by the first asynchronous thread, and step E may be a 2 nd test sub-step processed by the second asynchronous thread.
In operation S320, the m-1 st sub-test step is performed according to the first test data by using the first asynchronous thread to obtain first sub-test result information, where the first sub-test result information includes second test data used for performing the m-th sub-test step and execution end time information of the m-1 st sub-test step.
According to an embodiment of the present disclosure, the second test data may be result data generated after performing step D, for example: account balance of the third party transaction platform, amount to be transferred, balance of the account B, account information of the third party transaction platform and the account B and the like.
In operation S330, when the time interval between the second current time information and the execution end time information of the (m-1) th sub-test step is greater than the second preset time interval information, the (m) th sub-test step is executed according to the second test data by using the second asynchronous thread, so as to obtain second sub-test result information.
According to an embodiment of the present disclosure, the second current time may be a time when the execution end time information of the (m-1) th sub-test step is acquired, for example: after waiting for a certain time according to a preset time period, obtaining the time t of the execution ending time information of the (m-1) th test step by scanning a database or a data table of the first asynchronous thread 0’
According to an embodiment of the present disclosure, for example: if the data processing system of the third party trading platform processes data every 5 minutes, the second delay execution time Δ t' may be 5 minutes. When t is 0’ -t 2 When the test result is more than delta t', the step E can be executed by utilizing a second asynchronous thread according to second test data to obtain second sub-test result information, wherein t is 2 Is the execution end time of step D.
In operation S340, second test result information is generated according to the first sub-test result information and the second sub-test result information.
According to an embodiment of the present disclosure, for example: the first sub-test result information can be the transaction completion of M-yuan payment to the account B by the third party platform, and the second sub-test result information can be the verification of transfer transaction data from the third party platform to the account B, so that the second test result information is generated.
According to the embodiment of the disclosure, the first asynchronous thread is used for obtaining the second delay execution time long information from the n test steps by calling the target function, so that the flexible allocation of the test steps needing to be executed is realized under the condition that the asynchronous thread resources are limited, the idle waiting time of the asynchronous thread can be reduced, and the resource utilization rate is improved.
FIG. 4 is a flow diagram that schematically illustrates obtaining first latency execution duration information from a target test script using a main thread by calling a target function, in accordance with an embodiment of the present disclosure.
As shown in fig. 4, the method of acquiring the first latency execution duration information of this embodiment includes operations S410 to S420.
In operation S410, in response to a test request from a client, a delayed execution to-be-processed data table is obtained, where the delayed execution to-be-processed data table includes delayed execution duration information corresponding to different test scripts, and each of the delayed execution duration information is obtained from the test script by calling a target function using a main thread.
According to the embodiment of the disclosure, the delayed execution to-be-processed data table may include delayed execution time length information corresponding to different test scripts. For example: the delayed execution data table to be processed may include a test script class name, a script case name, delayed execution time length information, a timestamp, a test step to be executed, test data required by the test step to be executed, an execution state, and the like. The timestamp may represent time information for acquiring test data required by the test step to be executed, for example: the test step B is a test step to be executed, the test step a is a test step previous to the test step B, and the time stamp can be a time when the test step a is completed and test data required by the test step B is generated.
In operation S420, first latency execution duration information is acquired from the latency execution to-be-processed data table according to the identification information of the target test script.
According to the embodiment of the disclosure, the identification information of the target test script may include a test script class name and a script case name, and the first delay execution duration information may be determined by querying the delay execution to-be-processed data table.
According to the embodiment of the disclosure, by establishing the delayed execution to-be-processed data table, the delayed execution to-be-processed data table can be inquired, the delayed execution time length information is determined, and the test step needing delayed execution is sent to the asynchronous thread for processing, so that the test efficiency is improved.
According to an embodiment of the present disclosure, the test method further includes:
and recording the second delay execution time length information in the delay execution to-be-processed data table under the condition that the second delay execution time length information is acquired from the nth test step by calling the target function by using the first asynchronous thread.
According to the embodiment of the disclosure, when the nth test step is processed by using the asynchronous thread, when the second delay execution time-length information is acquired, the corresponding information can be recorded according to the format of the delay execution to-be-processed data table, so that the test step needing delay processing is sent to other asynchronous threads for processing when the test step reaches the executable condition, the waiting time in the single thread processing process is saved, and the test efficiency is improved.
According to the embodiment of the present disclosure, when the time interval between the first current time information and the execution end time information of the (n-1) th test step is greater than the first delay execution duration information, the executing the nth test step according to the first test data by using the first asynchronous thread to obtain the second test result information includes:
under the condition that the time interval between the first current time information and the execution ending time information of the n-th 1 st test step is larger than the first delay execution time information, acquiring first test data;
sending first test data to a first asynchronous thread;
and executing the nth testing step by using the first asynchronous thread according to the first testing data through a reflection mechanism to obtain second testing result information.
According to the embodiment of the disclosure, the acquired first test data may be recorded in the test step corresponding to the delayed execution of the to-be-processed data table, and the time for generating the first test data is recorded in the delayed execution of the to-be-processed data table in the form of a timestamp.
According to the embodiment of the disclosure, the data table to be processed can be executed through scanning delay, and the test step and the corresponding test data which can be sent to the asynchronous thread processing are determined. For example: the time of scanning the delayed execution to-be-processed data table is T1, the execution end time information (i.e., the time stamp) of the (n-1) th test step recorded in the delayed execution to-be-processed data table is T2, the first delayed execution length information is Δ T, and when T1-T2 > Δ T, it indicates that the system for executing the nth test step can perform data processing, and then the first test data can be sent to the first asynchronous thread.
According to an embodiment of the present disclosure, the first asynchronous thread may perform the nth test step using a reflective mechanism of Java after receiving the first test data.
According to the embodiment of the disclosure, the first test data is sent to the first asynchronous thread only when the time interval between the first current time information and the execution ending time information of the (n-1) th test step is greater than the first delay execution duration information, so that the problem of resource waste caused by the fact that excessive threads are occupied to wait for the test data used for executing the test steps in the process of testing by adopting parallel threads in the related art can be effectively solved, and the resource utilization rate and the test efficiency are improved.
According to the embodiment of the present disclosure, the performing the nth test step by the first asynchronous thread according to the first test data through the reflection mechanism to obtain the second test result information includes:
analyzing the first test data by using the first asynchronous thread to obtain test script parameter information for executing the nth test step;
and executing the nth test step through a reflection mechanism according to the test script parameter information to obtain second test result information.
According to an embodiment of the present disclosure, the first test data may include test data for performing an nth test step and a name of the nth test step. The name of the nth test step in the first test data can be solved by utilizing the first asynchronous thread, and test script parameter information such as the script class name, the test method, the test parameter data and the like of the nth test step is obtained. And executing the nth testing step through a Java reflection mechanism to obtain second testing result information.
According to an embodiment of the present disclosure, for example: the name of the nth test step may be xxx.com.payservice _ check, the script class name of the nth test step may be obtained through analysis, the test method is "check", and the test parameter data may include test result data of the (n-1) th test step.
According to the embodiment of the disclosure, script parameter information required for executing the next step can be directly obtained by analyzing the first test data, so that the asynchronous thread can timely perform the next test step, and the test efficiency is improved.
Fig. 5 schematically shows a flowchart of generating target test result information from the first test result information and the second test result information according to an embodiment of the present disclosure.
As shown in fig. 5, this embodiment includes operations S510 to S530.
In operation S510, in response to a test request from a client, creating a test case execution result registry using a main thread, where the test case execution result registry includes test case execution condition information;
in operation S520, the to-be-processed data table is executed through scanning the delay, and the test case execution condition information is determined to be information for representing the completion of the test when it is determined that the data amount in the to-be-processed data table is satisfied with the preset condition;
in operation S530, in a case where it is determined that the test case execution is the information for characterizing the completion of the test, target test result information is generated according to the first test result information and the second test result information.
According to an embodiment of the present disclosure, creating a test case execution results registry with the main thread is shown in table 1:
Figure BDA0003779468730000161
according to the embodiment of the disclosure, before the main thread starts to execute the target test script, a test case execution result registry may be created, and a script class name and a script case name may be recorded, and after the main thread completes the n-1 st test step, if the nth test step in the first asynchronous thread is still executed, the case execution condition in the test case execution result registry is in execution.
According to the embodiment of the present disclosure, the delayed execution pending data table is shown in table 2:
Figure BDA0003779468730000162
according to the embodiment of the disclosure, the main thread may determine whether there is still data to be executed in a delayed manner by scanning the amount of data in the delayed execution data table. The main thread and the asynchronous line Cheng Jun can determine whether a test step of delayed execution exists in the test script or the test step by calling a target function, and record in the data table to be processed in delayed execution under the condition that the test step of delayed execution exists. Therefore, when the main thread scans that the data amount in the delay execution to-be-processed data table is not available or the execution state in the delay execution to-be-processed data table is processing completion, the test case execution completion can be determined, at this time, the test case execution completion can be recorded in the case execution condition of the test case execution result registration table, and the target test result information can be generated according to the test results of all threads.
According to the embodiment of the disclosure, the to-be-processed data table is executed through scanning delay, and the target test result information is regenerated under the condition that the test of other asynchronous threads is completely finished, so that the efficiency of executing a large batch of scripts can be improved, and the accuracy of the test result can be guaranteed.
FIG. 6 schematically shows a logic block diagram of a testing method according to an embodiment of the present disclosure.
As shown in fig. 6, this embodiment includes operations S601 to S610.
In operation S601, a delayed execution pending data table is obtained in response to a test request from a client.
In operation S602, first latency execution duration information is obtained from the latency execution to-be-processed data table according to the identification information of the target test script.
In operation S603, the n-1 st testing step is performed by the main thread to obtain first testing result information.
In operation S604, it is determined whether a time interval between the current time and the time stamp is greater than a first delay execution time period. If so, operation S605 is performed, and if not, operation S606 is performed.
In operation S605, first test data is acquired.
In operation S606, the scan delay executes the next piece of data in the data table to be processed.
In operation S607, first test data is transmitted to the first asynchronous thread.
In operation S608, an nth testing step is performed by the first asynchronous thread according to the first testing data through a reflection mechanism, so as to obtain second testing result information.
In operation S609, it is determined whether a preset condition is satisfied in the delayed execution pending data table. If so, operation S610 is performed, and if not, operation S606 is performed.
In operation S610, target test result information is generated according to the first test result information and the second test result information.
Based on the test method, the disclosure also provides a test device. The apparatus will be described in detail below with reference to fig. 7.
Fig. 7 schematically shows a block diagram of a test apparatus according to an embodiment of the present disclosure.
As shown in fig. 7, the testing apparatus 700 of this embodiment includes a first obtaining module 710, a first executing module 720, a second executing module 730, and a first generating module 740.
The first obtaining module 710 is configured to, in response to a test request from a client, obtain, by using a main thread, first delay execution time information from a target test script by calling a target function, where the first delay execution time information represents first preset time interval information between execution start time information of an nth test step and execution end time information of an n-1 st test step, where n is a positive integer greater than 1. In an embodiment, the first obtaining module 710 may be configured to perform the operation S210 described above, which is not described herein again.
The first execution module 720 is configured to execute the (n-1) th test step by using the main thread to obtain first test result information, where the first test result information includes first test data for executing the (n) th test step and execution end time information of the (n-1) th test step. In an embodiment, the first performing module 720 may be configured to perform the operation S220 described above, which is not described herein again.
The second executing module 730 is configured to execute the nth testing step according to the first testing data by using the first asynchronous thread to obtain second testing result information when the time interval between the first current time information and the execution end time information of the (n-1) th testing step is greater than the first delay execution time information. In an embodiment, the second performing module 730 may be configured to perform the operation S230 described above, which is not described herein again.
The first generating module 740 is configured to generate target test result information according to the first test result information and the second test result information. In an embodiment, the first generating module 740 may be configured to perform the operation S240 described above, which is not described herein again.
According to an embodiment of the present disclosure, the second execution module includes a first obtaining unit, a first execution unit, a second execution unit, and a generating unit. The first obtaining unit is used for obtaining second delay execution time length information from the nth testing step by calling a target function through a first asynchronous thread, wherein the second delay execution time length information represents second preset time interval information between execution starting time information of the mth sub-testing step and execution ending time information of the (m-1) th sub-testing step, m is a positive integer larger than 1. And the second execution unit is used for executing the mth sub-test step by using a second asynchronous thread according to the second test data under the condition that the time interval between the second current time information and the execution finishing time information of the (m-1) th sub-test step is greater than second preset time interval information to obtain second sub-test result information. And the generating unit is used for generating second test result information according to the first sub-test result information and the second sub-test result information.
According to an embodiment of the present disclosure, the second execution module includes a second obtaining unit, a sending unit, and a third execution unit. The second obtaining unit is configured to obtain the first test data when a time interval between the first current time information and the execution end time information of the (n-1) th test step is greater than the first delay execution time information. And the sending unit is used for sending the first test data to the first asynchronous thread. And the third execution unit is used for executing the nth test step by utilizing the first asynchronous thread according to the first test data through a reflection mechanism to obtain second test result information.
According to an embodiment of the present disclosure, the third execution unit includes a parsing subunit and an execution subunit. The system comprises a test script execution subunit and a reflection mechanism, wherein the test script execution subunit is used for executing the nth test step according to the test script parameter information to obtain second test result information.
According to an embodiment of the present disclosure, the first acquisition module includes a third acquisition unit and a fourth acquisition unit. The system comprises a first obtaining unit, a second obtaining unit and a third obtaining module, wherein the first obtaining unit is used for obtaining a delay execution to-be-processed data table in response to a test request from a client, the delay execution to-be-processed data table comprises delay execution time information corresponding to different test scripts, and each piece of delay execution time information is obtained from the test script by calling a target function through a main thread.
According to an embodiment of the present disclosure, the testing apparatus further includes a second obtaining module. The second obtaining module is configured to record the second delay execution time length information in the delay execution to-be-processed data table when the second delay execution time length information is obtained from the nth testing step by calling the target function using the first asynchronous thread.
According to an embodiment of the present disclosure, the testing apparatus further includes a creating module, a determining module, and a second generating module. The creating module is used for responding to a test request from a client and creating a test case execution result registration table by using a main thread, wherein the test case execution result registration table comprises test case execution condition information. And the determining module is used for executing the data table to be processed through scanning delay, and determining the test case execution condition information as the information for representing the completion of the test under the condition that the data volume in the data table to be processed is determined to meet the preset condition. And the second generating module is used for generating target test result information according to the first test result information and the second test result information under the condition that the execution condition of the test case is determined to be the information used for representing the completion of the test.
According to the embodiment of the present disclosure, any plurality of the first obtaining module 710, the first executing module 720, the second executing module 730, and the first generating module 740 may be combined and implemented in one module, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first obtaining module 710, the first executing module 720, the second executing module 730, and the first generating module 740 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or any suitable combination of any several of them. Alternatively, at least one of the first obtaining module 710, the first executing module 720, the second executing module 730 and the first generating module 740 may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
FIG. 8 schematically shows a block diagram of an electronic device suitable for implementing a testing method according to an embodiment of the present disclosure.
As shown in fig. 8, an electronic device 800 according to an embodiment of the present disclosure includes a processor 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., application Specific Integrated Circuit (ASIC)), among others. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flows according to embodiments of the present disclosure.
In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 802 and/or the RAM 803. Note that the programs may also be stored in one or more memories other than the ROM 802 and RAM 803. The processor 801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 800 may also include input/output (I/O) interface 805, input/output (I/O) interface 805 also connected to bus 804, according to an embodiment of the present disclosure. Electronic device 800 may also include one or more of the following components connected to I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that the computer program read out therefrom is mounted on the storage section 808 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 802 and/or RAM 803 described above and/or one or more memories other than the ROM 802 and RAM 803.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the item recommendation method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 801. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, and the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via communication section 809, and/or installed from removable media 811. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program, when executed by the processor 801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (11)

1. A method of testing, comprising:
responding to a test request from a client, and utilizing a main thread to call a target function to obtain first delay execution time information from a target test script, wherein the first delay execution time information represents first preset time interval information between execution start time information of an nth test step and execution end time information of an n-1 test step, and n is a positive integer greater than 1;
executing the (n-1) th testing step by using a main thread to obtain first testing result information, wherein the first testing result information comprises first testing data for executing the (n) th testing step and execution ending time information of the (n-1) th testing step;
under the condition that the time interval between the first current time information and the execution finishing time information of the (n-1) th test step is larger than the first delay execution time information, executing the nth test step by utilizing a first asynchronous thread according to the first test data to obtain second test result information; and
and generating target test result information according to the first test result information and the second test result information.
2. The method of claim 1, wherein the nth testing step includes m subtest steps, and the performing the nth testing step by using the first asynchronous thread according to the first testing data to obtain the second testing result information further includes:
acquiring second delay execution time length information from the nth testing step by calling the target function by using the first asynchronous thread, wherein the second delay execution time length information represents second preset time interval information between execution starting time information of the mth sub-testing step and execution ending time information of the (m-1) th sub-testing step, and m is a positive integer greater than 1;
executing the (m-1) th sub-test step according to the first test data by using the first asynchronous thread to obtain first sub-test result information, wherein the first sub-test result information comprises second test data used for executing the (m) th sub-test step and execution end time information of the (m-1) th sub-test step;
under the condition that the time interval between the second current time information and the execution finishing time information of the (m-1) th sub-test step is larger than the second preset time interval information, executing the (m) th sub-test step by using a second asynchronous thread according to the second test data to obtain second sub-test result information;
and generating second test result information according to the first sub-test result information and the second sub-test result information.
3. The method according to claim 1, wherein, in the case that the time interval between the first current time information and the execution end time information of the (n-1) th test step is greater than the first delay execution duration information, executing the nth test step according to the first test data by using a first asynchronous thread to obtain second test result information, the method comprises:
acquiring first test data under the condition that the time interval between the first current time information and the execution ending time information of the (n-1) th test step is greater than the first delay execution time information;
sending the first test data to the first asynchronous thread;
and executing the nth testing step by utilizing the first asynchronous thread according to the first testing data through a reflection mechanism to obtain second testing result information.
4. The method of claim 3, wherein said performing the nth test step by the first asynchronous thread according to the first test data via a reflection mechanism to obtain the second test result information comprises:
analyzing the first test data by using the first asynchronous thread to obtain test script parameter information for executing the nth test step;
and executing the nth testing step through a reflection mechanism according to the testing script parameter information to obtain second testing result information.
5. The method of claim 1, wherein the obtaining, by the main thread in response to the test request from the client, the first latency execution duration information from the target test script by calling the target function comprises:
responding to a test request from a client, acquiring a delayed execution to-be-processed data table, wherein the delayed execution to-be-processed data table comprises delayed execution time length information corresponding to different test scripts, and each piece of delayed execution time length information is obtained from the test scripts by calling the target function by using a main thread;
and acquiring the first delay execution time length information from the delay execution to-be-processed data table according to the identification information of the target test script.
6. The method of claim 5, further comprising:
and under the condition that second delay execution time length information is obtained from the nth test step by calling the target function by utilizing the first asynchronous thread, recording the second delay execution time length information in the delay execution to-be-processed data table.
7. The method of claim 5, further comprising:
responding to a test request from a client, and creating a test case execution result registration table by using a main thread, wherein the test case execution result registration table comprises test case execution condition information;
scanning the delayed execution data table to be processed, and determining that the test case execution condition information is information for representing test completion under the condition that the data volume in the delayed execution data table to be processed meets a preset condition;
and under the condition that the execution condition of the test case is determined to be the information for representing the completion of the test, generating target test result information according to the first test result information and the second test result information.
8. A test apparatus, comprising:
the first obtaining module is used for responding to a test request from a client and obtaining first delay execution time information from a target test script by using a main thread through calling a target function, wherein the first delay execution time information represents first preset time interval information between execution start time information of an nth test step and execution end time information of an n-1 test step, and n is a positive integer greater than 1;
a first execution module, configured to execute the (n-1) th testing step by using a main thread to obtain first testing result information, where the first testing result information includes first testing data used for executing the (n) th testing step and execution end time information of the (n-1) th testing step;
a second execution module, configured to execute the nth testing step according to the first testing data by using a first asynchronous thread when a time interval between first current time information and execution end time information of the (n-1) th testing step is greater than the first delay execution duration information, so as to obtain second testing result information; and
and the first generating module is used for generating target test result information according to the first test result information and the second test result information.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN202210929617.6A 2022-08-03 2022-08-03 Test method, device, equipment and medium Pending CN115168238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210929617.6A CN115168238A (en) 2022-08-03 2022-08-03 Test method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210929617.6A CN115168238A (en) 2022-08-03 2022-08-03 Test method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115168238A true CN115168238A (en) 2022-10-11

Family

ID=83476776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210929617.6A Pending CN115168238A (en) 2022-08-03 2022-08-03 Test method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115168238A (en)

Similar Documents

Publication Publication Date Title
CN112799940B (en) Regression testing method, regression testing device, computer system and computer readable storage medium
CN110955640B (en) Cross-system data file processing method, device, server and storage medium
CN112288577B (en) Transaction processing method, device, electronic equipment and medium for distributed service
CN112463729A (en) Data file storage method and device, electronic equipment and medium
CN110223179B (en) Data processing method, device, system and medium for fund
CN114817050A (en) Task execution method and device, electronic equipment and computer readable storage medium
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN113132400B (en) Business processing method, device, computer system and storage medium
CN110717992B (en) Method, apparatus, computer system and readable storage medium for scheduling model
CN112732547B (en) Service testing method and device, storage medium and electronic equipment
CN113362173A (en) Anti-duplication mechanism verification method, anti-duplication mechanism verification system, electronic equipment and storage medium
CN114237765B (en) Functional component processing method, device, electronic equipment and medium
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN115168238A (en) Test method, device, equipment and medium
CN112182400B (en) Message processing method, message processing device, electronic equipment and storage medium
CN114168607A (en) Global serial number generation method, device, equipment, medium and product
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN113176907A (en) Interface data calling method and device, computer system and readable storage medium
CN113392010A (en) Common component testing method and device, electronic equipment and storage medium
CN112395194A (en) Method and device for accessing test platform
CN113821430A (en) Multi-service testing method and device
CN110955599A (en) Object creation method and device, electronic equipment and computer-readable storage medium
CN115333871B (en) Firewall operation and maintenance method and device, electronic equipment and readable storage medium
CN116012158A (en) Service processing method, device, equipment and storage medium
CN113495498B (en) Simulation method, simulator, device and medium for hardware device

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