CN108563575A - Applied program testing method, device, terminal and computer readable storage medium - Google Patents

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

Info

Publication number
CN108563575A
CN108563575A CN201810339371.0A CN201810339371A CN108563575A CN 108563575 A CN108563575 A CN 108563575A CN 201810339371 A CN201810339371 A CN 201810339371A CN 108563575 A CN108563575 A CN 108563575A
Authority
CN
China
Prior art keywords
test data
application program
intercepted
measured
data
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.)
Granted
Application number
CN201810339371.0A
Other languages
Chinese (zh)
Other versions
CN108563575B (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

Abstract

The present invention proposes a kind of applied program testing method, in application program operational process to be measured, by being intercepted to the test data from server;Judge whether the test data intercepted meets scrnario testing condition;If meeting, scenario parameters constructing analog test data when being used according to the application program to be measured;The application program to be measured is tested according to the simulation test data.Server constructs data and complete function are not depended on, the construction of the test data of application program can be completed merely with existing server environment, only need the service logic of concern application program itself, without building complicated server environment, it is not necessary to modify the service codes of application program, normal service logic is not influenced, and full simulation application program carries out real data interaction with server.The present invention also provides a kind of Application testing device, a kind of Application testing terminal and a kind of computer readable storage mediums.

Description

Applied program testing method, device, terminal and computer readable storage medium
Technical field
The present invention relates to field of computer technology, and in particular to a kind of applied program testing method further relates to a kind of application Program test device, a kind of Application testing terminal and a kind of computer readable storage medium.
Background technology
In daily application program of mobile phone (Application, App) test, need by carrying out data with server Test is completed in interaction.Therefore, App tests need the functional completeness of reliance server, and need server engagement formation each Kind abnormal data.
But if server is incomplete, waiting for server complete function, the various abnormal numbers of waiting for server engagement formation According to required is waiting for a long time, and project waiting can be caused to extend, influence delivery and the iteration speed of project, efficiency is low.
If be not to wait for, server capability is complete, and the solution that may be used includes:
Method one builds a server to construct the test data that needs are interacted with App.Due to different server racks Structure is different, needs the server for different frameworks to be built, for the personnel of App tests, increases additional Cost is practised, and is not easy to fast implement.
Method two, the code write in the process of development by changing App, carry out effectively abnormality test data to reach The purpose of test.However, this method can not effectively simulate abnormal data scene, and to exclude caused by changing source program The improper behavior of other logics.
Invention content
The embodiment of the present invention provides a kind of applied program testing method, further relates to a kind of Application testing device, one kind Application testing terminal and a kind of computer readable storage medium, to solve in the above technical problem in the prior art It is at least one.
In a first aspect, an embodiment of the present invention provides a kind of applied program testing methods, including:
In application program operational process to be measured, the test data from server is intercepted;
Judge whether the test data intercepted meets scrnario testing condition, if meeting, according to described to be measured using journey Scenario parameters constructing analog test data when sequence is used;
The application program to be measured is tested according to the simulation test data.
With reference to first aspect, the present invention judges the test data intercepted in the first embodiment of first aspect Whether scrnario testing condition is met, including:
Judge whether the test data intercepted meets abnormal scene test condition or newly add function scrnario testing condition.
The first embodiment with reference to first aspect, the present invention is in the second embodiment of first aspect, if meeting, Scenario parameters constructing analog test data when then being used according to the application program to be measured, including:
If the test data intercepted meets abnormal scene test condition, when being used according to the application program to be measured Abnormal scene parametric configuration simulation test data;Or,
If the test data intercepted, which meets, newly adds function scrnario testing condition, made according to the application program to be measured The new of used time adds function scenario parameters constructing analog test data.
With reference to first aspect, the present invention is in the third embodiment of first aspect, to the test number from server According to before being intercepted, further include:
The primary data of application program to be measured is sent to the server, so that business of the server according to itself Logic calculates the primary data, obtains the test data.
With reference to first aspect, the present invention is in the 4th kind of embodiment of first aspect, to the test number from server According to being intercepted, including:
The test data is intercepted according to towards the surrounding Around marks in tangent plane programming AOP.
With reference to first aspect, the present invention is in the 5th kind of embodiment of first aspect, according to the simulation test data Before testing the application program to be measured, including:
Bridge ADB orders are debugged by Android, and the simulation test data are sent to the application program to be measured.
Second aspect, an embodiment of the present invention provides a kind of Application testing devices, including:
Test data blocking module is used in application program operational process to be measured, to the test data from server It is intercepted;
Test data judgment module, for judging whether the test data intercepted meets scrnario testing condition;
Analogue data builds module, if the test data for having intercepted meets the scrnario testing condition, according to institute State scenario parameters constructing analog test data when application program to be measured is used;
Application testing module, for being tested the application program to be measured according to the simulation test data.
In conjunction with second aspect, the present invention is in the first embodiment of second aspect, the test data judgment module packet It includes:
Abnormal data judging unit, for judging whether the test data intercepted meets abnormal scene test condition;
Newly add function-judging unit, newly adds function scrnario testing item for judging whether the test data intercepted meets Part.
In conjunction with second aspect, for the present invention in the second embodiment of second aspect, the analogue data builds module packet It includes:
First construction unit, if the test data for having intercepted meets the abnormal scene test condition, according to institute State abnormal scene parametric configuration simulation test data when application program to be measured is used;
Second construction unit, if the test data for having intercepted meet it is described newly add functional test condition, according to institute It states and newly adds function scenario parameters constructing analog test data when application program to be measured is used.
In conjunction with second aspect, in the third embodiment of second aspect, described device further includes the present invention:
Primary data sending module, for sending the primary data of application program to be measured to the server, so that institute It states server to calculate the primary data according to the service logic of itself, obtains the test data.
The function can also execute corresponding software realization by hardware realization by hardware.The hardware or Software includes one or more modules corresponding with above-mentioned function.
In a possible design, the structure of Application testing terminal includes processor and memory, described to deposit Reservoir is used to store the program for supporting that Application testing device executes applied program testing method in above-mentioned first aspect, described Processor is configurable for executing the program stored in the memory.The Application testing device can also include logical Interface is believed, for Application testing device and other equipment or communication.
The third aspect, an embodiment of the present invention provides a kind of computer readable storage mediums, are surveyed for storing application program Computer software instructions used are set in trial assembly comprising for executing applied program testing method in above-mentioned first aspect are application Program involved by program test device.
A technical solution in above-mentioned technical proposal has the following advantages that or advantageous effect:Application program to be measured is according to field Scape parametric configuration simulation test data, do not depend on server constructs data and complete function, merely with existing server environment The construction of the test data of application program can be completed.Further, it is only necessary to which the service logic for paying close attention to application program itself does not have to Build complicated server environment.In addition, it is not necessary to modify the service codes of application program, normal service logic, energy are not influenced Enough full simulation application programs carry out real data interaction with server.
Above-mentioned general introduction is merely to illustrate that the purpose of book, it is not intended to be limited in any way.Except foregoing description Schematical aspect, except embodiment and feature, by reference to attached drawing and the following detailed description, the present invention is further Aspect, embodiment and feature, which will be, to be readily apparent that.
Description of the drawings
In the accompanying drawings, unless specified otherwise herein, otherwise run through the identical reference numeral of multiple attached drawings and indicate same or analogous Component or element.What these attached drawings were not necessarily to scale.It should be understood that these attached drawings are depicted only according to the present invention Some disclosed embodiments, and should not serve to limit the scope of the present invention.
Fig. 1 is a kind of applied program testing method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of applied program testing method process schematic provided in an embodiment of the present invention;
Fig. 3 is a kind of Application testing schematic device provided in an embodiment of the present invention;
Fig. 4 is a kind of Application testing terminal schematic diagram provided in an embodiment of the present invention.
Specific implementation mode
Hereinafter, certain exemplary embodiments are simply just described.As one skilled in the art will recognize that Like that, without departing from the spirit or scope of the present invention, described embodiment can be changed by various different modes. Therefore, attached drawing and description are considered essentially illustrative rather than restrictive.
Embodiment one
Present embodiments provide for a kind of applied program testing methods, as depicted in figs. 1 and 2, specific test method packet It includes:
Step S1:In application program operational process to be measured, the test data from server is intercepted.
In application program operational process to be measured, application program sends primary data, such as application program to server first When to pay APP, the primary data of transmission may include ten yuan of request payment.Server carries out primary data survey is calculated Try data, wherein test data may include that ten yuan of proper testing data of payment are completed to return if server is incomplete The test data returned may be abnormality test data, such as lack the abnormality test data of prize information.Later, application program pair Test data from server is intercepted.
Step S2:Judge whether the test data intercepted meets scrnario testing condition, if meeting, according to described to be measured Scenario parameters constructing analog test data when application program is used.
Compiling of application process to be measured is that the source program for writing high-level programming language translates into machine of equal value The logic of above-mentioned judgement in present embodiment, is woven into application program source program in compilation process by language format target program Bytecode, can avoid not polluting a yard source, it is not necessary to modify the service codes of application program.
Scrnario testing condition may include the corresponding test of various exception scenes occurred when being used according to application program Condition, or the new corresponding test condition of scene etc. for adding function.Certainly, above two scrnario testing condition be only example and The non-limitation to scrnario testing condition, other possible scrnario testing conditions are in the protection domain of present embodiment.
If the test data intercepted meets scrnario testing condition, join according to the different corresponding scenes of abnormal scene Number, or the new corresponding scenario parameters of function that add distinguish constructing analog test data.Then, the survey of scrnario testing condition will be met Examination data are substituted for the simulation test data of construction, need not change the service code of application program to be measured.Application program to be measured It can be tested according to this simulation test data, to further verify application program to be measured to abnormal scene or newly add function Behaviour in service under scene.Therefore, the regular traffic logic of application program is not influenced, caused by will not more introducing modification source program The improper behavior of other logics, ensure that the accuracy rate of test.
If the test data intercepted does not meet the proper testing data of above-mentioned scrnario testing condition, by the test of interception Data are sent directly to be tested in application program.
Step S3:Application program to be measured is tested according to simulation test data.
After constructing simulation test data, simulation test data may be used and replace original test data.Then, sharp The test process that APP is normally executed with replaced simulation test data, to reach test purpose.
Applied program testing method provided in this embodiment does not depend on server constructs data and complete function, merely with The construction of the test data of application program can be completed in existing server environment, it is only necessary to which the business for paying close attention to application program itself is patrolled Volume, without building complicated server environment, it is not necessary to modify the service codes of application program, do not influence normal service logic, Full simulation application program carries out real data interaction with server.
Based on the above method, judge whether the test data intercepted meets scrnario testing condition, including:
Judge whether the test data intercepted meets abnormal scene test condition or newly add function scrnario testing condition.
For example, abnormal scene test condition includes such as the timing of abnormal, the shared bicycle of the payment of payment APP is abnormal. For another example, it includes paying the discount computing function newly increased in APP or prize information etc. newly to add function scrnario testing condition.
Based on the above method, if meeting, scenario parameters structure when being used according to the application program to be measured Test data is intended in modeling, including:
If the test data intercepted meets abnormal scene test condition, different when being used according to application program to be measured Normal scenario parameters constructing analog test data;Or,
If the test data intercepted, which meets, newly adds function scrnario testing condition, when being used according to application program to be measured New add function scenario parameters constructing analog test data.
After construction obtains simulation test data, it can be held in PC (PC) and pass the simulation test data constructed Enter in application program to be measured, to replace original test data.
Based on the above method, before being intercepted to the test data from server, further include:
The primary data of application program to be measured is sent to server so that server according to the service logic of itself to first Beginning data are calculated, and test data is obtained.
In one possible implementation, step S1 may include:According to towards tangent plane programming (Aspect Oriented Programming, AOP) in around (Around) mark test data is intercepted.
Based on AOP technologies, APP and the public function that server interacts can be blocked by surrounding Around marks It cuts, public function is used for receiving the test data of server return, and original test number is replaced to reach emulating server data According to requirement.Certainly, include but not limited to above-mentioned interception mode to the interception of test data, can also be other interception modes, In the protection domain of present embodiment.
Based on the above method, the application program to be measured is carried out testing it according to the simulation test data Before, including:
Simulation test data can be sent to by Android debugging bridge (Android Debug Bridge, ADB) order and be waited for Survey application program.
By taking Android as an example, the ends PC are passed to APP by the simulation test data having had been built up by ADB order dynamics, To be tested using the original test data of simulation test data replacement.Certainly, including but not limited to pass through Android tune The mode of bridge ADB orders is tried, can also include other data modes, in the protection domain of present embodiment.
The whole process of applied program testing method illustrated below:
As shown in Fig. 2, the primary data of ten yuan of breakfast of purchase that payment APP is sent to server, buys ten yuan of breakfast Primary data includes the data information of eight yuan of breakfast of deduction and the data information using two-spot discount coupon.Server receives just Beginning data, calculate it, have been paid ten yuan of test data.In test process, paying APP under normal circumstances should Displaying has paid ten yuan.And in present embodiment, server will be tested after the test data for having paid ten yuan is calculated Data issue payment APP.In paying APP program operation process, this test data is intercepted, judges the test data intercepted Whether payment abnormal abnormal scene test condition is met.For example, the test data intercepted is not to have paid ten yuan, but It pays ten binary or has paid hexa-atomic payment exception scene;Or since server capability is incomplete, the test number of interception Do not include newly adding function scene as prize information in.If meet above-mentioned abnormal scene or it is above-mentioned newly add function scene, The simulation test data built are sent to payment APP by the ends PC by ADB orders.The test for having paid ten yuan that will have been intercepted Data modification is at having paid ten binary or having paid hexa-atomic simulation test data, alternatively, ten yuan of the payment that will have been intercepted Test data be substituted for the simulation test data that prize information is added on the basis of former test data.Payment APP is practical at this time The data of execution are modified simulation test data.
Embodiment two
In another specific embodiment, a kind of Application testing device is provided, as shown in figure 3, including:
Test data blocking module 100 is used in application program operational process to be measured, to the test number from server According to being intercepted;
Test data judgment module 200, for judging whether the test data intercepted meets scrnario testing condition;
Analogue data builds module 300, if the test data for having intercepted meets scrnario testing condition, according to be measured Scenario parameters constructing analog test data when application program is used;
Application testing module 400, for being tested application program to be measured according to simulation test data.
Further, in above-mentioned apparatus, test data judgment module 200 includes:
Abnormal data judging unit, for judging whether the test data intercepted meets abnormal scene test condition;
Newly add function-judging unit, newly adds function scrnario testing item for judging whether the test data intercepted meets Part.
Further, in above-mentioned apparatus, analogue data structure module 300 includes:
First construction unit is answered if the test data for having intercepted meets abnormal scene test condition according to be measured Abnormal scene parametric configuration simulation test data when being used with program;
Second construction unit, if the test data for having intercepted, which meets, newly adds function scrnario testing condition, basis waits for It surveys and newly adds function scenario parameters constructing analog test data when application program is used.
Further, in above-mentioned apparatus, described device further includes:
Primary data sending module, for sending the primary data of application program to be measured to server, to allow server Primary data is calculated according to the service logic of itself, obtains test data.
Embodiment three
An embodiment of the present invention provides a kind of Application testing terminals, as shown in figure 4, including:
Memory 400 and processor 500 are stored with the computer journey that can be run on processor 500 in memory 400 Sequence.Processor 500 realizes the sound control intelligent household equipment in above-described embodiment method when executing the computer program.Storage The quantity of device 400 and processor 500 can be one or more.
Communication interface 600 is communicated for memory 400 and processor 500 with outside.
Memory 400 may include high-speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.
If memory 400, processor 500 and the independent realization of communication interface 600, memory 400, processor 500 And communication interface 600 can be connected with each other by bus and complete mutual communication.The bus can be industrial standard Architecture (ISA, Industry Standard Architecture) bus, external equipment interconnection (PCI, Peripheral Component) bus or extended industry-standard architecture (EISA, Extended Industry Standard Component) bus etc..The bus can be divided into address bus, data/address bus, controlling bus etc..For ease of indicating, Fig. 4 In only indicated with a thick line, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 400, processor 500 and communication interface 600 are integrated in one piece On chip, then memory 400, processor 500 and communication interface 600 can complete mutual communication by internal interface.
Example IV
A kind of computer readable storage medium is stored with computer program, is realized when described program is executed by processor Embodiment one include it is any as described in applied program testing method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.Moreover, particular features, structures, materials, or characteristics described It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples Sign is combined.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or hidden Include at least one this feature containing ground.In the description of the present invention, the meaning of " plurality " is two or more, unless otherwise Clear specific restriction.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable read-only memory (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other suitable Jie Matter, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with other Suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer In readable storage medium storing program for executing.The storage medium can be read-only memory, disk or CD etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in its various change or replacement, These should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the guarantor of the claim It protects subject to range.

Claims (12)

1. a kind of applied program testing method, which is characterized in that including:
In application program operational process to be measured, the test data from server is intercepted;
Judge whether the test data intercepted meets scrnario testing condition, if meeting, according to the application program quilt to be measured Scenario parameters constructing analog test data when use;
The application program to be measured is tested according to the simulation test data.
2. according to the method described in claim 1, it is characterized in that, judging whether the test data intercepted meets scrnario testing Condition, including:
Judge whether the test data intercepted meets abnormal scene test condition or newly add function scrnario testing condition.
3. if according to the method described in claim 2, it is characterized in that, meet, used according to the application program to be measured When scenario parameters constructing analog test data, including:
It is different when being used according to the application program to be measured if the test data intercepted meets abnormal scene test condition Normal scenario parameters constructing analog test data;Or,
If the test data intercepted, which meets, newly adds function scrnario testing condition, when being used according to the application program to be measured New add function scenario parameters constructing analog test data.
4. according to the method described in claim 1, it is characterized in that, before being intercepted to the test data from server, Further include:
The primary data of application program to be measured is sent to the server, so that service logic of the server according to itself The primary data is carried out the test data is calculated.
5. according to the method described in claim 1, it is characterized in that, intercepted to the test data from server, including:
The test data is intercepted according to towards the surrounding Around marks in tangent plane programming AOP.
6. according to the method described in claim 1, it is characterized in that, according to the simulation test data to described to be measured using journey Before sequence is tested, including:
Bridge ADB orders are debugged by Android, and the simulation test data are sent to the application program to be measured.
7. a kind of Application testing device, which is characterized in that including:
Test data blocking module, in application program operational process to be measured, being carried out to the test data from server It intercepts;
Test data judgment module, for judging whether the test data intercepted meets scrnario testing condition;
Analogue data builds module, if the test data for having intercepted meets the scrnario testing condition, is waited for according to Survey scenario parameters constructing analog test data when application program is used;
Application testing module, for being tested the application program to be measured according to the simulation test data.
8. device according to claim 7, which is characterized in that the test data judgment module includes:
Abnormal data judging unit, for judging whether the test data intercepted meets abnormal scene test condition;
Newly add function-judging unit, newly adds function scrnario testing condition for judging whether the test data intercepted meets.
9. device according to claim 8, which is characterized in that the analogue data builds module and includes:
First construction unit waits for if the test data for having intercepted meets the abnormal scene test condition according to Survey abnormal scene parametric configuration simulation test data when application program is used;
Second construction unit, if the test data for having intercepted meet it is described it is new add functional test condition, waited for according to It surveys and newly adds function scenario parameters constructing analog test data when application program is used.
10. device according to claim 7, which is characterized in that described device further includes:
Primary data sending module, for sending the primary data of application program to be measured to the server, so that the clothes Business device calculates the primary data according to the service logic of itself, obtains the test data.
11. a kind of Application testing terminal, which is characterized in that including:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processors Realize the method as described in any in claim 1-6.
12. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the program is held by processor The method as described in any in claim 1-6 is realized when row.
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 true CN108563575A (en) 2018-09-21
CN108563575B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209202A (en) * 2020-01-06 2020-05-29 北京字节跳动网络技术有限公司 Terminal application testing method and device
CN111258882A (en) * 2020-01-03 2020-06-09 恩亿科(北京)数据科技有限公司 Test data acquisition method and device based on digital media system
CN112347329A (en) * 2020-10-28 2021-02-09 杭州安恒信息技术股份有限公司 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
CN113722020A (en) * 2020-05-26 2021-11-30 腾讯科技(深圳)有限公司 Interface calling method, device and computer readable storage medium
CN114666301A (en) * 2020-12-22 2022-06-24 深圳Tcl新技术有限公司 APP testing method and system based on mock server

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831043A (en) * 2011-06-17 2012-12-19 阿里巴巴集团控股有限公司 Monitoring method and device for application program
US20130227366A1 (en) * 2012-02-28 2013-08-29 International Business Machines Corporation Semi-automatic conversion and execution of functional manual tests
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
CN105335281A (en) * 2014-07-30 2016-02-17 阿里巴巴集团控股有限公司 Method and device for automatic mock of external dependency
CN105739987A (en) * 2016-02-03 2016-07-06 成都四方伟业软件股份有限公司 SOA-oriented rapid JavaWeb application construction system framework
CN106648556A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Front end and back end integrated development testing method and device
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831043A (en) * 2011-06-17 2012-12-19 阿里巴巴集团控股有限公司 Monitoring method and device for application program
US20130227366A1 (en) * 2012-02-28 2013-08-29 International Business Machines Corporation Semi-automatic conversion and execution of functional manual tests
CN104834590A (en) * 2014-02-11 2015-08-12 腾讯科技(深圳)有限公司 Software test method and system
CN105335281A (en) * 2014-07-30 2016-02-17 阿里巴巴集团控股有限公司 Method and device for automatic mock of external dependency
CN105095087A (en) * 2015-08-31 2015-11-25 武汉启明联创信息科技有限公司 Permission operation based software test system and method
CN106648556A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Front end and back end integrated development testing method and device
CN105739987A (en) * 2016-02-03 2016-07-06 成都四方伟业软件股份有限公司 SOA-oriented rapid JavaWeb application construction system framework
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

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258882A (en) * 2020-01-03 2020-06-09 恩亿科(北京)数据科技有限公司 Test data acquisition method and device based on digital media system
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
CN113722020A (en) * 2020-05-26 2021-11-30 腾讯科技(深圳)有限公司 Interface calling method, device and computer readable storage medium
CN112347329A (en) * 2020-10-28 2021-02-09 杭州安恒信息技术股份有限公司 Data processing method, device, storage medium and equipment
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
CN114666301A (en) * 2020-12-22 2022-06-24 深圳Tcl新技术有限公司 APP testing method and system based on mock server
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

Also Published As

Publication number Publication date
CN108563575B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN108563575A (en) Applied program testing method, device, terminal and computer readable storage medium
CN102799529B (en) A kind of dynamic binary code method for generating test case
CN109739770A (en) The adjustment method and device of small routine
CN104407980A (en) Mobile application automated testing device and method
CN105204393A (en) Single-chip microcomputer production research and development tool based on virtual nucleus single-chip microcomputer and realization method thereof
CN110517138A (en) Intelligent contract processing method, device, computer equipment and storage medium
CN107274023A (en) Flow of insuring generation method, insure request processing method and device and electronic equipment
CN104268074A (en) Application software online debugging method based on DCS
CN110046479A (en) A kind of chained library file reverse adjustment method and device based on Android operation system
CN104156311B (en) A kind of embedded type C language target code level unit test method based on CPU emulator
CN109189396A (en) intelligent contract engine module, operation method and storage medium
CN102096628A (en) Method for realizing microprogrammed control unit (MCU) verification platform based on verification methodology of verification methodology manual (VMM)
CN106648556A (en) Front end and back end integrated development testing method and device
CN106487603A (en) A kind of response test method and device
CN102393823A (en) Technique to perform memory reference filtering
CN110214314A (en) Operating system verifying
CN108197476A (en) The leak detection method and device of a kind of intelligent terminal
CN109598425A (en) The method, device and equipment that a kind of pair of risk subjects are managed
CN109558313A (en) Construct the method and device of abnormality test scene
CN105573913A (en) Program debugging method and program debugging system in optical network unit (ONU) system
CN107679423A (en) Partition integrity inspection method and device
CN100504761C (en) Method for mapping debugging information in system of different kinds
CN105912415A (en) Method and device for verifying cache consistency protocol
US11710117B1 (en) Systems and methods for EMV terminal device testing using EMV card emulation
CN105447213B (en) Method and apparatus for being emulated to circuit design

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