CN111078539B - Test method, device, system and computer readable storage medium - Google Patents

Test method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN111078539B
CN111078539B CN201911199775.5A CN201911199775A CN111078539B CN 111078539 B CN111078539 B CN 111078539B CN 201911199775 A CN201911199775 A CN 201911199775A CN 111078539 B CN111078539 B CN 111078539B
Authority
CN
China
Prior art keywords
target
test
parameter
virtual object
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911199775.5A
Other languages
Chinese (zh)
Other versions
CN111078539A (en
Inventor
华聪
程硕
郑雷
臧玉伟
石伟亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Suning Logistics Co ltd
Original Assignee
Jiangsu Suning Logistics 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 Jiangsu Suning Logistics Co ltd filed Critical Jiangsu Suning Logistics Co ltd
Priority to CN201911199775.5A priority Critical patent/CN111078539B/en
Publication of CN111078539A publication Critical patent/CN111078539A/en
Application granted granted Critical
Publication of CN111078539B publication Critical patent/CN111078539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

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)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a test method, a device, a system and a computer readable storage medium, wherein the method comprises the following steps: acquiring target parameter information according to a test request sent by a client; analyzing the target parameter information; when the analysis result is a virtual object test parameter, calling a predefined virtual object according to the virtual object test parameter; acquiring a target test result corresponding to the test parameters of the virtual object according to the virtual object; and sending the target test result to the client. According to the method and the device, the virtual object is created, so that the system can acquire data through the virtual object, system test can be realized without depending on a real object, and the test efficiency is improved.

Description

