CN113238935A - Application testing method, system, device, medium, and computer program product - Google Patents

Application testing method, system, device, medium, and computer program product Download PDF

Info

Publication number
CN113238935A
CN113238935A CN202110504776.7A CN202110504776A CN113238935A CN 113238935 A CN113238935 A CN 113238935A CN 202110504776 A CN202110504776 A CN 202110504776A CN 113238935 A CN113238935 A CN 113238935A
Authority
CN
China
Prior art keywords
test
service request
request
application
target service
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
CN202110504776.7A
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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202110504776.7A priority Critical patent/CN113238935A/en
Publication of CN113238935A publication Critical patent/CN113238935A/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/3684Test management for test design, e.g. generating new test cases
    • 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 invention relates to the technical field of financial technology (Fintech), and discloses an application test method, a system, equipment, a medium and a product, wherein the method comprises the following steps: receiving a test request for the application system, determining a target service request for the application system according to the test request, and acquiring a request parameter of the target service request and a real response result of the application system to the target service request; executing the target service request through a test system corresponding to the application system based on the request parameter to obtain a test response result of the target service request; and determining a test result according to the real response result and the test response result. The invention realizes the automatic acquisition of the test data, reduces the compiling cost of the test data and improves the compiling efficiency of the test data; by extracting the test data from the production environment, the scene coverage rate of the test data can be improved, so that the comprehensiveness of software test is improved, and the stability and reliability of the software are improved.

Description

