CN108563575B - application program testing method and device, terminal and computer readable storage medium - Google Patents

application program testing method and device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108563575B
CN108563575B CN201810339371.0A CN201810339371A CN108563575B CN 108563575 B CN108563575 B CN 108563575B CN 201810339371 A CN201810339371 A CN 201810339371A CN 108563575 B CN108563575 B CN 108563575B
Authority
CN
China
Prior art keywords
test data
application program
test
tested
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810339371.0A
Other languages
Chinese (zh)
Other versions
CN108563575A (en
Inventor
张�成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810339371.0A priority Critical patent/CN108563575B/en
Publication of CN108563575A publication Critical patent/CN108563575A/en
Application granted granted Critical
Publication of CN108563575B publication Critical patent/CN108563575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

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 provides an application program testing method, which comprises the steps of intercepting test data from a server in the running process of an application program to be tested; judging whether the intercepted test data meets the scene test condition; if so, constructing simulation test data according to the scene parameters of the application program to be tested when the application program is used; and testing the application program to be tested according to the simulation test data. The method has the advantages that the method does not depend on the server to construct data and complete functions, can complete the construction of the test data of the application program only by utilizing the existing server environment, only needs to pay attention to the service logic of the application program, does not need to construct a complex server environment, does not need to modify the service code of the application program, does not influence the normal service logic, and completely simulates the actual data interaction of the application program and the server. The invention also provides an application program testing device, an application program testing terminal and a computer readable storage medium.

Description

Application program testing method and device, terminal and computer readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to an application program testing method, an application program testing device, an application program testing terminal and a computer readable storage medium.
background
In a daily mobile phone Application program (App) test, the test needs to be completed by data interaction with a server. Therefore, the App test needs to rely on the functional completeness of the server, and the server is required to cooperatively construct various kinds of abnormal data.
However, if the server is incomplete, the function of the waiting server is complete, and the waiting server is matched with and constructs various abnormal data, the waiting time is long, so that the project schedule is prolonged, the project delivery and iteration speed is influenced, and the efficiency is low.
If the server function is not completely waited, the adopted solution method comprises the following steps:
The method comprises the steps of building a server to construct test data needing to interact with an App. Because different server architectures are different, servers with different architectures need to be built, extra learning cost is increased for App testing personnel, and rapid implementation is not easy.
And secondly, the purpose of effectively testing the abnormal test data is achieved by modifying the code written by the App in the development process. However, this approach cannot effectively simulate an abnormal data scenario and eliminates abnormal behavior of other logic due to modifying the source program.
Disclosure of Invention
An embodiment of the present invention provides an application program testing method, and further relates to an application program testing apparatus, an application program testing terminal, and a computer-readable storage medium, so as to solve at least one of the above technical problems in the prior art.
in a first aspect, an embodiment of the present invention provides an application program testing method, including:
Intercepting test data from a server in the running process of an application program to be tested;
judging whether the intercepted test data meets the scene test condition, if so, constructing simulation test data according to the scene parameters of the application program to be tested when the application program is used;
And testing the application program to be tested according to the simulation test data.
with reference to the first aspect, in a first implementation manner of the first aspect, the determining whether the intercepted test data meets a scenario test condition includes:
And judging whether the intercepted test data meets the test conditions of the abnormal scenes or the test conditions of the newly added functional scenes.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, if the configuration is satisfied, the constructing simulation test data according to the scene parameters of the application program to be tested when the application program to be tested is used includes:
if the intercepted test data accords with the abnormal scene test condition, constructing simulation test data according to the abnormal scene parameters of the application program to be tested when the application program to be tested is used; or the like, or, alternatively,
And if the intercepted test data accords with the test condition of the newly added function scene, constructing simulation test data according to the parameters of the newly added function scene when the application program to be tested is used.
With reference to the first aspect, in a third implementation manner of the first aspect, before intercepting the test data from the server, the method further includes:
And sending initial data of the application program to be tested to the server so that the server calculates the initial data according to the service logic of the server to obtain the test data.
with reference to the first aspect, in a fourth implementation manner of the first aspect, the intercepting the test data from the server includes:
and intercepting the test data according to the surrounding Around labels in the section-oriented programming AOP.
With reference to the first aspect, in a fifth implementation manner of the first aspect, before the testing the application program to be tested according to the simulation test data, the method includes:
and sending the simulation test data to the application program to be tested through an ADB command of the android debug bridge.
in a second aspect, an embodiment of the present invention provides an application testing apparatus, including:
The test data interception module is used for intercepting the test data from the server in the running process of the application program to be tested;
The test data judgment module is used for judging whether the intercepted test data meets the scene test condition;
the simulation data construction module is used for constructing simulation test data according to the scene parameters of the application program to be tested when the application program to be tested is used if the intercepted test data accords with the scene test conditions;
and the application program testing module is used for testing the application program to be tested according to the simulation test data.
With reference to the second aspect, in a first implementation manner of the second aspect, the test data determining module includes:
The abnormal data judging unit is used for judging whether the intercepted test data meets the test condition of the abnormal scene;
And the newly added function judging unit is used for judging whether the intercepted test data meets the test condition of the newly added function scene.
with reference to the second aspect, in a second embodiment of the second aspect, the simulation data construction module includes:
The first construction unit is used for constructing simulation test data according to the abnormal scene parameters when the application program to be tested is used if the intercepted test data accords with the abnormal scene test conditions;
And the second construction unit is used for constructing simulation test data according to the newly added function scene parameters when the application program to be tested is used if the intercepted test data meets the newly added function test conditions.
With reference to the second aspect, the present invention, in a third embodiment of the second aspect, further comprises:
and the initial data sending module is used for sending the initial data of the application program to be tested to the server so that the server calculates the initial data according to the service logic of the server to obtain the test data.
The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the structure of the application test terminal includes a processor and a memory, the memory is used for storing a program for supporting the application test apparatus to execute the application test method in the first aspect, and the processor is configured to execute the program stored in the memory. The application testing apparatus may further comprise a communication interface for the application testing apparatus to communicate with other devices or a communication network.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, configured to store computer software instructions for an application testing apparatus, where the computer software instructions include a program for executing the application testing method in the first aspect as described above.
One of the above technical solutions has the following advantages or beneficial effects: the application program to be tested constructs simulation test data according to the scene parameters, does not depend on server construction data and has complete functions, and the construction of the test data of the application program can be completed only by utilizing the existing server environment. Furthermore, only the business logic of the application program is concerned, and a complex server environment is not required to be built. In addition, the service code of the application program does not need to be modified, the normal service logic is not influenced, and the actual data interaction between the application program and the server can be completely simulated.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
fig. 1 is a flowchart of an application testing method according to an embodiment of the present invention;
Fig. 2 is a process diagram of an application program testing method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an apparatus for testing an application according to an embodiment of the present invention;
Fig. 4 is a schematic diagram of an application test terminal according to an embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
Example one
the present embodiment provides an application program testing method, as shown in fig. 1 and 2, a specific testing method includes:
step S1: and intercepting the test data from the server in the running process of the application program to be tested.
In the running process of the application to be tested, the application first sends initial data to the server, and if the application is a payment APP, the sent initial data may include a request for payment ten yuan. The server calculates the initial data to obtain test data, wherein the test data may include normal test data for completing payment for ten units, and if the server is incomplete, the returned test data may be abnormal test data, such as abnormal test data lacking winning information. Thereafter, the application intercepts the test data from the server.
Step S2: and judging whether the intercepted test data meets the scene test condition, and if so, constructing simulation test data according to the scene parameters of the application program to be tested when the application program to be tested is used.
In the embodiment, the judged logic is woven into the byte codes of the source program of the application program in the compiling process, so that the condition of not polluting code sources can be avoided, and the service codes of the application program do not need to be modified.
The scenario test conditions may include test conditions corresponding to various abnormal scenarios occurring when the application is used, or test conditions corresponding to scenarios to which functions are newly added, and the like. Of course, the two scenario test conditions are only examples and not limitations of the scenario test conditions, and other possible scenario test conditions are within the scope of the present embodiment.
And if the intercepted test data accords with the scene test conditions, respectively constructing simulation test data according to the scene parameters corresponding to different abnormal scenes or the scene parameters corresponding to newly added functions. Then, the test data meeting the scene test condition is replaced by the constructed simulation test data without modifying the service code of the application program to be tested. The application program to be tested can be tested according to the simulation test data, so that the use condition of the application program to be tested in an abnormal scene or a newly added function scene is further verified. Therefore, the normal service logic of the application program is not influenced, abnormal behaviors of other logics caused by modifying the source program are not introduced, and the accuracy of the test is ensured.
and if the intercepted test data does not accord with the normal test data of the scene test condition, directly sending the intercepted test data to the application program for testing.
Step S3: and testing the application program to be tested according to the simulation test data.
After the simulated test data is constructed, the simulated test data may be used to replace the original test data. And then, normally executing the test process of the APP by using the replaced simulation test data, thereby achieving the test purpose.
the application program testing method provided by the embodiment does not depend on server construction data and has complete functions, the construction of the testing data of the application program can be completed only by utilizing the existing server environment, only the business logic of the application program needs to be concerned, a complex server environment does not need to be built, the business code of the application program does not need to be modified, the normal business logic is not influenced, and the actual data interaction between the application program and the server is completely simulated.
on the basis of the method, judging whether the intercepted test data meets the scene test condition or not comprises the following steps:
And judging whether the intercepted test data meets the test conditions of the abnormal scenes or the test conditions of the newly added functional scenes.
for example, the abnormal scenario test condition includes, for example, a payment abnormality of a payment APP, a timing abnormality of a shared bicycle, and the like. For another example, the newly added function scenario test condition includes a discount calculation function or winning information newly added in the payment APP.
On the basis of the method, if the test data are consistent with the scene parameters of the application program to be tested, the method for constructing the simulation test data according to the scene parameters of the application program to be tested comprises the following steps:
If the intercepted test data accords with the abnormal scene test condition, constructing simulation test data according to the abnormal scene parameters when the application program to be tested is used; or the like, or, alternatively,
and if the intercepted test data accords with the test conditions of the newly added function scene, constructing simulation test data according to the parameters of the newly added function scene when the application program to be tested is used.
after the analog test data is obtained by construction, the constructed analog test data can be transmitted to an application program to be tested at a PC (personal computer) end so as to replace the original test data.
on the basis of the method, before intercepting the test data from the server, the method further comprises the following steps:
and sending the initial data of the application program to be tested to the server so that the server calculates the initial data according to the service logic of the server to obtain the test data.
in one possible implementation, step S1 may include: test data is intercepted according to the surrounding (Around) label in the Aspect Oriented Programming (AOP).
Based on the AOP technology, the public function for interaction between the APP and the server can be intercepted through surrounding Around labels, and the public function is used for receiving test data returned by the server, so that the requirement that the original test data is replaced by the simulation server data is met. Of course, the interception of the test data includes, but is not limited to, the above interception method, and may also be other interception methods, all of which are within the protection scope of the present embodiment.
on the basis of the method, before the application program to be tested is tested according to the simulation test data, the method comprises the following steps:
The simulation test data can be sent to the application program to be tested through an Android Debug Bridge (ADB) command.
Taking Android as an example, the PC dynamically transmits built simulation test data to the APP through an ADB command, so that the original test data is replaced with the simulation test data for testing. Of course, the method including but not limited to the method of using the ADB command of the android debug bridge, and other data transmission methods may also be included, and all are within the protection scope of the present embodiment.
The whole process of the application test method is illustrated below:
As shown in fig. 2, the initial data for purchasing ten-yuan breakfast sent by the payment APP is sent to the server, and the initial data for purchasing ten-yuan breakfast comprises data information for deducting eight-yuan breakfast and data information for using two-yuan coupon. And the server receives the initial data, calculates the initial data and obtains the test data paid for ten yuan. In the testing process, paying the APP normally should show that ten yuan has been paid. In the embodiment, the server sends the test data to the payment APP after calculating the test data that has paid ten yuan. And intercepting the test data in the running process of the payment APP program, and judging whether the intercepted test data meets the abnormal scene test condition of the payment abnormity. For example, intercepted test data is not paid for ten elements, but paid for twelve-element or paid for six-element payment exception scenarios; or the intercepted test data does not include a newly added function scene such as winning information because the server function is incomplete. And if the abnormal scene or the newly added function scene is met, the PC side sends the constructed simulation test data to the payment APP through an ADB command. And modifying the intercepted paid ten-element test data into paid twelve-element or paid six-element simulation test data, or replacing the intercepted paid ten-element test data with the simulation test data added with the winning information on the basis of the original test data. At this time, the data actually executed by the payment APP is the modified simulation test data.
example two
in another specific embodiment, there is provided an application testing apparatus, as shown in fig. 3, including:
The test data interception module 100 is used for intercepting test data from a server in the running process of an application program to be tested;
The test data judgment module 200 is used for judging whether the intercepted test data meets the scene test condition;
the simulation data construction module 300 is configured to construct simulation test data according to the scene parameters of the application program to be tested when the application program to be tested is used if the intercepted test data meets the scene test conditions;
And the application program testing module 400 is used for testing the application program to be tested according to the simulation test data.
Further, in the above apparatus, the test data determining module 200 includes:
the abnormal data judging unit is used for judging whether the intercepted test data meets the test condition of the abnormal scene;
And the newly added function judging unit is used for judging whether the intercepted test data meets the test condition of the newly added function scene.
further, in the above apparatus, the simulation data constructing module 300 includes:
the first construction unit is used for constructing simulation test data according to the abnormal scene parameters when the application program to be tested is used if the intercepted test data accords with the abnormal scene test conditions;
And the second construction unit is used for constructing simulation test data according to the newly added function scene parameters when the application program to be tested is used if the intercepted test data meets the newly added function scene test conditions.
Further, in the above apparatus, the apparatus further comprises:
And the initial data sending module is used for sending the initial data of the application program to be tested to the server so as to allow the server to calculate the initial data according to the self service logic to obtain the test data.
EXAMPLE III
an embodiment of the present invention provides an application program test terminal, as shown in fig. 4, including:
a memory 400 and a processor 500, the memory 400 having stored therein a computer program operable on the processor 500. The processor 500 implements the method of the voice-controlled smart home device in the above embodiment when executing the computer program. The number of the memory 400 and the processor 500 may be one or more.
a communication interface 600 for the memory 400 and the processor 500 to communicate with the outside.
Memory 400 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
if the memory 400, the processor 500, and the communication interface 600 are implemented independently, the memory 400, the processor 500, and the communication interface 600 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Optionally, in a specific implementation, if the memory 400, the processor 500, and the communication interface 600 are integrated on a single chip, the memory 400, the processor 500, and the communication interface 600 may complete communication with each other through an internal interface.
example four
a computer-readable storage medium storing a computer program which, when executed by a processor, implements any of the application testing methods of one embodiment included herein.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
it should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
the above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. an application testing method, comprising:
intercepting test data from a server in the running process of an application program to be tested;
Judging whether the intercepted test data meets the scene test condition, if so, constructing simulation test data according to the scene parameters of the application program to be tested when the application program is used;
testing the application program to be tested according to the simulation test data;
Wherein the judging whether the intercepted test data meets the scene test condition includes:
and judging whether the intercepted test data meets the test conditions of the abnormal scenes or the test conditions of the newly added functional scenes.
2. the method of claim 1, wherein if the test data matches the scene parameters of the application under test, constructing simulation test data according to the scene parameters of the application under test, comprises:
If the intercepted test data accords with the abnormal scene test condition, constructing simulation test data according to the abnormal scene parameters of the application program to be tested when the application program to be tested is used; or the like, or, alternatively,
And if the intercepted test data accords with the test condition of the newly added function scene, constructing simulation test data according to the parameters of the newly added function scene when the application program to be tested is used.
3. the method of claim 1, wherein prior to intercepting the test data from the server, further comprising:
And sending initial data of the application program to be tested to the server so that the server calculates the initial data according to the service logic of the server to obtain the test data.
4. The method of claim 1, wherein intercepting test data from a server comprises:
And intercepting the test data according to the surrounding Around labels in the section-oriented programming AOP.
5. the method of claim 1, wherein prior to testing the application under test based on the simulated test data, comprising:
And sending the simulation test data to the application program to be tested through an ADB command of the android debug bridge.
6. an application testing apparatus, comprising:
The test data interception module is used for intercepting the test data from the server in the running process of the application program to be tested;
The test data judgment module is used for judging whether the intercepted test data meets the scene test condition;
The simulation data construction module is used for constructing simulation test data according to the scene parameters of the application program to be tested when the application program to be tested is used if the intercepted test data accords with the scene test conditions;
The application program testing module is used for testing the application program to be tested according to the simulation test data;
wherein the test data judging module comprises:
the abnormal data judging unit is used for judging whether the intercepted test data meets the test condition of the abnormal scene;
And the newly added function judging unit is used for judging whether the intercepted test data meets the test condition of the newly added function scene.
7. The apparatus of claim 6, wherein the simulation data construction module comprises:
The first construction unit is used for constructing simulation test data according to the abnormal scene parameters when the application program to be tested is used if the intercepted test data accords with the abnormal scene test conditions;
And the second construction unit is used for constructing simulation test data according to the newly added function scene parameters when the application program to be tested is used if the intercepted test data meets the newly added function test conditions.
8. The apparatus of claim 6, further comprising:
And the initial data sending module is used for sending the initial data of the application program to be tested to the server so that the server calculates the initial data according to the service logic of the server to obtain the test data.
9. An application test terminal, comprising:
One or more processors;
Storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201810339371.0A 2018-04-16 2018-04-16 application program testing method and device, terminal and computer readable storage medium Active CN108563575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810339371.0A CN108563575B (en) 2018-04-16 2018-04-16 application program testing method and device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810339371.0A CN108563575B (en) 2018-04-16 2018-04-16 application program testing method and device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108563575A CN108563575A (en) 2018-09-21
CN108563575B true CN108563575B (en) 2019-12-10

Family

ID=63535315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810339371.0A Active CN108563575B (en) 2018-04-16 2018-04-16 application program testing method and device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108563575B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258882B (en) * 2020-01-03 2023-08-25 恩亿科(北京)数据科技有限公司 Test data acquisition method and device based on digital media system
CN111209202A (en) * 2020-01-06 2020-05-29 北京字节跳动网络技术有限公司 Terminal application testing method and device
CN113722020B (en) * 2020-05-26 2024-06-11 腾讯科技(深圳)有限公司 Interface calling method, device and computer readable storage medium
CN112347329B (en) * 2020-10-28 2024-03-19 杭州安恒信息技术股份有限公司 Data processing method, device, storage medium and equipment
CN112416786A (en) * 2020-11-27 2021-02-26 上海达梦数据库有限公司 Test method, device, equipment and storage medium
CN112948272A (en) * 2021-04-16 2021-06-11 西安京迅递供应链科技有限公司 Production environment-based data test system function method and device and related equipment
CN113517999A (en) * 2021-04-29 2021-10-19 雄狮汽车科技(南京)有限公司 Working method and system for simulating network data verification application boundary scene

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834590A (en) * 2014-02-11 2015-08-12 腾讯科技(深圳)有限公司 Software test method and system
CN105095087A (en) * 2015-08-31 2015-11-25 武汉启明联创信息科技有限公司 Permission operation based software test system and method
CN107329890A (en) * 2017-06-06 2017-11-07 北京金山安全软件有限公司 Test method and device based on Mock and server
CN107480040A (en) * 2016-06-08 2017-12-15 阿里巴巴集团控股有限公司 Workflow stability test method and apparatus
CN107678940A (en) * 2017-08-30 2018-02-09 苏州朗动网络科技有限公司 Automation exploratory testing method and system based on Android APP

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831043B (en) * 2011-06-17 2015-05-20 阿里巴巴集团控股有限公司 Monitoring method and device for application program
US8799720B2 (en) * 2012-02-28 2014-08-05 International Business Machines Corporation Semi-automatic conversion and execution of functional manual tests
CN105335281B (en) * 2014-07-30 2018-03-20 阿里巴巴集团控股有限公司 A kind of method and device relied on outside automatic mock
CN106648556B (en) * 2015-10-28 2019-12-24 北京国双科技有限公司 Method and device for front-end and back-end integrated development test
CN105739987B (en) * 2016-02-03 2018-12-11 成都四方伟业软件股份有限公司 The system framework of rapid build JavaWeb application towards SOA

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834590A (en) * 2014-02-11 2015-08-12 腾讯科技(深圳)有限公司 Software test method and system
CN105095087A (en) * 2015-08-31 2015-11-25 武汉启明联创信息科技有限公司 Permission operation based software test system and method
CN107480040A (en) * 2016-06-08 2017-12-15 阿里巴巴集团控股有限公司 Workflow stability test method and apparatus
CN107329890A (en) * 2017-06-06 2017-11-07 北京金山安全软件有限公司 Test method and device based on Mock and server
CN107678940A (en) * 2017-08-30 2018-02-09 苏州朗动网络科技有限公司 Automation exploratory testing method and system based on Android APP

Also Published As

Publication number Publication date
CN108563575A (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN108563575B (en) application program testing method and device, terminal and computer readable storage medium
JP7270764B2 (en) artificial intelligence chip verification
CN105320553A (en) Method and system for updating network card firmware based on domestic processor platform
CN108170465A (en) A kind of version information management method, electronic equipment and readable storage medium storing program for executing
CN111858296A (en) Interface test method, device, equipment and storage medium
CN109558313B (en) Method and device for constructing abnormal test scene
CN110214314A (en) Operating system verifying
CN110069736A (en) Page loading method and equipment
CN107220169B (en) Method and equipment for simulating server to return customized data
CN102147831A (en) Logic verification method and device
CN115544604A (en) Application software layer model generation method and device and electronic equipment
CN107679423A (en) Partition integrity inspection method and device
CN114218882A (en) SoC chip inspection method, device and related equipment
CN113760308A (en) DSP system construction method and device, electronic equipment and storage medium
US7725806B2 (en) Method and infrastructure for recognition of the resources of a defective hardware unit
US20130159241A1 (en) Template clauses based sat techniques
CN112463574A (en) Software testing method, device, system, equipment and storage medium
CN110865932A (en) Program internal interface testing method, system, terminal and storage medium
CN109902001A (en) To the detection method and terminal device of uninitialized variable
CN112819621B (en) Intelligent contract resource loss testing method and system
US20140298299A1 (en) Method for determining whether a machine code instruction of a machine code program is executed in the machine code program
CN112885403B (en) Function test method, device and equipment of Flash controller
CN115391168A (en) Sandbox testing method, sandbox testing device, sandbox testing equipment and storage medium
EP3734491A1 (en) Method, apparatus, device, and medium for implementing simulator
CN113760315A (en) Method and device for testing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210513

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Patentee after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Patentee after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Patentee before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right