Test method, device, system and computer readable storage medium
Technical Field
The invention belongs to the technical field of software testing, and particularly relates to a testing method, a testing device, a testing system and a computer readable storage medium.
Background
Software testing is the process of operating a program under specified conditions to discover bugs, to measure software quality, and to evaluate whether it can meet design requirements. For a tester, in order to test one system, the tester may need to perform joint debugging with a downstream system to complete the test, and if an interface of the downstream system is not developed or an object of the downstream system is not easily obtained, the test of the whole system is affected, and the work progress is delayed.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a testing method, a testing device, a testing system and a computer-readable storage medium. According to the method, the virtual object is created, so that the system obtains data through the virtual object, the system test can be realized without depending on a real object, and the test efficiency is improved.
The embodiment of the invention provides the following specific technical scheme:
in a first aspect, the present invention provides a method of testing, the method comprising:
acquiring target parameter information according to a test request sent by a client;
analyzing the target parameter information;
when the analysis result is a virtual object test parameter, calling a predefined virtual object according to the virtual object test parameter;
acquiring a target test result corresponding to the virtual object test parameter according to the virtual object;
and sending the target test result to the client.
Preferably, the method further comprises:
and when the analysis result is the pressure measurement script test parameter, calculating the pressure measurement script test parameter to obtain a target test result.
Preferably, the method further comprises:
and when the analysis result is an interface test parameter, calculating the interface test parameter to obtain a target test result.
Preferably, the method further comprises:
when the analysis result is a data query test parameter, acquiring target sub-database sub-table information in a preset mapping relation between the parameter and the sub-database sub-table information according to the data query test parameter, and acquiring query conditions;
and generating a corresponding query request according to the target sub-library and sub-table information and the query condition, and acquiring a target test result according to the query request.
Preferably, the generating a corresponding query request according to the target sub-library and sub-table information and the query condition and obtaining a target test result according to the query request specifically include:
generating a corresponding SQL query statement according to the target sub-database and sub-table information and the query condition;
sending the SQL query statement to a corresponding target database server;
and receiving a target test result returned by the target database server after the target database server obtains and processes the target test result in the target database.
Preferably, the method further comprises:
acquiring target database connection information in pre-stored configuration information according to the target database sub-table information;
and sending a connection request to a corresponding target database server according to the target database connection information so as to realize connection with the target database.
Preferably, the method further comprises:
verifying the target test result;
the sending the target test result to the client specifically includes:
and when the verification is successful, sending the target test result to the client.
In a second aspect, the present invention provides a test apparatus, the apparatus comprising:
the acquisition module is used for acquiring target parameter information according to a test request sent by a client;
the analysis module is used for analyzing the target parameter information;
the first processing module is used for calling a predefined virtual object according to the virtual object test parameter when the analysis result is the virtual object test parameter; acquiring a target test result corresponding to the virtual object test parameter according to the virtual object;
and the sending module is used for sending the target test result to the client.
Preferably, the apparatus further comprises:
and the second processing module is used for calculating the pressure measurement script test parameters to obtain a target test result when the analysis result is the pressure measurement script test parameters.
Preferably, the apparatus further comprises:
and the third processing module is used for calculating the interface test parameters to obtain a target test result when the analysis result is the interface test parameters.
Preferably, the apparatus further comprises:
the fourth processing module is used for acquiring target sub-database and sub-table information in a preset mapping relation between parameters and sub-database and sub-table information according to the data query test parameters when the analysis result is the data query test parameters, and acquiring query conditions; and generating a corresponding query request according to the target sub-library and sub-table information and the query condition, and acquiring a target test result according to the query request.
Preferably, the fourth processing module specifically includes:
the generating module is used for generating a corresponding SQL query statement according to the target sub-library and sub-table information and the query condition;
the sending module is also used for sending the SQL query statement to a corresponding target database server;
and the receiving module is used for receiving a target test result returned by the target database server after the target database server obtains and processes the target test result in the target database.
Preferably, the obtaining module is further configured to obtain target database connection information in pre-stored configuration information according to the target sub-library and sub-table information;
and the sending module is also used for sending a connection request to a corresponding target database server according to the target database connection information so as to realize the connection with the target database.
Preferably, the fourth processing module further includes a verification module, configured to verify the target test result;
the sending module is further configured to send the target test result to the client when the verification is successful.
In a third aspect, the present invention provides a computer system comprising:
one or more processors; and
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 as in any one of the first aspects above.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of any of the first aspects described above.
The embodiment of the invention has the following beneficial effects:
1. according to the method, the virtual object is created, so that the system obtains data through the virtual object, the system test can be realized without depending on a real object, and the test efficiency is improved;
2. according to the method, when a tester carries out performance testing, the tester can obtain the pressure testing script only by inputting the information corresponding to the testing parameters of the pressure testing script and sending the testing request, and the pressure testing script does not need to be manually written, so that the time is saved;
3. the method enables a tester to realize the interface test only by inputting the information corresponding to the interface test parameters and sending the test request when performing the unit test, and can realize the multi-type interface test without downloading a special interface test tool and compiling a test pile;
4. when a tester performs a function test, no matter the relational database or the non-relational database is, as long as the database connection information is pre-stored in the configuration information, the tester can input information corresponding to data query test parameters and send a test request to realize the data query test, and the data of the database can be obtained by one key without downloading and installing a plurality of database connection tools and multiple requests, so that the efficiency is improved, and the cost is reduced;
5. the method realizes the integration of test resources, integrates the test contents required in the software test process, realizes customization, does not need to consume manpower for development alone for testers, does not need to search corresponding test tools for testing on the internet, solves the copyright problem of certain software which can be used only by paying, and saves the test cost.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an application environment diagram of a testing method provided in an embodiment of the present application;
FIG. 2 is a flowchart of a testing method according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a virtual object test page according to an embodiment of the present disclosure;
FIG. 4 is a diagram of a pressure test script page provided in one embodiment of the present application;
FIG. 5 is a diagram illustrating an interface test page according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a testing apparatus provided in the second embodiment of the present application;
fig. 7 is a diagram of a computer system architecture according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present application provides a method that may be applied in the application environment shown in fig. 1. The server 12 communicates with the database 11 and the terminal 13 via a network. The terminal 13 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 12 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Example one
As shown in fig. 2, the present application provides a testing method comprising the steps of:
and S21, acquiring target parameter information according to the test request sent by the client.
The test request generation process comprises the following steps:
1. when successful login of a user is monitored, target page data are obtained and sent to a client side so that the client side can render and display a target page, wherein the target page comprises a target content item;
2. a test request generated from a target content item that a user has filled in is obtained.
S22, analyzing the target parameter information;
s23, when the analytic result is a virtual object test parameter, calling a predefined virtual object according to the virtual object test parameter;
and the analysis result is correspondingly associated with the target content item filled by the user.
The virtual object test parameters comprise time information and message information.
S24, acquiring a target test result corresponding to the virtual object test parameter according to the virtual object;
and S25, sending the target test result to the client.
Illustratively, as shown in fig. 3, target parameter information is obtained according to a test request generated after a user inputs 200 { "success": a "success transmission" in a target content item (response delay, response message) of a target page, the target parameter information is analyzed, an analysis result is a virtual object test parameter, a predefined virtual object (e.g., a Mock baffle) is called according to the virtual object test parameter, a target test result corresponding to the virtual object test parameter is obtained according to the Mock baffle and is transmitted to a client, and the client displays "success": a "success transmission" content after 200 ms.
Therefore, the method can enable the system to acquire data through the virtual object by creating the virtual object, can realize system test without depending on a real object, and improves the test efficiency.
In addition, the method may further include:
and S31, when the analysis result is the pressure measurement script test parameter, calculating the pressure measurement script test parameter to obtain a target test result.
The pressure measurement script test parameters comprise theme/queue information, class position information, message information and the like. The process of calculating the pressure measurement script parameters to obtain the target test result specifically comprises the following steps: analyzing the testing parameters of the pressure testing script, and converting the json or xml format into the StringBuffer format, thereby obtaining the target testing result.
For example, as shown in fig. 4, when a user inputs dtm _ order _ links, MBF _ receivelogisticsriderl, FPSCP, and other contents in a target content item (subject name/queue name, class name, app code, message filling box) of a target page, respectively, generates a test request, obtains target parameter information according to the test request, analyzes the target parameter information, obtains a result of analysis as a pressure test script test parameter, and calculates the pressure test script test parameter to obtain a target test result.
The following are the target test results generated from the pressure script test parameters:
Figure BDA0002295575070000071
Figure BDA0002295575070000081
Figure BDA0002295575070000091
according to the method, when a tester carries out performance testing, the tester can obtain the pressure testing script only by inputting the information corresponding to the testing parameters of the pressure testing script and sending the testing request, the pressure testing script does not need to be manually written, and time is saved.
In addition, the method may further include:
and S41, when the analysis result is the interface test parameter, calculating the interface test parameter to obtain a target test result.
The interface test parameters include URL information, message information, and the like. The calculation of the interface test parameters to obtain the target test result specifically comprises the following steps: and calling the corresponding interface according to the interface test parameters so as to obtain a target test result.
Exemplarily, as shown in fig. 5, target parameter information is obtained according to a test request generated by content respectively input by a user in a target content item (please input a URL, a message filling frame) of a target page, the target parameter information is analyzed, an analysis result is an interface test parameter, and a session interface is called according to the interface test parameter, so as to obtain a target test result.
Therefore, when the method is used for testing the unit, the interface test can be realized only by inputting the information corresponding to the interface test parameters and sending the test request, and the multi-type interface test can be realized without downloading a special interface test tool and compiling a test pile.
In addition, the method may further include:
and S51, when the analysis result is a data query test parameter, acquiring target sub-database sub-table information and query conditions in the preset mapping relation between the parameters and the sub-database sub-table information according to the data query test parameter.
The data query test parameters comprise scene information, test data, environment information and the like;
the test data includes: order number/package number, box code, warehouse information, primary key information, table name, etc., and the environment information includes system test environment.
In addition, the acquisition process of the query condition comprises the following steps:
and acquiring corresponding query conditions according to the scene information.
Specifically, according to different scene information, the query condition is test data or data obtained by performing table lookup or calculation on the test data.
And S52, generating a corresponding query request according to the target sub-library and sub-table information and the query condition, and acquiring a target test result according to the query request.
Wherein, step S52 specifically includes:
s521, acquiring target database connection information in pre-stored configuration information according to the target database sub-table information;
s522, according to the target database connection information, sending a connection request to a corresponding target database server to realize connection with a target database;
s523, generating a corresponding SQL query statement according to the target database and table information and the query condition;
s524, sending the SQL query statement to a corresponding target database server;
and S525, receiving a target test result which is obtained and processed in the target database by the target database server and then sent.
Illustratively, if the target test result is in the database a, the step of obtaining the target test result includes:
1. acquiring connection information of a database A from pre-stored configuration information;
2. according to the connection information of the database A, sending a connection request to a corresponding database A server to realize the connection with the database A;
3. generating an SQL query statement according to the information of the database A, the table information of the database A and the query condition;
4. sending the SQL query statement to a database A server;
5. and receiving a target test result obtained after the database A server obtains and processes the target test result in the database A.
In addition, after receiving the target test result sent by the target database server after the target test result is obtained and processed in the target database, the method further comprises the following steps:
and checking the target test result so as to send the target test result to the client when the checking is successful.
Therefore, when a tester conducts a function test, no matter the relational database or the non-relational database is, as long as the database connection information is pre-stored in the configuration information, the tester can input the information corresponding to the data query test parameters and send a test request to realize the data query test, the data of the database can be obtained by one key, a plurality of database connection tools do not need to be downloaded and installed, multiple requests are not needed, the efficiency is improved, and the cost is reduced.
According to the steps, the method realizes the integration of the test resources, integrates the test contents required in the software test process, realizes the customization, does not need to consume manpower for the testers to develop alone, does not need to search corresponding test tools for testing on the Internet, solves the copyright problem of certain software which can be used only by paying, and saves the test cost.
Example two
As shown in fig. 6, the present application provides a testing apparatus, which specifically includes:
an obtaining module 61, configured to obtain target parameter information according to a test request sent by a client;
the analysis module 62 is used for analyzing the target parameter information;
a first processing module 63, configured to, when the analysis result is a virtual object test parameter, call a predefined virtual object according to the virtual object test parameter; acquiring a target test result corresponding to the test parameters of the virtual object according to the virtual object;
and a sending module 64, configured to send the target test result to the client.
Preferably, the above apparatus further comprises:
the second processing module 65 is configured to calculate the pressure measurement script test parameter to obtain a target test result when the analysis result is the pressure measurement script test parameter.
Preferably, the above apparatus further comprises:
the third processing module 66 is configured to calculate the interface test parameters to obtain a target test result when the analysis result is the interface test parameter.
Preferably, the above apparatus further comprises:
the fourth processing module 67 is configured to, when the analysis result is a data query test parameter, obtain target sub-library and sub-list information in a mapping relationship between preset parameters and sub-library and sub-list information according to the data query test parameter, and obtain a query condition at the same time; and generating a corresponding query request according to the target sub-library and sub-table information and the query condition, and acquiring a target test result according to the query request.
Preferably, the fourth processing module 67 specifically includes:
the generating module 671 is configured to generate a corresponding SQL query statement according to the target sub-library and sub-table information and the query condition;
the sending module 64 is further configured to send the SQL query statement to the corresponding target database server;
the receiving module 672 is configured to receive a target test result returned by the target database server after the target database server obtains and processes the target test result in the target database.
Preferably, the obtaining module 61 is further configured to obtain target database connection information in pre-stored configuration information according to the target sub-library and sub-table information;
the sending module 64 is further configured to send a connection request to a corresponding target database server according to the target database connection information, so as to implement connection with the target database.
Preferably, the fourth processing module 67 further includes a verifying module 673, configured to verify the target test result;
the sending module 64 is further configured to send the target test result to the client when the verification is successful.
EXAMPLE III
An embodiment of the present application provides a computer system, including:
one or more processors; and
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 as in embodiment one above.
FIG. 7 illustrates an architecture of a computer system that may include, in particular, a processor 72, a video display adapter 74, a disk drive 76, an input/output interface 78, a network interface 710, and a memory 712. The processor 72, video display adapter 74, disk drive 76, input/output interface 78, network interface 710, and memory 712 may be communicatively coupled via a communication bus 714.
The processor 72 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided in the present Application.
The Memory 712 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 712 may store an operating system 716 for controlling the operation of the computer system 70, and a Basic Input Output System (BIOS)718 for controlling low-level operations of the computer system. In addition, a web browser 720, a data store management system 722, and the like may also be stored. In summary, when the technical solution provided in the present application is implemented by software or firmware, the relevant program code is stored in the memory 712 and called to be executed by the processor 72.
The input/output interface 78 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The network interface 710 is used for connecting a communication module (not shown in the figure) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (for example, USB, network cable, etc.), and can also realize communication in a wireless mode (for example, mobile network, WIFI, bluetooth, etc.).
Communication bus 714 includes a path for communicating information between various components of the device, such as processor 72, video display adapter 74, disk drive 76, input/output interface 78, network interface 710, and memory 712.
In addition, the computer system can also obtain the information of specific obtaining conditions from the virtual resource object obtaining condition information database for condition judgment and the like.
It should be noted that although the above-described devices only show the processor 72, the video display adapter 74, the disk drive 76, the input/output interface 78, the network interface 710, the memory 712, the communication bus 714, etc., in particular implementations the devices may also include other components necessary to achieve proper operation.
Example four
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method according to the first embodiment.
As will be appreciated by one of skill in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention have been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true spirit and scope of the embodiments of the present invention. In addition, the computer-readable storage medium, the computer system, the testing apparatus and the testing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A method of testing, the method comprising:
acquiring target parameter information according to a test request sent by a client;
analyzing the target parameter information;
when the analysis result is a virtual object test parameter, calling a predefined virtual object according to the virtual object test parameter;
acquiring a target test result corresponding to the virtual object test parameter according to the virtual object;
when the analysis result is a data query test parameter, acquiring target sub-database sub-table information in a preset mapping relation between the parameter and the sub-database sub-table information according to the data query test parameter, and acquiring query conditions;
generating a corresponding query request according to the target database and table information and query conditions, and acquiring a target test result according to the query request;
and sending the target test result to the client.
2. The method of claim 1, further comprising:
and when the analysis result is the pressure measurement script test parameter, calculating the pressure measurement script test parameter to obtain a target test result.
3. The method of claim 1, further comprising:
and when the analysis result is an interface test parameter, calculating the interface test parameter to obtain a target test result.
4. The method according to claim 1, wherein the generating of the corresponding query request according to the target sub-library and sub-table information and the query condition and the obtaining of the target test result according to the query request specifically comprise:
generating a corresponding SQL query statement according to the target database and table information and the query condition;
sending the SQL query statement to a corresponding target database server;
and receiving a target test result returned by the target database server after the target database server obtains and processes the target test result in the target database.
5. The method of claim 4, further comprising:
acquiring target database connection information in pre-stored configuration information according to the target database sub-table information;
and sending a connection request to a corresponding target database server according to the target database connection information so as to realize connection with the target database.
6. The method of claim 5, further comprising:
verifying the target test result;
the sending the target test result to the client specifically includes:
and when the verification is successful, sending the target test result to the client.
7. A test apparatus, the apparatus comprising:
the acquisition module is used for acquiring target parameter information according to a test request sent by a client;
the analysis module is used for analyzing the target parameter information;
the first processing module is used for calling a predefined virtual object according to the virtual object test parameter when the analysis result is the virtual object test parameter, and acquiring a target test result corresponding to the virtual object test parameter according to the virtual object;
the first processing module is further configured to, when the analysis result is a data query test parameter, obtain target sub-warehouse sub-table information in a preset mapping relationship between the parameter and the sub-warehouse sub-table information according to the data query test parameter, obtain a query condition at the same time, generate a corresponding query request according to the target sub-warehouse sub-table information and the query condition, and obtain a target test result according to the query request;
and the sending module is used for sending the target test result to the client.
8. A computer system, comprising:
one or more processors; and
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 as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 6.
CN201911199775.5A 2019-11-29 2019-11-29 Test method, device, system and computer readable storage medium Active CN111078539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911199775.5A CN111078539B (en) 2019-11-29 2019-11-29 Test method, device, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911199775.5A CN111078539B (en) 2019-11-29 2019-11-29 Test method, device, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111078539A CN111078539A (en) 2020-04-28
CN111078539B true CN111078539B (en) 2022-09-06

Family

ID=70312064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911199775.5A Active CN111078539B (en) 2019-11-29 2019-11-29 Test method, device, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111078539B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782330B (en) * 2020-07-07 2024-01-26 赞同科技股份有限公司 Page data acquisition method, device and equipment based on Web application
CN112395187A (en) * 2020-11-05 2021-02-23 华人运通(江苏)技术有限公司 Test method, test system, computer device and storage medium
CN112612259B (en) * 2020-12-07 2023-10-13 中国电力科学研究院有限公司 Interchangeability testing method and system for energy controllers
CN113076238B (en) * 2021-03-25 2023-12-01 北京车和家信息技术有限公司 Pressure testing method and device, storage medium and electronic equipment
CN113468033B (en) * 2021-06-23 2024-03-26 青岛海尔科技有限公司 Household appliance testing method and system
CN114205274A (en) * 2021-11-02 2022-03-18 北京百度网讯科技有限公司 Network equipment testing method and device
CN114244741B (en) * 2021-12-16 2023-11-14 阿波罗智联(北京)科技有限公司 Link testing method, device, system, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058920B (en) * 2019-03-04 2023-01-31 平安科技(深圳)有限公司 Virtual machine performance detection method and device, electronic equipment and storage medium
CN110209584A (en) * 2019-06-03 2019-09-06 广东电网有限责任公司 A kind of automatic generation of test data and relevant apparatus

Also Published As

Publication number Publication date
CN111078539A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111078539B (en) Test method, device, system and computer readable storage medium
CN106997298B (en) Application resource acquisition method and device
CN105260299A (en) Method, device, and system for software test
CN109726108B (en) Front-end code testing method, device, system and medium based on analog data
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
CN111061464B (en) Analysis code generation method, device, equipment and storage medium
US10956257B2 (en) Dynamic failure-resolution computing engine
CN108111364B (en) Service system testing method and device
US10148790B2 (en) Deployment of integrative HTML-based engine from an edge server
CN105491140A (en) Remote testing method and system for terminal
CN110858172A (en) Automatic test code generation method and device
CN111061956A (en) Method and apparatus for generating information
CN112732499A (en) Test method and device based on micro-service architecture and computer system
CN108694120B (en) Method and device for testing service component
CN111680799A (en) Method and apparatus for processing model parameters
CN108984202B (en) Electronic resource sharing method and device and storage medium
CN112084102A (en) Interface pressure testing method and device
CN111090666A (en) Data processing method, device and system and computer readable storage medium
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN115407981A (en) Front-end data mock method and system based on middleware adaptation
CN111400623B (en) Method and device for searching information
CN115203178A (en) Data quality inspection method and device, electronic equipment and storage medium
CN110532186B (en) Method, device, electronic equipment and storage medium for testing by using verification code
CN112131095B (en) Pressure testing method and device
CN113495498A (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
GR01 Patent grant
GR01 Patent grant