CN115705288A - Application software testing method and device, storage medium and electronic equipment - Google Patents

Application software testing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115705288A
CN115705288A CN202110908109.5A CN202110908109A CN115705288A CN 115705288 A CN115705288 A CN 115705288A CN 202110908109 A CN202110908109 A CN 202110908109A CN 115705288 A CN115705288 A CN 115705288A
Authority
CN
China
Prior art keywords
test
service
data
application software
script
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
CN202110908109.5A
Other languages
Chinese (zh)
Inventor
刘剑夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding 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 Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202110908109.5A priority Critical patent/CN115705288A/en
Publication of CN115705288A publication Critical patent/CN115705288A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a device for testing application software, a storage medium and electronic equipment, wherein the method comprises the following steps: under the condition that a preset timing test task is triggered, obtaining each test script of application software corresponding to the timing test task, and executing the test script for each test script to obtain service test data of a service corresponding to the test script in the application software; and for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain a service test result. The application software is tested in a timing mode through the timing test task, and in the process of testing the application software, the application software is tested through the test script, so that test results of all services of the application software are obtained.

Description

Application software testing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of software testing technologies, and in particular, to a method and an apparatus for testing application software, a storage medium, and an electronic device.
Background
In the development work of the application software, after the application software is developed and applied online, the application software is usually checked. Therefore, the problem of the application software can be found in the first time, the problem of the application software is solved rapidly, complaints of customers are avoided, and a good application environment is provided for the customers.
At present, the mode of checking the application software is that a tester tests the application software manually, and the test mode has high participation of the tester, needs to occupy a large amount of time of the tester, and increases the workload of workers.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for testing application software, a storage medium, and an electronic device, which reduce human involvement in the process of testing application software, reduce workload of workers, and improve efficiency of testing application software.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the first aspect of the present application discloses a method for testing application software, which includes:
under the condition that a preset timing test task is triggered, obtaining each test script of application software corresponding to the timing test task;
for each test script, executing the test script to obtain service test data of a service corresponding to the test script in the application software;
and for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain the test result of the service.
Optionally, in the method, the executing the test script to obtain service test data of a service corresponding to the test script in the application software includes:
determining the corresponding service of the test script in the application software;
and executing the test script to complete service logic processing corresponding to the service to obtain service test data of the service.
Optionally, the foregoing method, processing the service test data and the standard data to obtain the test result of the service, includes:
extracting test characteristic data in the service test data and extracting standard characteristic data in the standard data;
determining similarity of the service test data and the standard data based on the test characteristic data and the standard characteristic data;
and obtaining a test result of the service based on the similarity.
Optionally, the obtaining a test result of the service based on the similarity includes:
judging whether the similarity is larger than or equal to a preset value or not;
if the similarity is larger than or equal to the preset value, determining that the service test is normal, and generating a test result representing that the service test is normal;
and if the similarity is smaller than the preset value, determining that the service test is abnormal, and generating a test result representing the service test abnormality.
The above method, optionally, further includes:
analyzing the test result, and determining whether the test result contains an abnormal identifier;
if the test result contains an abnormal identifier, generating an abnormal record file of the service, and sending the abnormal record file to a tester;
and if the test result does not contain the abnormal identifier, storing the service test data of the service.
A second aspect of the present application discloses a testing apparatus for application software, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring each test script of application software corresponding to a preset timing test task under the condition that the preset timing test task is triggered;
the execution unit is used for executing the test scripts to acquire service test data of services corresponding to the test scripts in the application software;
and the calling unit is used for calling the standard data of the service corresponding to the service test data for each service test data, and processing the service test data and the standard data to obtain the test result of the service.
The above apparatus, optionally, the execution unit includes:
the first determining subunit is used for determining the corresponding service of the test script in the application software;
and the execution subunit is used for executing the test script to complete the service logic processing corresponding to the service so as to obtain the service test data of the service.
The above apparatus, optionally, the invoking unit includes:
an extraction subunit, configured to extract test feature data in the service test data and extract standard feature data in the standard data;
a second determining subunit, configured to determine, based on the test feature data and the standard feature data, a similarity between the service test data and the standard data;
and the obtaining subunit is used for obtaining the test result of the service based on the similarity.
The above apparatus, optionally, the obtaining subunit includes:
the judging module is used for judging whether the similarity is larger than or equal to a preset value or not;
the determining module is used for determining that the service test is normal if the similarity is greater than or equal to the preset value, and generating a test result representing that the service test is normal;
and the generating module is used for determining the abnormal service test and generating a test result representing the abnormal service test if the similarity is smaller than the preset value.
The above apparatus, optionally, further comprises:
the determining unit is used for analyzing the test result and determining whether the test result contains an abnormal identifier;
the generating unit is used for generating an abnormal record file of the service if the test result contains an abnormal identifier and sending the abnormal record file to a tester;
and the storage unit is used for storing the service test data of the service if the test result does not contain the abnormal identifier.
A third aspect of the present application discloses a storage medium, which includes stored instructions, wherein when the instructions are executed, a device on which the storage medium is located is controlled to execute the test method of the application software.
A fourth aspect of the present application discloses an electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the method for testing application software as described above.
Compared with the prior art, the invention has the following advantages:
the invention provides a method and a device for testing application software, a storage medium and electronic equipment, wherein the method comprises the following steps: under the condition that a preset timing test task is triggered, obtaining each test script of application software corresponding to the timing test task, and executing the test script for each test script to obtain service test data of a service corresponding to the test script in the application software; and for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain a service test result. The application software is tested in a timing mode through the timing test task, and in the process of testing the application software, the application software is tested through the test script, so that test results of all services of the application software are obtained.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for testing application software according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for testing application software according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another method for testing application software according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a testing apparatus for application software according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
The method provided by the embodiment of the present invention may be applied to a computer terminal or a distributed intelligent device, an execution subject of the method may be a processor or a server, and referring to fig. 1, a method flowchart of a method for testing application software provided by the embodiment of the present invention is specifically described as follows:
s101, under the condition that a preset timing test task is triggered, obtaining each test script of application software corresponding to the timing test task.
Before testing the application software, the staff creates tomcat application in the server in advance, and then deploys the test environment required by testing the application software. Wherein tomcat is a core item in the Jakarta project of the Apache Software Foundation (Apache Software Foundation), and is developed by Apache, sun and other companies and individuals. With the participation and support of Sun, the latest Servlet and JSP specifications can always be embodied in Tomcat, and Tomcat5 supports the latest Servlet 2.4 and JSP 2.0 specifications. Because Tomcat technology is advanced, stable in performance and free of charge, the Tomcat is deeply loved by Java enthusiasts and accepted by part of software developers, and becomes a popular Web application server at present.
And when the current time reaches the set time of the timing test task, the timing test task is triggered, and at the moment, the processor acquires each test script of the application software corresponding to the timing test task.
Preferably, the timed test task is a script written in JAVA language, the timed test task is set by using a JAVA timed task function, and specifically, the timed task function can be provided by writing a StartTask class, so that mastertestsuite. The time and the period of the timing test task can be set according to actual requirements, specifically, the timing is performed every day or every two days.
The application software corresponds to a plurality of test scripts, and different test scripts correspond to different test contents of the application software, specifically, different channel pages, active pages or services of the application software. The application software also corresponds to different test scripts in different application scenes, and each test script covers each content needing to be inspected on the application software.
When each test script of the application software corresponding to the timing test task is obtained, the application identifier of the timing test task is determined, and the application software corresponding to the application identifier is determined, so that each test script corresponding to the application software is obtained, wherein the application task identifier can be the only identifier of the application software.
S102, for each test script, executing the test script to obtain service test data of a service corresponding to the test script in the application software.
Referring to fig. 2, a flowchart of a method for acquiring service test data of a service corresponding to a test script in the method provided in the embodiment of the present invention is specifically described as follows:
s201, determining the corresponding service of the test script in the application software.
And acquiring a script test identifier in the test script, and determining the service corresponding to the test script in the application software according to the script test identifier. The script test mark can be composed of a scene mark and a service mark, and the service corresponding to the test script in the application software can be determined according to the service mark, wherein the script test mark composed of the scene mark and the service mark has uniqueness. Further, the scenario identification may be used to determine an application scenario for the application software.
S202, executing the test script to complete service logic processing corresponding to the service to obtain service test data of the service.
And when the test script is executed, based on the test data in the test script, completing the service logic processing corresponding to the service, and further obtaining the service test data of the service so as to detect the service of the application software. Preferably, when the test script is executed, the test script can be executed through a pre-written function a. Java test execution class, so that service logic processing and picture interception are realized through the Selenium + appum.
Further, the service test data may be picture data in a process of performing service logic processing corresponding to the service according to the test data, and the picture data may specifically be a test page screenshot in a process of detecting the service of the application software.
In the method provided by the embodiment of the invention, the service test data of the service can be obtained after the test script is executed by determining the service corresponding to the test script, so that the service test of the application software can be completed, and the application software is tested by executing the test script, thereby effectively reducing the participation degree of workers and effectively reducing the workload of the workers.
S103, for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain the test result of the service.
In the method provided by the embodiment of the invention, the standard data of the service corresponding to the service test data is called in the preset data directory, wherein the data target comprises each standard data which is not abnormal in the execution process of each service of the application software.
And calling the preprogrammed Picturewood.java class to obtain the standard data of the service corresponding to the service test data in the data directory, wherein the standard data obtained through the Picturewood.java class is the data subjected to encapsulation processing.
The invention processes the service test data and the standard data by calling the previously written Resultwrite. Referring to fig. 3, a flowchart of a method for processing service test data and standard data to obtain a service test result according to an embodiment of the present invention is specifically described as follows:
s301, extracting test characteristic data in the service test data and extracting standard characteristic data in the standard data.
The test characteristic data of the extracted service test data can be specifically pixel characteristics and picture data characteristics in a test page; the standard feature data in the extracted standard data may specifically be a standard pixel feature and a standard picture data feature.
S302, determining the similarity between the service test data and the standard data based on the test characteristic data and the standard characteristic data.
And processing the test characteristic data and the standard characteristic data to obtain the similarity of the service test data and the standard data, wherein a preset neural network model can be used for processing when the test characteristic data and the standard characteristic data are processed, the neural network model is a model which is trained in advance, and the neural network model can be built by using a neural network algorithm.
And after the test characteristic data and the standard characteristic data are input into the neural network model, the neural network model processes the test characteristic data and the standard characteristic data, outputs the similarity between the service test data and the standard data, and obtains a service test result according to the similarity.
S303, judging whether the similarity is larger than or equal to a preset value; if the similarity is greater than or equal to a preset value, executing S304; if the similarity is smaller than the preset value, S305 is executed.
And comparing the similarity with a preset value to judge whether the similarity is greater than or equal to the preset value, wherein the preset value can be set according to actual requirements.
S304, determining that the service test is normal, and generating a test result representing that the service test is normal.
S305, determining the abnormal service test and generating a test result representing the abnormal service test.
In the method provided by the embodiment of the invention, the similarity is obtained by extracting the test characteristic data in the service test data and the standard characteristic data in the standard data and processing the test characteristic data and the standard characteristic data, and finally the test result of the service test is determined according to the similarity. Therefore, a test result after the service is tested can be generated, the test result of the service test is determined based on the service test data and the standard data, and whether the service is abnormal or not in the test process can be accurately determined, so that the degree of manual participation in the process of detecting the application software is reduced, the workload of workers is reduced, and the inspection efficiency of the application software is improved.
Furthermore, when the method provided by the embodiment of the invention tests the application software, the testing working mode can be a parallel working mode, which is different from the traditional serial working mode, and the parallel working mode can effectively save the testing time of the application software and improve the testing efficiency of the application software.
In the method provided in the embodiment of the present invention, fig. 3 is only one method flow for determining the test result of the service test according to the service test data and the standard data, which is provided in the embodiment of the present invention, and a manner for determining the test result of the service test according to the service test data and the standard data may also be a manner for comparing the service test data with the standard data, when the service test data and the standard data are in accordance with each other, a test result representing that the service test is normal may be generated, and when the service test data and the standard data are not in accordance with each other, a test result representing that the service test is abnormal may be generated.
In the method provided by the embodiment of the invention, after a test result for testing the service in the application software is obtained, the test result is analyzed to determine whether the test result contains an abnormal identifier; if the test result contains an abnormal identifier, generating an abnormal record file of the service, and sending the abnormal record file to a tester; further, when the test result contains an abnormal identifier, determining that the test on the service is abnormal; if the test result does not contain the abnormal identifier, the service test data of the service is stored, and further, when the test result does not contain the abnormal identifier, the service test can be determined to have no abnormality.
In the method provided by the embodiment of the invention, the exception record file contains the specific reason for the exception of the test service, specifically, if the interface operation button corresponding to the service is abnormal; and sending the abnormal record file to a tester in a preset communication mode, wherein the communication mode is specifically a mail or other communication modes. It should be noted that, when the test result includes the abnormal identifier, the service test data is also stored, so that the tester can call the service test data or trace the source according to the service test data.
In the method provided by the embodiment of the invention, when the service test is abnormal, the abnormal record file of the service is sent to the tester so that the tester can perform recheck, and the problem of the service in the application software is solved in time, so that the complaint of a client is avoided, and a high-quality application environment is provided for the client.
In the method provided by the embodiment of the invention, under the condition that a preset timing test task is triggered, each test script of application software corresponding to the timing test task is obtained, and for each test script, the test script is executed to obtain service test data of a service corresponding to the test script in the application software; and for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain the test result of the service. The application software is tested in a timing mode by using the timing test task, and in the process of testing the application software, the application software is comprehensively tested by using the test script, so that the test result of each service of the application software is obtained, the manual participation degree in the test process of the application software is reduced, the workload of workers is effectively reduced, the purpose of automatic inspection is achieved, the manual test work is simplified, and the efficiency of testing the application software is improved.
In the method provided by the embodiment of the invention, the self characteristics of java language are utilized, the test on the service logic function can be realized concurrently by integrating different test frames, and the method for testing the daily repetitive routing inspection work is high in efficiency and stable. The automatic testing task is executed regularly, manual participation is reduced, human efficiency is improved, and manual errors caused by visual fatigue due to repeated work of workers every day are avoided. In daily work, due to the fact that the demand of online is more and more, the time of a tester is occupied by inspection work more and more, and a large amount of time is invested when the tester performs routine inspection on online items in the APP every day, the inspection time can be reduced, the human efficiency is improved, automatic regression every day is achieved, problem feedback is timely found, after the test regression every day, test results are stored and mail related personnel are sent, historical problems can be reserved, problem recording is achieved, and follow-up is facilitated; the method provided by the embodiment of the invention has the advantages that the maintenance cost is low, the logic change only needs to modify the logic in the test execution class, the test data only needs to be maintained in the configuration file, and the maintenance cost for testing the application software is reduced.
Corresponding to the method shown in fig. 1 provided in the embodiment of the present invention, an embodiment of the present invention further provides a testing apparatus for application software, which is used to support the application of the method shown in fig. 1 in real life, and the apparatus may be applied to various computer terminals or distributed intelligent devices, and a schematic structural diagram of the apparatus is specifically shown in fig. 4, and specifically described as follows:
an obtaining unit 401, configured to obtain, when a preset timing test task is triggered, each test script of application software corresponding to the timing test task;
an executing unit 402, configured to execute the test script for each test script to obtain service test data of a service corresponding to the test script in the application software;
a calling unit 403, configured to call, for each service test data, standard data of a service corresponding to the service test data, and process the service test data and the standard data to obtain a test result of the service.
In the device provided by the embodiment of the invention, under the condition that a preset timing test task is triggered, each test script of application software corresponding to the timing test task is obtained, and for each test script, the test script is executed to obtain service test data of a service corresponding to the test script in the application software; and for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain the test result of the service. The timing test task is used for testing the application software in a timing mode, and in the process of testing the application software, the test script is used for comprehensively testing the application software, so that the test results of all services of the application software are obtained, the manual participation degree in the test process of the application software is reduced, the workload of workers is effectively reduced, the purpose of automatic routing inspection is achieved, the manual test work is simplified, and the efficiency of testing the application software is improved.
In the apparatus provided in the embodiment of the present invention, the execution unit 401 may be further configured to:
the first determining subunit is used for determining the corresponding service of the test script in the application software;
and the execution subunit is used for executing the test script to complete the service logic processing corresponding to the service so as to obtain the service test data of the service.
In the apparatus provided in the embodiment of the present invention, the invoking unit 403 may be further configured to:
the extracting subunit is used for extracting test characteristic data in the service test data and extracting standard characteristic data in the standard data;
a second determining subunit, configured to determine, based on the test feature data and the standard feature data, a similarity between the service test data and the standard data;
and the obtaining subunit is used for obtaining the test result of the service based on the similarity.
In the apparatus provided in the embodiment of the present invention, the obtaining subunit may be further configured to:
the judging module is used for judging whether the similarity is larger than or equal to a preset value or not;
the determining module is used for determining that the service test is normal if the similarity is greater than or equal to the preset value, and generating a test result representing that the service test is normal;
and the generating module is used for determining the abnormal service test and generating a test result representing the abnormal service test if the similarity is smaller than the preset value.
The device provided by the embodiment of the invention can be further configured to:
the determining unit is used for analyzing the test result and determining whether the test result contains an abnormal identifier;
the generating unit is used for generating an abnormal recording file of the service if the test result contains an abnormal identifier and sending the abnormal recording file to a tester;
and the storage unit is used for storing the service test data of the service if the test result does not contain the abnormal identifier.
An embodiment of the present invention further provides a storage medium, where the storage medium includes a stored instruction, and when the instruction runs, a device where the storage medium is located is controlled to perform the following operations:
under the condition that a preset timing test task is triggered, obtaining each test script of application software corresponding to the timing test task;
for each test script, executing the test script to obtain service test data of a service corresponding to the test script in the application software;
and for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain the test result of the service.
An embodiment of the present invention further provides an electronic device, a schematic structural diagram of which is shown in fig. 5, and the electronic device specifically includes a memory 501 and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and are configured to be executed by one or more processors 503 to perform the following operations for the one or more instructions 502:
under the condition that a preset timing test task is triggered, obtaining each test script of application software corresponding to the timing test task;
for each test script, executing the test script to obtain service test data of a service corresponding to the test script in the application software;
and for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain the test result of the service.
The specific implementation procedures and derivatives thereof of the above embodiments are within the scope of the present invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments, which are substantially similar to the method embodiments, are described in a relatively simple manner, and reference may be made to some descriptions of the method embodiments for relevant points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement without inventive effort.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for testing application software is characterized by comprising the following steps:
under the condition that a preset timing test task is triggered, obtaining each test script of application software corresponding to the timing test task;
for each test script, executing the test script to obtain service test data of a service corresponding to the test script in the application software;
and for each service test data, calling the standard data of the service corresponding to the service test data, and processing the service test data and the standard data to obtain the test result of the service.
2. The method according to claim 1, wherein the executing the test script to obtain service test data of a service corresponding to the test script in the application software comprises:
determining the corresponding service of the test script in the application software;
and executing the test script to complete the service logic processing corresponding to the service to obtain the service test data of the service.
3. The method according to claim 1, wherein the processing the service test data and the standard data to obtain the test result of the service comprises:
extracting test characteristic data in the service test data and extracting standard characteristic data in the standard data;
determining similarity of the service test data and the standard data based on the test characteristic data and the standard characteristic data;
and obtaining a test result of the service based on the similarity.
4. The method of claim 3, wherein obtaining the test result of the service based on the similarity comprises:
judging whether the similarity is larger than or equal to a preset value or not;
if the similarity is larger than or equal to the preset value, determining that the service test is normal, and generating a test result representing that the service test is normal;
and if the similarity is smaller than the preset value, determining that the service test is abnormal, and generating a test result representing the service test abnormality.
5. The method of claim 1, further comprising:
analyzing the test result, and determining whether the test result contains an abnormal identifier;
if the test result contains an abnormal identifier, generating an abnormal record file of the service, and sending the abnormal record file to a tester;
and if the test result does not contain the abnormal identifier, storing the service test data of the service.
6. An apparatus for testing application software, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring each test script of application software corresponding to a preset timing test task under the condition that the preset timing test task is triggered;
the execution unit is used for executing the test scripts to acquire service test data of services corresponding to the test scripts in the application software;
and the calling unit is used for calling the standard data of the service corresponding to the service test data for each service test data, and processing the service test data and the standard data to obtain the test result of the service.
7. The apparatus of claim 6, wherein the execution unit comprises:
the first determining subunit is used for determining the corresponding service of the test script in the application software;
and the execution subunit is used for executing the test script to complete the service logic processing corresponding to the service so as to obtain the service test data of the service.
8. The apparatus of claim 6, wherein the call unit comprises:
the extracting subunit is used for extracting test characteristic data in the service test data and extracting standard characteristic data in the standard data;
a second determining subunit, configured to determine, based on the test feature data and the standard feature data, a similarity between the service test data and the standard data;
and the obtaining subunit is used for obtaining the test result of the service based on the similarity.
9. A storage medium, characterized in that the storage medium comprises stored instructions, wherein when the instructions are executed, the apparatus on which the storage medium is located is controlled to execute the test method of the application software according to any one of claims 1 to 5.
10. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the method of testing the application software according to any one of claims 1-5.
CN202110908109.5A 2021-08-09 2021-08-09 Application software testing method and device, storage medium and electronic equipment Pending CN115705288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110908109.5A CN115705288A (en) 2021-08-09 2021-08-09 Application software testing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110908109.5A CN115705288A (en) 2021-08-09 2021-08-09 Application software testing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115705288A true CN115705288A (en) 2023-02-17