Application testing method, system, device, medium, and computer program product
Technical Field
The present invention relates to the field of financial technology (Fintech) technology, and in particular, to an application testing method, system, device, computer storage medium, and computer program product.
Background
With the development of computer technology, more and more technologies (big data, distributed, artificial intelligence, etc.) are applied to the financial field, and the traditional financial industry is gradually changing to financial technology (Fintech), but because of the requirements of security and universality of the financial industry, higher requirements are also put forward on software testing technology.
Software testing is a core link for ensuring software reliability in a software development process, is of great importance to the quality of a final product, and is generally performed in the industry in a manual testing mode at present.
In the manual testing scheme, a testing team is required to enumerate and manually write possible test cases according to project requirements and experiences, but the written test cases are difficult to ensure that all possible scenes are completely covered, and complicated combination scenes are often omitted due to incomplete consideration, so that the software is not completely tested, and further the stability and reliability of the software are not high.
Disclosure of Invention
The invention mainly aims to provide an application testing method, an application testing system, application testing equipment, a computer storage medium and a computer program product, and aims to improve the comprehensiveness of software testing.
In order to achieve the above object, the present invention provides an application test method, comprising the steps of:
receiving a test request for an application system, determining a target service request for the application system according to the test request, and acquiring a request parameter of the target service request and a real response result of the application system to the target service request;
executing the target service request through a test system corresponding to the application system based on the request parameter to obtain a test response result of the target service request;
and determining a test result according to the real response result and the test response result.
Optionally, before the step of receiving a test request for an application system, the method further includes:
determining an original service request to the application system, and screening the original service request according to a preset screening proportion to obtain a first service request;
storing request parameters of the first service request and a real response result of the application system to the target service request in an associated manner;
the step of determining a target service request to the application system according to the test request, and acquiring a request parameter of the target service request and a real response result of the application system to the target service request comprises:
and determining a target service request from the first service request according to the test request and the request parameters of the first service request, and determining the request parameters of the target service request and the real response result of the application system to the target service request.
Optionally, the step of determining a target service request from the first service request according to the test request and the request parameter of the first service request includes:
screening the first service request according to a test range parameter in the test request and a request parameter of the first service request to obtain the target service request; the test range parameters include a test function identification and/or a request time interval.
Optionally, the step of screening the original service request according to a preset screening ratio to obtain a first service request includes:
generating a random number corresponding to each original service request based on a preset random function;
and screening the original service request according to the random number and the preset screening proportion to obtain a first service request.
Optionally, after the step of determining a test result according to the real response result and the test response result, the method further includes:
if the test result is abnormal, determining an abnormal service request with a real response result inconsistent with the corresponding test result from the target service request;
and feeding back a test exception prompt to an initiating terminal of the test request, wherein the test exception prompt comprises a request parameter of the abnormal service request.
Optionally, the application testing method further includes:
determining an original service request for the application system, and a request parameter and a real response result of the original service request;
and determining the original service request with the abnormal real response result as an abnormal service request, and debugging the request parameters of the abnormal service request through a preset abnormal debugging flow and the test system to determine the abnormal reason.
In addition, to achieve the above object, the present invention further provides an application test system, including:
the system comprises a request receiving module, a target service request receiving module and a target service request sending module, wherein the request receiving module is used for receiving a test request to an application system, determining the target service request to the application system according to the test request and acquiring a request parameter of the target service request and a real response result of the application system to the target service request;
the request testing module is used for executing the target service request through a testing system corresponding to the application system based on the request parameters to obtain a testing response result of the target service request;
and the result determining module is used for determining a test result according to the real response result and the test response result.
In addition, to achieve the above object, the present invention also provides an application test apparatus, including: a memory, a processor and an application test program stored on the memory and executable on the processor, the application test program when executed by the processor implementing the steps of the application test method as described above.
In addition, to achieve the above object, the present invention further provides a computer storage medium having an application test program stored thereon, wherein the application test program, when executed by a processor, implements the steps of the application test method as described above.
Furthermore, to achieve the above object, the present invention also provides a computer program product comprising an application test program, which when executed by a processor implements the steps of the application test method as described above.
The method comprises the steps of receiving a test request for an application system, determining a target service request for the application system according to the test request, and acquiring a request parameter of the target service request and a real response result of the application system to the target service request; executing the target service request through a test system corresponding to the application system based on the request parameter to obtain a test response result of the target service request; and determining a test result according to the real response result and the test response result. By extracting a target service request of an application system in a production environment and performing software test in a test system based on request parameters of the target service request, the automatic acquisition of test data is realized, the compiling cost of the test data is reduced, and the compiling efficiency of the test data is improved; by extracting the test data from the production environment, the scene coverage rate of the test data can be improved, so that the comprehensiveness of software test is improved, and the stability and reliability of the software are improved.
Drawings
FIG. 1 is a schematic diagram of an application test device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the testing method of the present invention;
FIG. 3 is a schematic diagram of a system module of the application test system of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an application test device in a hardware operating environment according to an embodiment of the present invention.
The application test equipment of the embodiment of the invention can be a PC (personal computer) or server equipment, and a virtual machine runs on the application test equipment.
As shown in fig. 1, the application test apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the application test equipment configuration shown in FIG. 1 does not constitute a limitation of the equipment and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an application test program.
In the application test device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call an application test program stored in the memory 1005 and perform operations in the application test method described below.
Based on the hardware structure, the embodiment of the application test method is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the application testing method of the present invention, and the method includes:
step S10, receiving a test request to an application system, determining a target service request to the application system according to the test request, and acquiring a request parameter of the target service request and a real response result of the application system to the target service request;
the application test method of the embodiment is applied to application test equipment, and the application test equipment can be a terminal, a robot or PC equipment.
In the prior art, a test team needs to enumerate and manually write possible test cases according to project requirements and experiences, but the written test cases are difficult to ensure that all possible scenes are completely covered, and complicated combination scenes are often omitted due to incomplete consideration, so that the software is not completely tested, and further the stability and reliability of the software are not high.
Under the background, the embodiment provides an application test scheme, by extracting a target service request of an application system in a production environment and performing software test in the test system based on a request parameter of the target service request, the automatic acquisition of test data is realized, the compiling cost of the test data is reduced, and the compiling efficiency of the test data is improved; by extracting the test data from the production environment, the scene coverage rate of the test data can be improved, so that the comprehensiveness of software test is improved, and the stability and reliability of the software are improved.
In this embodiment, the test of the application system is performed in a test environment, the test environment is isolated from the actual production environment, a test system capable of processing the service request according to the same processing logic as the application system in the actual production environment is built in the test environment, in order to avoid the influence of the software test flow on the operation of the application system in the actual production environment, a tester can complete the software test of the application system by using the test system, and the test data for performing the test is extracted from the actual production environment instead of being written by the tester according to needs or experience.
When a tester needs to test an application system in an actual production environment, a test request for the application system can be actively triggered, and certainly, the triggering of the test request can also be automatically triggered by application test equipment according to a preset triggering condition.
The target service request refers to a service request which is executed in the application system and is specified to be played back in the test system, and the target service request is determined according to the test request. The test of the application system can be a full test or an on-demand test, the full test refers to that all service requests executed in the application system are executed again in the test system corresponding to the application system, and the target service request at this time is all the service requests executed in the application system; the on-demand test refers to selecting, according to test requirements, requests that need to be executed again in a test system for all service requests executed in an application system, where the selected requests are target service requests. After the target service request is determined, since the target service request is actually received and responded by the application system in the production environment, the request parameters of the target service request and the actual response result of the application system to the target service request can be obtained.
Wherein the request parameters include necessary parameters that each service request can be distinguished and executed, and the request parameters include at least a function identification (function), a parameter (Param), and a request time (invoke time); to further differentiate between different service requests, the request parameters may also include one or more of an application identification or other information of the application system.
Step S20, based on the request parameter, executing the target service request through the test system corresponding to the application system, and obtaining the test response result of the target service request;
and step S30, determining a test result according to the real response result and the test response result.
In this embodiment, after the request parameter of the target service request is obtained, the target service request is executed through the test system corresponding to the application system according to the request parameter, so as to obtain a test response result of the test system executing the target service request, the test response result is compared with the real response result, and the test result of the application system can be determined according to the comparison result. Specifically, if the test response result is consistent with the real response result, the test result is determined to be normal, and if the test response result is inconsistent with the real response result, the test result is determined to be abnormal.
Further, when the test result is determined to be abnormal, the abnormal service request with the real response result inconsistent with the corresponding test result can be determined from the target service request, and then a test abnormal prompt is generated based on the request parameter of the abnormal service request, and the test abnormal prompt is fed back to the initiating terminal or the preset feedback terminal of the test request, so that a tester can quickly locate and investigate the abnormal reason according to the request parameter of the abnormal service request. Furthermore, the test exception prompt may further include a real response result of the exception service request and a test response result.
In the embodiment, a test request for an application system is received, a target service request for the application system is determined according to the test request, and a request parameter of the target service request and a real response result of the application system to the target service request are obtained; executing the target service request through a test system corresponding to the application system based on the request parameter to obtain a test response result of the target service request; and determining a test result according to the real response result and the test response result. By extracting a target service request of an application system in a production environment and performing software test in a test system based on request parameters of the target service request, the automatic acquisition of test data is realized, the compiling cost of the test data is reduced, and the compiling efficiency of the test data is improved; by extracting the test data from the production environment, the scene coverage rate of the test data can be improved, so that the comprehensiveness of software test is improved, and the stability and reliability of the software are improved.
Further, based on the above embodiments, a second embodiment of the application test method of the present invention is provided. Before step S10, the method further includes:
step 101, determining an original service request to the application system, and screening the original service request according to a preset screening proportion to obtain a first service request;
102, storing request parameters of the first service request and a real response result of the application system to the target service request in an associated manner;
correspondingly, in the step S10, the step of determining the target service request to the application system according to the test request, and acquiring the request parameter of the target service request and the actual response result of the application system to the target service request includes:
step S11, determining a target service request from the first service request according to the test request and the request parameter of the first service request, and determining the request parameter of the target service request and the actual response result of the application system to the target service request.
In the actual production environment, the number of service requests received by the application system is large, and the types of many service requests are the same, so if all the service requests received by the application system are executed in the test system, a large amount of resources and time are wasted, the test efficiency is low, and in order to improve the efficiency of the application test, the test on the application system is required in the embodiment.
In this embodiment, the original service request refers to all service requests sent to the application systems in the real production environment. The application test equipment monitors an original service request of an application system, filters and screens the original service request according to a preset screening proportion, only selects part of the original service request as a first service request, tracks and monitors a response result of the application system to the first service request, and stores request parameters of the first service request and the real response result in an associated manner after the real response result of the application system to the first service request is obtained, so that test data of the first service request is provided for the application test equipment when the application system needs to be tested.
It can be understood that, only the original service requests are filtered and screened according to the preset screening proportion, the number of the screened service requests can be greatly reduced compared with the original service requests, but because the proportional screening is non-targeted, the screening mode is not associated with the attribute of each service request, so if all the first service requests screened according to the preset screening proportion are directly tested in the test system, the test response result is also non-targeted, and great difficulty is caused to the analysis of the test result.
Therefore, in this embodiment, when a test request is triggered, a test object is specified, where the test object is a target service request that needs to be tested in a test system in a first service request, and the specification of the test object is embodied by a test range parameter in the test request, where the test range parameter includes a test function identifier and/or a request time interval, and since the request parameter of the service request at least includes the function identifier and the request time, a service request related to a specific function can be tested by using the test range parameter, and/or a service request belonging to a specific request time period can be tested. Of course, when there are multiple test systems in the test environment, the test scope parameters may also include a test system identification to test for a particular application system.
Therefore, the pertinence and the intelligence of the application test can be improved through the method.
Further, in step S101, the step of screening the original service request according to a preset screening ratio to obtain a first service request includes:
a1, generating random numbers corresponding to each original service request based on a preset random function;
step a2, the original service request is screened according to the random number and the preset screening proportion, and a first service request is obtained.
In this embodiment, when the original service requests are screened according to the preset screening ratio, all the original service requests in a certain time period may be sorted according to the request time in the request parameter, and the service requests with the earliest or latest request time in the preset screening ratio may be taken as the first service requests. When a large number of service requests of the same type flow in a short time, the screening method may cause that the obtained first service requests are all of the same type, and further, the test coverage of the application system is less, and the test of the software is incomplete.
Therefore, in the embodiment, when the original service requests are screened according to the preset screening proportion, a random number is generated based on the preset random function for each original service request, it can be understood that a value range of a function value of the preset random function is [0, 1], that is, the random number generated based on the preset random function is any value in [0, 1], after the random number of the original service request is generated, the random number is compared with the preset screening proportion, the original service request of which the random number is smaller than or equal to the preset screening proportion is determined as the first service request, and the original service request of which the random number is greater than the preset screening proportion is filtered, so that a subsequent test process does not need to be performed on the part of the original service request. For example, if the preset screening ratio is 0.1, the random number generated by the original service request a is 0.032, and the random number generated by the original service request B is 0.789, and since 0.032 is smaller than 0.1 and 0.789 is larger than 0.1, the original service request a is determined as the first service request, and the original service request B is filtered.
The preset screening proportion is set by a tester according to a test requirement, and the embodiment is not particularly limited.
In the embodiment, the random number of each original service request is generated, and the first service request is determined from the original service requests according to the random number and the preset screening proportion, so that the diversity of the request types of the first service request can be ensured as much as possible, the coverage rate of a test scene is further improved, and the comprehensiveness of software testing is further improved.
Further, before executing the target service request through a test system corresponding to the application system based on the request parameter, the method further includes:
and detecting whether the test system has a historical test response result, and if so, deleting the historical test response result so as to avoid the pollution of the historical test response result on the test response result of this time and reduce the pressure of storage resources.
Further, based on the above embodiments, a third embodiment of the application test method of the present invention is provided. The application testing method further comprises the following steps:
step c1, determining an original service request for the application system, and a request parameter and a real response result of the original service request;
step c2, determining the original service request with the real response result abnormal as the abnormal service request, and debugging the request parameter of the abnormal service request through the preset abnormal debugging process and the test system to determine the reason of the abnormal.
In this embodiment, a scheme of performing fixed point debugging in a test system for a service request with an abnormal real response result in an application system is provided. In the scheme, the application test monitors the real response result of the original service request of the application system, determines the original service request with the abnormal real response result as the abnormal service request, and then debugs the request parameters of the abnormal service request in the test system according to the preset debugging process so as to determine the reason causing the abnormality. The preset debugging process is set by a tester as required, and can be used for adjusting the input parameters and/or the function identifiers in the request parameters so as to investigate and position the abnormal reasons.
The embodiment adds a process of fixed point debugging for the service request with abnormal real response result in the application system, and can assist testers to quickly check and locate the reason of the abnormality.
The present invention also provides an application test system, referring to fig. 3, the application test system includes:
a request receiving module 10, configured to receive a test request for an application system, determine a target service request for the application system according to the test request, and obtain a request parameter of the target service request and a real response result of the application system to the target service request;
a request testing module 20, configured to execute the target service request through a testing system corresponding to the application system based on the request parameter, and obtain a test response result of the target service request;
and a result determining module 30, configured to determine a test result according to the real response result and the test response result.
Optionally, the application test system further includes:
the first screening module is used for determining an original service request to the application system and screening the original service request according to a preset screening proportion to obtain a first service request;
the association storage module is used for associating and storing the request parameters of the first service request and the real response result of the application system to the target service request;
correspondingly, the request receiving module is further configured to:
and determining a target service request from the first service request according to the test request and the request parameters of the first service request, and determining the request parameters of the target service request and the real response result of the application system to the target service request.
Optionally, the request receiving module is further configured to:
screening the first service request according to a test range parameter in the test request and a request parameter of the first service request to obtain the target service request; the test range parameters include a test function identification and/or a request time interval.
Optionally, the request receiving module is further configured to:
generating a random number corresponding to each original service request based on a preset random function;
and screening the original service request according to the random number and the preset screening proportion to obtain a first service request.
Optionally, the application test system further includes:
the abnormal determining module is used for determining an abnormal service request with a real response result inconsistent with a corresponding test result from the target service request if the test result is abnormal;
and the exception prompt module is used for feeding back a test exception prompt to the initiating terminal of the test request, wherein the test exception prompt comprises the request parameter of the exception service request.
Optionally, the application test system further includes:
determining an original service request for the application system, and a request parameter and a real response result of the original service request;
and determining the original service request with the abnormal real response result as an abnormal service request, and debugging the request parameters of the abnormal service request through a preset abnormal debugging flow and the test system to determine the abnormal reason.
The method executed by each program unit can refer to each embodiment of the application test method of the present invention, and is not described herein again.
The present invention also provides an application test apparatus, comprising: the memory, the processor and the application test program stored in the memory and capable of running on the processor, and the method for implementing the application test program when executed by the processor can refer to the embodiments of the application test method of the present invention, and will not be described herein again.
The invention also provides a computer storage medium.
The computer storage medium of the present invention has stored thereon an application test program which, when executed by a processor, implements the steps of the application testing method described above.
The method implemented when the application test program running on the processor is executed may refer to each embodiment of the application test method of the present invention, and details are not described herein again.
The invention also provides a computer program product.
The computer program product of the invention comprises an application test program which, when executed by a processor, implements the steps of the application testing method as described above.
The method implemented when the application test program running on the processor is executed may refer to each embodiment of the application test method of the present invention, and details are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An application testing method, characterized in that the application testing method comprises the following steps:
receiving a test request for an application system, determining a target service request for the application system according to the test request, and acquiring a request parameter of the target service request and a real response result of the application system to the target service request;
executing the target service request through a test system corresponding to the application system based on the request parameter to obtain a test response result of the target service request;
and determining a test result according to the real response result and the test response result.
2. The application testing method of claim 1, wherein said step of receiving a test request for an application system is preceded by the step of:
determining an original service request to the application system, and screening the original service request according to a preset screening proportion to obtain a first service request;
storing request parameters of the first service request and a real response result of the application system to the target service request in an associated manner;
the step of determining a target service request to the application system according to the test request, and acquiring a request parameter of the target service request and a real response result of the application system to the target service request comprises:
and determining a target service request from the first service request according to the test request and the request parameters of the first service request, and determining the request parameters of the target service request and the real response result of the application system to the target service request.
3. The application testing method of claim 2, wherein the step of determining a target service request from the first service request based on the test request and the request parameters of the first service request comprises:
screening the first service request according to a test range parameter in the test request and a request parameter of the first service request to obtain the target service request; the test range parameters include a test function identification and/or a request time interval.
4. The application testing method of claim 2, wherein the step of screening the original service request according to a preset screening ratio to obtain a first service request comprises:
generating a random number corresponding to each original service request based on a preset random function;
and screening the original service request according to the random number and the preset screening proportion to obtain a first service request.
5. The application testing method of claim 1, wherein after the step of determining a test result from the true response result and the test response result, further comprising:
if the test result is abnormal, determining an abnormal service request with a real response result inconsistent with the corresponding test result from the target service request;
and feeding back a test exception prompt to an initiating terminal of the test request, wherein the test exception prompt comprises a request parameter of the abnormal service request.
6. The application testing method of claim 1, further comprising:
determining an original service request for the application system, and a request parameter and a real response result of the original service request;
and determining the original service request with the abnormal real response result as an abnormal service request, and debugging the request parameters of the abnormal service request through a preset abnormal debugging flow and the test system to determine the abnormal reason.
7. An application testing system, comprising:
the system comprises a request receiving module, a target service request receiving module and a target service request sending module, wherein the request receiving module is used for receiving a test request to an application system, determining the target service request to the application system according to the test request and acquiring a request parameter of the target service request and a real response result of the application system to the target service request;
the request testing module is used for executing the target service request through a testing system corresponding to the application system based on the request parameters to obtain a testing response result of the target service request;
and the result determining module is used for determining a test result according to the real response result and the test response result.
8. An application testing device, characterized in that the application testing device comprises: memory, a processor and an application test program stored on the memory and executable on the processor, the application test program, when executed by the processor, implementing the steps of the application testing method according to any of claims 1 to 6.
9. A computer storage medium, characterized in that the computer storage medium has stored thereon an application test program which, when executed by a processor, implements the steps of the application testing method according to any one of claims 1 to 6.
10. A computer program product, characterized in that the computer program product comprises an application test program which, when executed by a processor, implements the steps of the application testing method according to any one of claims 1 to 6.
CN202110504776.7A 2021-05-10 2021-05-10 Application testing method, system, device, medium, and computer program product Pending CN113238935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110504776.7A CN113238935A (en) 2021-05-10 2021-05-10 Application testing method, system, device, medium, and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110504776.7A CN113238935A (en) 2021-05-10 2021-05-10 Application testing method, system, device, medium, and computer program product