Family

ID=85179279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110908109.5A Pending CN115705288A (en) 2021-08-09 2021-08-09 Application software testing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115705288A (en)

Similar Documents

Publication Publication Date Title
CN110768872B (en) Inspection method, system, device, computer equipment and storage medium
CN107133174A (en) Test case code automatically generating device and method
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN107526676B (en) Cross-system test method and device
CN106547687A (en) Application testing method, apparatus and system
CN110955589A (en) Method, system, device and medium for testing headless mode based on browser
CN110955600A (en) Interface test method and device
CN111797026A (en) Test case generation method and device, computer equipment and storage medium
CN110377347A (en) A kind of automatic inspection method and system of Redfish setting BIOS option
CN109657475A (en) Code vulnerabilities check method, apparatus, equipment and storage medium
CN110609785A (en) Software interface testing method and device
CN107168844B (en) Performance monitoring method and device
CN110297771A (en) Distributed test method and device for the warehouse receipt page
CN107844486B (en) Method and system for analyzing webpage problems for client
CN117370203A (en) Automatic test method, system, electronic equipment and storage medium
CN108334443A (en) Generate method, apparatus, equipment and the computer readable storage medium of test case
CN112181822A (en) Test method and test method for starting time consumption of application program
CN115705288A (en) Application software testing method and device, storage medium and electronic equipment
CN112306857A (en) Method and apparatus for testing applications
CN116383025A (en) Performance test method, device, equipment and medium based on Jmeter
CN110515829A (en) Application testing method, device, equipment and computer readable storage medium
CN105339974B (en) Analog sensor
CN115052037A (en) Client detection method, device, storage medium and equipment
CN101533369A (en) Method for checking start-up procedure and device thereof
CN114564387A (en) Scene type automatic testing method and system for OpenStack cloud platform

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