Publications (1)

Publication Number Publication Date
CN113238935A true CN113238935A (en) 2021-08-10

Family

ID=77133112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110504776.7A Pending CN113238935A (en) 2021-05-10 2021-05-10 Application testing method, system, device, medium, and computer program product

Country Status (1)

Country Link
CN (1) CN113238935A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794523A (en) * 2021-08-20 2021-12-14 无锡宇宁智能科技有限公司 Testing method, device and storage medium for near field communication device
CN115484200A (en) * 2022-09-21 2022-12-16 北京沃东天骏信息技术有限公司 Embedded point testing method, device, server, storage medium and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794523A (en) * 2021-08-20 2021-12-14 无锡宇宁智能科技有限公司 Testing method, device and storage medium for near field communication device
CN115484200A (en) * 2022-09-21 2022-12-16 北京沃东天骏信息技术有限公司 Embedded point testing method, device, server, storage medium and system
CN115484200B (en) * 2022-09-21 2024-05-17 北京沃东天骏信息技术有限公司 Buried point testing method, buried point testing device, server, storage medium and buried point testing system

Similar Documents

Publication Publication Date Title
CN111159049B (en) Automatic interface testing method and system
CN105787364B (en) Automatic testing method, device and system for tasks
US8627146B2 (en) Model-based testing of an application program under test
CN113238935A (en) Application testing method, system, device, medium, and computer program product
CN110569159A (en) Baffle generation method, device, equipment and computer storage medium
CN111045879B (en) Method, device and storage medium for generating pressure test report
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN105159832A (en) Method, apparatus and system for collecting application exception information in application test
CN115617780A (en) Data import method, device, equipment and storage medium
CN110928777A (en) Test case processing method, device, equipment and storage medium
CN111506311A (en) Internet rapid iterative development, integration and release method and middlebox enabling engine
CN114661551A (en) Method and device for monitoring software running state and computer readable storage medium
CN110543429A (en) Test case debugging method and device and storage medium
CN109985387B (en) Automatic testing method and device
CN111930625A (en) Log obtaining method, device and system based on cloud service platform
CN111104331A (en) Software management method, terminal device and computer-readable storage medium
CN113934642B (en) Software compatibility testing method based on dynamic and static combination
CN111797016B (en) Application program testing method, device, storage medium and device
CN114564387A (en) Scene type automatic testing method and system for OpenStack cloud platform
CN112948276A (en) Fuzzy test method and device and electronic equipment
CN113934552A (en) Method and device for determining function code, storage medium and electronic device
CN114116407A (en) Vehicle machine error log analysis uploading method, device, equipment and storage medium
CN111475783B (en) Data detection method, system and equipment
CN113127884A (en) Virtualization-based vulnerability parallel verification method and device
CN112069066A (en) Code coverage rate statistical method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination