CN109542758A - Application program fault-tolerant ability test method, device, computer readable storage medium - Google Patents

Application program fault-tolerant ability test method, device, computer readable storage medium Download PDF

Info

Publication number
CN109542758A
CN109542758A CN201811152533.6A CN201811152533A CN109542758A CN 109542758 A CN109542758 A CN 109542758A CN 201811152533 A CN201811152533 A CN 201811152533A CN 109542758 A CN109542758 A CN 109542758A
Authority
CN
China
Prior art keywords
request
app
test
network
server
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
CN201811152533.6A
Other languages
Chinese (zh)
Other versions
CN109542758B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811152533.6A priority Critical patent/CN109542758B/en
Publication of CN109542758A publication Critical patent/CN109542758A/en
Application granted granted Critical
Publication of CN109542758B publication Critical patent/CN109542758B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0883Semiautomatic configuration, e.g. proposals from system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The present invention provides a kind of application program fault-tolerant ability test method.The method responds the request results that the network request is returned using the network request and server that network agent tool crawl App is issued in UI test process to server.The method is by building mock server system, so that computer installation can receive the network request that the App is issued when executing test script again to App progress UI test, and the App is sent to using modified request results as the request results that server responds the network request;And then determine the App whether by fault-tolerant ability test to the processing mode of the modified request results according to the App.The present invention also provides a kind of devices and storage medium for realizing the application program fault-tolerant ability test method.Present invention optimizes the tests of the fault-tolerant ability of App.

Description

Application program fault-tolerant ability test method, device, computer readable storage medium
Technical field
The present invention relates to field of computer technology, and in particular to a kind of application program fault-tolerant ability test method, device and Computer readable storage medium.
Background technique
Traditional App (Application, application program) fault-tolerant ability test needs tester to participate in entire test Process, for example, it is desired to which tester carries out network agent setting, modification returned data etc., inefficiency.
Summary of the invention
In view of the foregoing, it is necessary to propose a kind of application program fault-tolerant ability test method, device and computer-readable Storage medium, to solve App fault-tolerant ability test inefficiency the technical issues of.
The first aspect of the present invention provides a kind of application program fault-tolerant ability test method, is applied in computer installation, The computer installation and electronic equipment communication connection, which comprises
The network environment of the electronic equipment is configured;
It determines the test script for carrying out UI test to specified App, executes the test script and UI test is carried out to the App;
The network that the App is issued in UI test process to server is grabbed using specified network agent tool to ask It seeks and grabs server and respond the request results that the network request is returned;
Network request that the App is issued in from UI test process to server, server are responded the network and asked Returned request results are sought, are associated with test script foundation;
Modification server is directed to the request results that are returned of the network request, and by modified request results with it is described Test script establishes association;
Mock server system is built, so that the computer installation provides service interface for the electronic equipment;
It executes and UI test is carried out to the App again with test script associated by the modified request results,
The App is received to carry out issuing the network request when UI test again, will with associated by the network request The modified request results be sent to the App;And
It is fault-tolerant to determine whether the App passes through to the processing mode of the modified request results according to the App Aptitude tests.
Preferably, it includes by the network agent of the electronic equipment that the network environment to electronic equipment, which carries out configuration, IP is set as consistent with the IP of the computer installation.
Preferably, described to grab the App in UI test process to server institute using specified network agent tool The network request of sending only grabs the network request including nominal key including the use of the specified network agent tool.
Preferably, the multiple testing procedures of the test script point carry out UI test to the App, described to utilize specified network The tool of agency grabs the network request that the App is issued in UI test process to server
Recorded while grabbing the network request it is current it is corresponding be which test step in multiple testing procedure Suddenly;And
The network request that the App is issued in UI test process to server, server respond the net Network requests returned request results, is associated with test script foundation and includes:
Network request that the App is issued in from UI test process to server, server are responded the network and asked Returned request results are sought, are associated with the specific testing procedure of the test script.
Preferably, the modification server is directed to the request results that the network request is returned, and asks modified Result and the test script is asked to establish to be associated with and include:
The request results that the network request is returned are directed to using preset amending method modification server, and this is repaired Request results after changing are associated with test script foundation, and the preset amending method includes the first amending method and second Amending method, first amending method, which refers to, empties server for the request results execution that the network request is returned Operation is tied so that modified request results are equal to null value using the modified request results as modified first request Fruit, and modified first request results are associated with test script foundation;Second amending method refers to and will take Business device is revised as the character string with designated length for the request results that the network request is returned, will be modified Request results are established as modified second request results, and by modified second request results and the test script Association.
Preferably, described to be sent to the App with the modified request results associated by the network request Include:
First request results or the second request results are returned into the App.
Preferably, the network request includes that request method need to pass response parameter type, required parameter and parameter value back, And uniform resource identifier.
Second aspect of the present invention also provides a kind of computer installation, and the computer installation includes processor, the processing Device is for realizing the application program fault-tolerant ability test method when executing the computer program stored in memory.
Third aspect present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, described The application program fault-tolerant ability test method is realized when computer program is executed by processor.
Fourth aspect present invention also provides a kind of application program fault-tolerant ability test device, and described device includes:
Setup module is configured for the network environment to electronic equipment;
Execution module executes the test script to described for determining the test script for carrying out UI test to specified App App carries out UI test;
The execution module is also used to grab the App in UI test process to clothes using specified network agent tool The network request and crawl server that business device is issued respond the request results that the network request is returned;
The execution module, the network request for being also used in UI test process be issued the App to server, clothes Business device responds the request results that the network request is returned, and is associated with test script foundation;
The execution module is also used to modify server and is directed to the request results that the network request is returned, and will repair Request results after changing are associated with test script foundation;
The execution module is also used to build mock server system, so that the computer installation is that the electronics is set It is standby that service interface is provided;
The execution module is also used to execute with test script associated by the modified request results again to institute It states App and carries out UI test,
The execution module is also used to receive the App and carries out issuing the network request when UI test again, will be with The modified request results associated by the network request are sent to the App;And
Determining module, for determining that the App is according to processing mode of the App to the modified request results It is no to be tested by fault-tolerant ability.
Application program fault-tolerant ability test method described in the embodiment of the present invention, device and computer-readable storage medium Matter responds the network request institute by network request from UI test process to server and server that crawl App is issued in Request results are revised as abnormal data by the request results of return, issue network request in carrying out execution UI test to App again When, return to the fault-tolerant ability that modified abnormal data tests App as request results.The present invention can be carried out in conjunction with App UI test is tested to reach the fault-tolerant ability of App, participates in the overall process without tester, improves testing efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the application environment architecture diagram for the application program fault-tolerant ability test method that the embodiment of the present invention one provides.
Fig. 2 is the flow chart of application program fault-tolerant ability test method provided by Embodiment 2 of the present invention.
Fig. 3 is the structure chart for the application program fault-tolerant ability test device that the embodiment of the present invention three provides.
Fig. 4 is the schematic diagram for the computer installation that the embodiment of the present invention four provides.
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, the embodiment of the present invention and embodiment In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment one
As shown in fig.1, the application environment of the application program fault-tolerant ability test method provided for the embodiment of the present invention one Architecture diagram.
Application program fault-tolerant ability test method of the invention is applied in a computer installation and one or more electronics In the environment that equipment is constituted.For example, in the environment being made of computer installation 3 and electronic equipment 4.
In the present embodiment, the computer installation 3 can be the equipment such as PC or server.The electronic equipment 4 It can be the various equipment with display screen and supported web page browsing, including but not limited to smart phone, tablet computer, electronics Book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert Compression standard audio level 3), (Moving Picture Experts Group Audio Layer IV, dynamic image are special by MP4 Family's compression standard audio level 4) player, pocket computer on knee and desktop computer etc..
In one embodiment, the computer installation 3 and electronic equipment 4 can pass through wired (such as USB (Universal Serial Bus, universal serial bus) or wirelessly establish communication connection.The computer installation 3 is also Can by it is wired (such as USB (Universal Serial Bus, universal serial bus) or wirelessly with server 5 Establish communication connection.The wireless mode can be any type of conventional wireless communication, include, but are not limited to 3G/4G company Connect, UWB (ultra wideband) connection, radio, Wireless Fidelity (Wireless Fidelity, WIFI), honeycomb, satellite, Broadcast etc..Wireless communication technique may include, but be not limited to, global system for mobile communications (Global System for Mobile Communications, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (W-CDMA), CDMA2000, IMT single carrier (IMT Single Carrier), enhanced data rates for gsm evolution (Enhanced Data Rates for GSM Evolution, EDGE), it is Long Term Evolution (Long-Term Evolution, LTE), advanced long-term Evolution technology, time-division Long Term Evolution (Time-Division LTE, TD-LTE), high performance radio local area network (High Performance Radio Local Area Network, HiperLAN), high performance radio wide area network (High Performance Radio Wide Area Network, HiperWAN), local multiple spot distribute business (Local Multipoint Distribution Service, LMDS), full micro-wave access global inter communication (Worldwide Interoperability for Microwave Access, WiMAX), ZigBee protocol (ZigBee), bluetooth, orthogonal frequency division multiplexing It is empty with technology (Flash Orthogonal Frequency-Division Multiplexing, Flash-OFDM), large capacity Division multiple access (High Capacity Spatial Division Multiple Access, HC-SDMA), General Mobile electricity Letter system (Universal Mobile Telecommunications System, UMTS), Universal Mobile Telecommunications System time-division Duplexing (UMTS Time-Division Duplexing, UMTS-TDD), evolved high-speed packet access (Evolved High Speed Packet Access, HSPA+), TD SDMA (Time Division Synchronous Code Division Multiple Access, TD-SCDMA), evolution data optimization (Evolution-Data Optimized, EV-DO), Digital Enhanced Cordless Communications (Digital Enhanced Cordless Telecommunications, DECT) with And other currently known or exploitation in the future radio connections.
In the present embodiment, computer installation 3 can be the test lead as test electronic equipment 4, i.e. 4 conduct of electronic equipment Measured terminal.It is surveyed for example, computer installation 3 can carry out UI (Userinterface, user interface) to the electronic equipment 4 Examination.
Embodiment two
Fig. 2 is the flow chart of application program fault-tolerant ability test method provided by Embodiment 2 of the present invention.
In the present embodiment, the application program fault-tolerant ability test method can be applied in computer installation, for It needs to carry out the computer installation of application program fault-tolerant ability test, can directly integrate side of the invention on a computing means Function provided by method for the test of application program fault-tolerant ability, or with Software Development Kit (Software Development Kit, SDK) form operation on a computing means.
As shown in Fig. 2, the application program fault-tolerant ability test method specifically includes following steps, according to different need It asks, the sequence of step can change in the flow chart, and certain steps can be omitted.
Step S1, computer installation configures the network environment of electronic equipment, so that the App of the electronic equipment (Application, application program) can issue network request (i.e. to server through the computer installation as network agent Http request, Https request), and make computer installation can use specified network agent tool grab the App to The network request that server issues.
In one embodiment, it includes by the network generation of electronic equipment that the network environment to electronic equipment, which carries out configuration, The IP of reason is set as consistent with the IP of computer installation, so that computer installation can use specified network agent tool Such as the network request that the App of Charles or fiddler crawl electronic equipment is issued to server.
In one embodiment, computer installation can be according to the input of user come the network environment to the electronic equipment It is configured.In other embodiments, computer installation can be obtained first with preset order (such as IPCONFIG order) The IP address of the computer installation is taken, then with being set as acquired IP by the IP address of the network agent of the electronic equipment Location.
In one embodiment, the App can interact to be any with user, have visual user The application program of interface, such as can be video player, audio player, game etc..
Step S2, computer installation determines the survey that UI (User interface, user interface) test is carried out to the App Training sheet executes the test script to carry out UI test to the App.
In one embodiment, the compatibility that can refer to test UI is tested the UI of the App.For example, test Whether each element of the user interface of the App can normally show under Windows operating system.In one embodiment, Each element includes, but are not limited to text, picture, audio, animation, video, hyperlink, Data Input Interface etc..
In one embodiment, the computer installation can will carry out the corresponding multiple UI of UI test with the App Test case is stored in advance in the memory of the computer installation.The test script calls the pre-stored UI test Use-case carries out UI test to the App.In other embodiments, described test script itself is test case.
In one embodiment, the multiple testing procedures of the test script point to carry out UI test to the App.Each survey Try corresponds to suddenly and tests user interface corresponding to a major function of the App.
It is of the invention to clearly illustrate, by taking the App is audio player as an example.Assuming that the audio player includes three masters Function is wanted, which respectively includes " listening ", " seeing ", " singing ".The user interface of " listening " function refers to user's benefit The operation interface listened to music with the audio player.The user interface of " seeing " function refers to that user is broadcast using the audio Put the operation interface that device sees music video (such as music MV).The user interface of " singing " function refers to that user utilizes the audio Player carries out the operation interface that KTV simulation is sung.Assuming that three testing procedures of the test script point are to the audio player Above-mentioned three main function corresponding to user interface tested.Three testing procedures may include the first testing procedure: Compatibility test is carried out to the user interface of " listening " function;Second testing procedure: to the user interface of " seeing " function Carry out compatibility test;And third testing procedure: compatibility test is carried out to the user interface of " singing " function.
Step S3, computer installation grabs the App in UI test process to service using the network agent tool The network request that device is issued.Computer installation also responds the network request using network agent tool crawl server The request results returned.
In one embodiment, the network request may include, but be not limited to, request method (including get, post, Delete, put etc.), response parameter type, required parameter and parameter value and URI (Uniform Resource need to be passed back Identifier, uniform resource identifier) address etc..In one embodiment, server is by the request results with Json Format returns to the App.
For example, it is assumed that the App, which has issued one to the server in executing UI test process, logins request, it is described Server responds this and logins request, and successful information is logined in return, and it includes user name that this, which logins successful information, then computer Device can be grabbed using the network agent tool and described login request and that the server is returned includes user Name logins successful information.
In one embodiment, computer installation only grabs the net including nominal key using the network agent tool Network request.For in other words, if the network request that the App is issued does not include the nominal key, computer installation This can't be grabbed not include the network request of the nominal key.
For example, computer installation only grabs the network including keyword " Jin Guanjia .pnf " using the network agent tool Request.
In one embodiment, if the multiple testing procedures of the test script point carry out UI test, computer to the App Device while grabbing the network request also record it is current it is corresponding be which testing procedure in multiple testing procedure. It is which testing procedure to issue the network request at that i.e. computer installation, which records the App,.
Step S4, computer installation is issued the App in network request from UI test process to server, service Device responds the request results that the network request is returned, and is associated with test script foundation.
For example, it is assumed that computer installation execute test script " S " to the App carry out UI test during, The App has issued a network request " A " to server, and the server responds the network request " A " and returns to request knot Fruit " B ".Computer installation then by the network request " A ", request results " B ", is associated with the test script " S " foundation.
In one embodiment, if computer installation is also recorded while grabbing the network request and current corresponding is Which testing procedure, network request that computer installation is then issued the App in from UI test process to server, service Device responds the request results that the network request is returned, and is associated with the specific testing procedure of the test script.The tool Body testing procedure refers to testing procedure corresponding when the App issues the network request.
Step S5, computer installation modification server is directed to the request results that the network request is returned, and will modification Request results afterwards are associated with test script foundation.Due to computer installation in above-mentioned steps S4 in the test It establishes and is associated between script and the network request, therefore, modified request results and institute are made by the test script It states and also establishes association between network request.
In one embodiment, computer installation can provide a user interface, according to user the offer user Input on interface is directed to the request results that the network request is returned to modify server, and the modified request is tied Fruit is associated with test script foundation.
In other embodiments, computer installation can use preset amending method to modify server for the net Network requests returned request results, and the modified request results are associated with test script foundation.It is described default Amending method include the first amending method and the second amending method.First amending method refers to that computer installation will service Device executes null clear operation for the request results that the network request is returned, so that modified request results are equal to null value. Computer installation regard the modified request results (i.e. null value) as modified first request results, and this is modified First request results are associated with test script foundation.Second amending method refers to that server is directed to by computer installation The request results that the network request is returned are revised as the character string with designated length, by modified request results (character string of the i.e. described designated length) be used as modified second request results, and by modified second request results with The test script establishes association.For in other words, computer installation can be returned to server for the network request Request results replace with the character string of null value and the designated length respectively, and by the character string of the null value and designated length point It is not associated with test script foundation.
In one embodiment, the character string of the designated length can be is made of at random character.
For example, it is still assumed that computer installation is executing test script " S " to the process of App progress UI test In, the App has issued a network request " A " to server, and the server responds the network request " A " and returns to request As a result " B ".If the request results " B " are revised as the first request results " B1 " and the second request results by computer installation "B2".For example, first request results " B1 " are null value, second request results " B2 " are the random of a designated length Character string.Computer installation is then by first request results " B1 " and the second request results " B2 " and the test script " S " Establish association.Since in above-mentioned steps S4, computer installation is between the test script " S " and network request " A " Association is established, then when between the test script " S " and first request results " B1 " and the second request results " B2 " When also establishing association, then the network request " A " and first request results " B1 " and the second request results " B2 " pass through The test script " S " also establishes association.
Step S6, computer installation builds mock server system, so that computer installation is equivalent to a simulation Server can provide service interface for electronic equipment, can receive network request transmitted by the App of electronic equipment and will be with The modified request results corresponding to the network request are sent to the App.
It should be noted that building mock server system is the prior art, then repeated no more in this.
Step S7, computer installation execution and test script associated by the modified request results, with right again The App carries out UI test, so that the App issues the network request in carrying out UI test process again.It calculates Machine device receives the network request, rings with the modified request results associated by the network request as server Should the request results that are returned of network request be sent to the App.
In one embodiment, if computer installation asks each of server return according to the preset amending method Ask results modification for for example described first request results of two request results and the second request results, the computer installation is only It returns to modified one of request results and is returned only to the first request results or the second request results.
For example, it is assumed that computer installation is executed with the associated test script of first request results " B1 " " S " again It is secondary that UI test is carried out to the App, trigger the App and issue the network request " A ", then the computer installation can only by The App is sent to the first request results " B1 " associated by the network request " A " or the second request results " B2 ".
Step S8, computer installation according to the App to the processing mode of the modified request results to determine State whether App is tested by fault-tolerant ability.
For example, if the App is when receiving the modified returned data in the interface prompt of the electronic equipment User network is abnormal, then can assert that the App is tested by fault-tolerant ability.
For another example, if the App occurs for example directly to close institute to phenomenon of bursting after receiving the modified returned data State App or cause the electronic equipment crash etc., then it can assert that the App is tested not over the fault-tolerant ability.
In conclusion application program fault-tolerant ability test method described in the embodiment of the present invention, by crawl App in UI The network request and server issued in test process to server responds the request results that the network request is returned, and will ask Seeking results modification is abnormal data, when carrying out executing UI test sending network request to App again, returns to modified exception Data test the fault-tolerant ability of App as request results.The present invention can carry out UI test in conjunction with App to reach the appearance of App Wrong aptitude tests, participate in the overall process without tester, improve testing efficiency.
Above-mentioned Fig. 2 describes application program fault-tolerant ability test method of the invention in detail, right below with reference to the 3rd~4 figure It realizes the functional module of the software service of the application program fault-tolerant ability test method and realizes that the application program is fault-tolerant The hardware device framework of aptitude tests method is introduced.
It should be appreciated that the embodiment is only purposes of discussion, do not limited by this structure in patent claim.
Embodiment three
As shown in fig.3, being the structure chart for the application program fault-tolerant ability test device that the embodiment of the present invention three provides.
In some embodiments, the application program fault-tolerant ability test device 30 is run in computer installation.It is described Computer installation is by being connected to the network electronic equipment.The application program fault-tolerant ability test device 30 may include it is multiple by Functional module composed by program code segments.The program of each program segment in the application program fault-tolerant ability test device 30 Code can store in the memory of computer installation, and as performed by least one described processor, (be detailed in figure with realization 2 descriptions) test of application program fault-tolerant ability.
In the present embodiment, function of the application program fault-tolerant ability test device 30 according to performed by it can be drawn It is divided into multiple functional modules.The functional module may include: setup module 301, execution module 302, determining module 303.This Inventing so-called module and referring to a kind of performed by least one processor and can complete a series of of fixed function Computer program code segments, storage is in memory.It in the present embodiment, will be in subsequent embodiment about the function of each module It is described in detail.
Setup module 301 configures the network environment of electronic equipment, so that the App of the electronic equipment (Application, application program) can issue network request (i.e. to server through the computer installation as network agent Http request, Https request), and make setup module 301 can use specified network agent tool and grab the App The network request issued to server.
In one embodiment, it includes by the network generation of electronic equipment that the network environment to electronic equipment, which carries out configuration, The IP of reason is set as consistent with the IP of computer installation, so that computer installation can use specified network agent tool Such as the network request that the App of Charles or fiddler crawl electronic equipment is issued to server.
In one embodiment, setup module 301 can be according to the input of user come the network rings to the electronic equipment Border is configured.In other embodiments, setup module 301 can be first with preset order (such as IPCONFIG order) The IP address of the computer installation is obtained, then sets acquired IP address for the IP address of the electronic equipment.
In one embodiment, the App can interact to be any with user, have visual user The application program of interface, such as can be video player, audio player, game etc..
Execution module 302 determines the test foot that UI (User interface, user interface) test is carried out to the App This, executes the test script to carry out UI test to the App.
In one embodiment, the compatibility that can refer to test UI is tested the UI of the App.For example, test Whether each element of the user interface of the App can normally show under Windows operating system.In one embodiment, Each element includes, but are not limited to text, picture, audio, animation, video, hyperlink, Data Input Interface etc..
In one embodiment, the execution module 302 can will carry out the corresponding multiple UI of UI test with the App Test case is stored in advance in the memory of the computer installation.Execution module 302 executes the test script to call The pre-stored UI test case carries out UI test to the App.In other embodiments, described test script itself is Test case.
In one embodiment, the multiple testing procedures of the test script point to carry out UI test to the App.Each survey Try corresponds to suddenly and tests user interface corresponding to a major function of the App.
It is of the invention to clearly illustrate, by taking the App is audio player as an example.Assuming that the audio player includes three masters Function is wanted, which respectively includes " listening ", " seeing ", " singing ".The user interface of " listening " function refers to user's benefit The operation interface listened to music with the audio player.The user interface of " seeing " function refers to that user is broadcast using the audio Put the operation interface that device sees music video (such as music MV).The user interface of " singing " function refers to that user utilizes the audio Player carries out the operation interface that KTV simulation is sung.Assuming that three testing procedures of the test script point are to the audio player Above-mentioned three main function corresponding to user interface tested.Three testing procedures may include the first testing procedure: Compatibility test is carried out to the user interface of " listening " function;Second testing procedure: to the user interface of " seeing " function Carry out compatibility test;And third testing procedure: compatibility test is carried out to the user interface of " singing " function.
The execution module 302 grabs the App in UI test process to server using the network agent tool The network request issued.The execution module 302 also responds the network using network agent tool crawl server Request returned request results.
In one embodiment, the network request may include, but be not limited to, request method (including get, post, Delete, put etc.), response parameter type, required parameter and parameter value and URI (Uniform Resource need to be passed back Identifier, uniform resource identifier) address etc..In one embodiment, server is by the request results with Json Format returns to the App.
For example, it is assumed that the App, which has issued one to the server in executing UI test process, logins request, it is described Server responds this and logins request, and successful information is logined in return, and it includes user name that this, which logins successful information, then described hold Row module 302 can grab the packet for logining request and the server is returned using the network agent tool Include user name logins successful information.
In one embodiment, it includes designated key that the execution module 302 is only grabbed using the network agent tool The network request of word.It is described if the network request that the App is issued does not include the nominal key in other words Execution module 302 can't grab this not and include the network request of the nominal key.
For example, counting the execution module 302 and only being grabbed using the network agent tool includes keyword " Jin Guanjia .pnf network request ".
In one embodiment, described to hold if the multiple testing procedures of the test script point carry out UI test to the App It is the test of which of multiple testing procedure that row module 302 also records currently corresponding while grabbing the network request Step.It is which testing procedure to issue the network request at that the i.e. described execution module 302, which records the App,.
Network request, the server that the execution module 302 is issued the App in UI test process to server The request results that the network request is returned are responded, are associated with test script foundation.
For example, it is assumed that the execution module 302 carries out the mistake of UI test executing test script " S " to the App Cheng Zhong, the App have issued a network request " A " to server, and the server responds network request " A " return and asks Ask result " B ".The execution module 302 then by the network request " A ", request results " B ", is built with the test script " S " Vertical association.
In one embodiment, if the execution module 302 be also recorded while grabbing the network request it is current right Which testing procedure what is answered is, the net that the execution module 302 is then issued the App in UI test process to server Network request, server respond the request results that the network request is returned, with the specific testing procedure of the test script into Row association.The specific testing procedure refers to testing procedure corresponding when the App issues the network request.
The execution module 302 modifies server and is directed to the request results that the network request is returned, and will be after modification The foundation of request results and the test script be associated with.Due to the execution module 302 the test script with it is described Association is established between network request, therefore, modified request results and the network request is made by the test script Between also establish association.
In one embodiment, the execution module 302 can provide a user interface, according to user in the offer Input in user interface is directed to the request results that are returned of the network request to modify server, and this modified is asked It asks result to establish with the test script to be associated with.
In other embodiments, the execution module 302 can use preset amending method and be directed to modify server The request results that the network request is returned, and the modified request results are associated with test script foundation.Institute Stating preset amending method includes the first amending method and the second amending method.First amending method refers to the execution mould Server is executed null clear operation for the request results that the network request is returned by block 302, so that modified request is tied Fruit is equal to null value.The execution module 302 ties the modified request results (i.e. null value) as modified first request Fruit, and modified first request results are associated with test script foundation.Second amending method refers to described Server is revised as the word with designated length for the request results that the network request is returned by execution module 302 Modified request results (character string of the i.e. described designated length) is used as modified second request results by symbol string, and will Modified second request results are associated with test script foundation.For in other words, the execution module 302 can be incited somebody to action Server replaces with the character string of null value and the designated length for the request results that the network request is returned respectively, and The character string of the null value and designated length is associated with test script foundation respectively.
In one embodiment, the character string of the designated length can be is made of at random character.
For example, it is still assumed that the execution module 302 is executing test script " S " to App progress UI test During, the App has issued a network request " A " to server, and the server responds the network request " A " and returns It returns request results " B ".If the request results " B " are revised as the first request results " B1 " and second by the execution module 302 Request results " B2 ".For example, first request results " B1 " are null value, second request results " B2 " are a specified length The random string of degree.The execution module 302 is then by first request results " B1 " and the second request results " B2 " and institute It states test script " S " and establishes association.Since the execution module 302 before this is in the test script " S " and network Association is established between request " A ", then when the test script " S " and first request results " B1 " and the second request knot When also establishing association between fruit " B2 ", then the network request " A " and first request results " B1 " and the second request are tied Fruit " B2 " also establishes association by the test script " S ".
The execution module 302 is that the computer installation builds mock server system, so that computer installation It is equivalent to an emulating server, service interface can be provided for electronic equipment, thus execution module 302 can receive electronics and set Network request transmitted by standby App is simultaneously described by being sent to the modified request results corresponding to the network request App。
It should be noted that building mock server system is the prior art, then repeated no more in this.
The execution of execution module 302 and test script associated by the modified request results, again to institute It states App and carries out UI test, so that the App issues the network request in carrying out UI test process again.It is described to hold Row module 302 receive the network request, using with the modified request results associated by the network request as service Device responds the request results that the network request is returned and is sent to the App.
In one embodiment, if what the execution module 302 returned to server according to the preset amending method Each request results modification is for for example described first request results of two request results and the second request results, the execution mould Block 302 is returned only to modified one of request results and is returned only to the first request results or the second request results.
For example, it is assumed that the execution module 302 executes and the associated test script of first request results " B1 " " S " carries out UI test to the App again, triggers the App and issues the network request " A ", then the execution module 302 can It is described will be only sent to the first request results " B1 " associated by the network request " A " or the second request results " B2 " App。
Determining module 303 determines that the App is to the processing mode of the modified request results according to the App It is no to be tested by fault-tolerant ability.
For example, if the App is when receiving the modified returned data in the interface prompt of the electronic equipment User network is abnormal, then can assert that the App is tested by fault-tolerant ability.
For another example, if the App occurs for example directly to close institute to phenomenon of bursting after receiving the modified returned data State App or cause the electronic equipment crash etc., then it can assert that the App is tested not over the fault-tolerant ability.
In conclusion application program fault-tolerant ability test device described in the embodiment of the present invention, by crawl App in UI The network request and server issued in test process to server responds the request results that the network request is returned, and will ask Seeking results modification is abnormal data, when carrying out executing UI test sending network request to App again, returns to modified exception Data test the fault-tolerant ability of App as request results.The present invention can carry out UI test in conjunction with App to reach the appearance of App Wrong aptitude tests.
Example IV
As shown in fig.4, the structural schematic diagram of the computer installation provided for the embodiment of the present invention four.Of the invention preferable In embodiment, the computer installation 3 includes memory 31, at least one processor 32, at least one communication bus 33.
It will be understood by a person skilled in the art that the structure of the computer installation shown in Fig. 4 does not constitute the embodiment of the present invention Restriction be also possible to star structure either bus topology, the computer installation 3 can also include than illustrating more Other more or less hardware perhaps software or different component layouts.
In some embodiments, the computer installation 3 includes that one kind can be according to the instruction for being previously set or storing, certainly The dynamic terminal for carrying out numerical value calculating and/or information processing, hardware include but is not limited to microprocessor, specific integrated circuit, can Program gate array, digital processing unit and embedded device etc..
It should be noted that the computer installation 3 is only for example, other electronics that are existing or being likely to occur from now on are produced Product are such as adaptable to the present invention, should also be included within protection scope of the present invention, and are incorporated herein by reference.
In some embodiments, the memory 31 is used to store program code and various data, such as is mounted on described Application program fault-tolerant ability test device 30 in computer installation 3, and height is realized in the operational process of computer installation 3 Speed, the access for being automatically completed program or data.The memory 31 include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read- Only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory, EPROM), disposable programmable read-only memory (One-time Programmable Read-Only Memory, OTPROM), electronics erasing type can make carbon copies read-only memory (Electrically-Erasable Programmable Read- Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other CDs Memory, magnetic disk storage, magnetic tape storage or can be used in carry or storing data it is computer-readable any other Medium.
In some embodiments, at least one described processor 32 can be made of integrated circuit, such as can be by single The integrated circuit of encapsulation is formed, and is also possible to be made of the integrated circuit that multiple identical functions or different function encapsulate, be wrapped Include one or more central processing unit (Central Processing unit, CPU), microprocessor, digital processing chip, The combination etc. of graphics processor and various control chips.At least one described processor 32 is the control of the computer installation 3 Core (Control Unit), using all parts of various interfaces and the entire computer installation 3 of connection, by operation or The program or module being stored in the memory 31 are executed, and calls the data being stored in the memory 31, with Execute the various functions and processing data of computer installation 3, such as the function of executing application fault-tolerant ability test.
In some embodiments, at least one communication bus 33 is arranged to realize the memory 31 and described Connection communication between at least one processor 32 etc..
Although being not shown, the computer installation 3 can also include the power supply (such as battery) powered to all parts, excellent Choosing, power supply can be logically contiguous by electric power controller and at least one described processor 32, to pass through power management Device realizes the functions such as management charging, electric discharge and power managed.Power supply can also include one or more direct current or AC power source, recharging device, power failure detection circuit, power adapter or inverter, power supply status indicator etc. are appointed Meaning component.The computer installation 3 can also include multiple sensors, bluetooth module, Wi-Fi module etc., and details are not described herein.
It should be appreciated that the embodiment is only purposes of discussion, do not limited by this structure in patent claim.
The above-mentioned integrated unit realized in the form of software function module, can store and computer-readable deposit at one In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer Device (can be server, PC etc.) or processor (processor) execute each embodiment the method for the present invention Part.
In a further embodiment, in conjunction with Fig. 3, the computer installation 3 is can be performed at least one described processor 32 Operating device and the types of applications program (application program fault-tolerant ability test device 30 as mentioned) of installation, program code Deng for example, above-mentioned modules.
Program code is stored in the memory 31, and at least one described processor 32 can call the memory 31 The program code of middle storage is to execute relevant function.For example, modules described in Fig. 3 are stored in the memory 31 In program code, and as performed by least one described processor 32, to realize the function of the modules to reach The purpose of application program fault-tolerant ability test.
In one embodiment of the invention, the memory 31 stores multiple instruction, the multiple instruction by it is described extremely A few processor 32 is performed to realize that application program fault-tolerant ability is tested.
Specifically, at least one described processor 32 can refer to the corresponding implementation of Fig. 2 to the concrete methods of realizing of above-metioned instruction The description of correlation step in example, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed device, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " is not excluded for other units or, odd number is not excluded for plural number.The multiple units stated in device claim Or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to indicate name Claim, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of application program fault-tolerant ability test method is applied in computer installation, the computer installation is set with electronics Standby communication connection, which is characterized in that the described method includes:
The network environment of the electronic equipment is configured;
It determines the test script for carrying out UI test to specified App, executes the test script and UI test is carried out to the App;
Using specified network agent tool grab the network request that the App is issued in UI test process to server with And crawl server responds the request results that the network request is returned;
Network request, the server that the App is issued in UI test process to server respond the network request institute The request results of return are associated with test script foundation;
Modification server is directed to the request results that are returned of the network request, and by modified request results and the test Script establishes association;
Mock server system is built, so that the computer installation provides service interface for the electronic equipment;
It executes and UI test is carried out to the App again with test script associated by the modified request results,
The App is received to carry out issuing the network request when UI test again, by with institute associated by the network request It states modified request results and is sent to the App;And
Determine the App whether by fault-tolerant ability survey according to processing mode of the App to the modified request results Examination.
2. application program fault-tolerant ability test method as described in claim 1, which is characterized in that the net to electronic equipment It includes that the IP of the network agent of the electronic equipment is set as consistent with the IP of the computer installation that network environment, which carries out configuration,.
3. application program fault-tolerant ability test method as described in claim 1, which is characterized in that described to utilize specified network The tool of agency grabs network request that the App is issued in from UI test process to server including the use of the specified net Network acts on behalf of tool and only grabs the network request including nominal key.
4. application program fault-tolerant ability test method as described in claim 1, which is characterized in that the test script point is multiple Testing procedure carries out UI test to the App, described to grab the App in UI test process using specified network agent tool The network request issued to server includes:
Recorded while grabbing the network request it is current it is corresponding be which testing procedure in multiple testing procedure;And
The network request that the App is issued in UI test process to server, server respond the network and ask Returned request results are sought, is associated with test script foundation and includes:
Network request, the server that the App is issued in UI test process to server respond the network request institute The request results of return are associated with the specific testing procedure of the test script.
5. application program fault-tolerant ability test method as described in claim 1, which is characterized in that the modification server is directed to The request results that the network request is returned, and modified request results are associated with test script foundation and include:
The request results that the network request is returned are directed to using preset amending method modification server, and will be after the modification The foundation of request results and the test script be associated with, the preset amending method includes that the first amending method and second are modified Method, first amending method, which refers to, empties behaviour for the request results execution that the network request is returned for server Make, so that modified request results are equal to null value, using the modified request results as modified first request results, And modified first request results are associated with test script foundation;Second amending method refers to server It is revised as the character string with designated length for the request results that the network request is returned, by modified request As a result modified second request results are used as, and modified second request results and the test script are established and are closed Connection.
6. application program fault-tolerant ability test method as claimed in claim 5, which is characterized in that described to be asked with the network It asks the associated modified request results to be sent to the App to include:
First request results or the second request results are returned into the App.
7. application program fault-tolerant ability test method as described in claim 1, which is characterized in that the network request includes, Request method need to pass response parameter type, required parameter and parameter value and uniform resource identifier back.
8. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is deposited for executing Realize that application program fault-tolerant ability as claimed in any of claims 1 to 7 in one of claims is surveyed when the computer program stored in reservoir Method for testing.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt Processor realizes application program fault-tolerant ability test method as claimed in any of claims 1 to 7 in one of claims when executing.
10. a kind of application program fault-tolerant ability test device, which is characterized in that described device includes:
Setup module is configured for the network environment to electronic equipment;
Execution module executes the test script to the App for determining the test script for carrying out UI test to specified App Carry out UI test;
The execution module is also used to grab the App in UI test process to server using specified network agent tool The network request and crawl server issued responds the request results that the network request is returned;
The execution module, the network request for being also used in UI test process be issued the App to server, server The request results that the network request is returned are responded, are associated with test script foundation;
The execution module is also used to modify server and is directed to the request results that the network request is returned, and will be after modification The foundation of request results and the test script be associated with;
The execution module is also used to build mock server system, so that the computer installation is that the electronic equipment mentions For service interface;
The execution module is also used to execute with test script associated by the modified request results again to described App carries out UI test,
The execution module is also used to receive the App and carries out issuing the network request when UI test again, will with it is described The modified request results associated by network request are sent to the App;And
Determining module, for determining whether the App leads to according to processing mode of the App to the modified request results Cross fault-tolerant ability test.
CN201811152533.6A 2018-09-29 2018-09-29 Method and device for testing fault tolerance of application program and computer readable storage medium Active CN109542758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811152533.6A CN109542758B (en) 2018-09-29 2018-09-29 Method and device for testing fault tolerance of application program and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811152533.6A CN109542758B (en) 2018-09-29 2018-09-29 Method and device for testing fault tolerance of application program and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109542758A true CN109542758A (en) 2019-03-29
CN109542758B CN109542758B (en) 2023-05-26

Family

ID=65841274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811152533.6A Active CN109542758B (en) 2018-09-29 2018-09-29 Method and device for testing fault tolerance of application program and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109542758B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134607A (en) * 2019-05-17 2019-08-16 广州品唯软件有限公司 A kind of app automated testing method and device
CN111555940A (en) * 2020-04-28 2020-08-18 北京字节跳动网络技术有限公司 Client test method and device, electronic equipment and computer readable storage medium
CN111555935A (en) * 2020-04-27 2020-08-18 北京奇艺世纪科技有限公司 Data communication method, device, electronic equipment and storage medium
CN111858381A (en) * 2020-07-31 2020-10-30 北京字节跳动网络技术有限公司 Application program fault tolerance capability test method, electronic device and medium
CN112134910A (en) * 2019-06-25 2020-12-25 北京京东尚科信息技术有限公司 Network request debugging method, device, equipment and storage medium
CN114666301A (en) * 2020-12-22 2022-06-24 深圳Tcl新技术有限公司 APP testing method and system based on mock server
CN115052037A (en) * 2022-08-12 2022-09-13 北京搜狐新动力信息技术有限公司 Client detection method, device, storage medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657139A (en) * 2015-02-10 2015-05-27 上海创景计算机系统有限公司 Visual command stream generation system and visual command stream generation method for fault injection
CN108363662A (en) * 2018-01-29 2018-08-03 深圳壹账通智能科技有限公司 A kind of applied program testing method, storage medium and terminal device
CN108536484A (en) * 2018-03-26 2018-09-14 平安普惠企业管理有限公司 Parameter amending method, device, terminal device and storage medium
US20180270079A1 (en) * 2017-03-20 2018-09-20 Vmware, Inc. Controlling proxy devices through a managed gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657139A (en) * 2015-02-10 2015-05-27 上海创景计算机系统有限公司 Visual command stream generation system and visual command stream generation method for fault injection
US20180270079A1 (en) * 2017-03-20 2018-09-20 Vmware, Inc. Controlling proxy devices through a managed gateway
CN108363662A (en) * 2018-01-29 2018-08-03 深圳壹账通智能科技有限公司 A kind of applied program testing method, storage medium and terminal device
CN108536484A (en) * 2018-03-26 2018-09-14 平安普惠企业管理有限公司 Parameter amending method, device, terminal device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
倪金超: "基于SCF平台的Web压力测试工具的设计与实现", 《中国优秀硕士论文电子期刊网》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134607A (en) * 2019-05-17 2019-08-16 广州品唯软件有限公司 A kind of app automated testing method and device
CN112134910A (en) * 2019-06-25 2020-12-25 北京京东尚科信息技术有限公司 Network request debugging method, device, equipment and storage medium
CN112134910B (en) * 2019-06-25 2024-01-12 北京京东尚科信息技术有限公司 Network request debugging method, device, equipment and storage medium
CN111555935A (en) * 2020-04-27 2020-08-18 北京奇艺世纪科技有限公司 Data communication method, device, electronic equipment and storage medium
CN111555940A (en) * 2020-04-28 2020-08-18 北京字节跳动网络技术有限公司 Client test method and device, electronic equipment and computer readable storage medium
CN111858381A (en) * 2020-07-31 2020-10-30 北京字节跳动网络技术有限公司 Application program fault tolerance capability test method, electronic device and medium
CN114666301A (en) * 2020-12-22 2022-06-24 深圳Tcl新技术有限公司 APP testing method and system based on mock server
CN115052037A (en) * 2022-08-12 2022-09-13 北京搜狐新动力信息技术有限公司 Client detection method, device, storage medium and equipment

Also Published As

Publication number Publication date
CN109542758B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN109542758A (en) Application program fault-tolerant ability test method, device, computer readable storage medium
CN110532169A (en) Interface testing case generation method, device, computer equipment and storage medium
CN109491888A (en) Application compatibility test method, device and computer readable storage medium
CN105453017B (en) The method and apparatus of graphic user interface are provided
CN105653486A (en) Mobile terminal and method for reusing USB ports of processors thereof
CN106789202A (en) service management device and method
CN103973875A (en) Mobile terminal notification center pushed information processing method and device
CN109359031A (en) More appliance applications test methods, device, server and storage medium
CN106339405A (en) Method For Displaying Web Content And Electronic Device Supporting The Same
CN106886434A (en) A kind of Distributed Application installation method and device
CN104166646B (en) A kind of method and apparatus for inputting uniform resource locator
CN112463634B (en) Software testing method and device under micro-service architecture
CN107329991A (en) A kind of list access to web page and methods of exhibiting and its system
CN109491932A (en) Electronic equipment and method for being communicated with external electronic device
JP2014143644A (en) Test device and test display method
CN107066377A (en) Page elements acquisition methods and terminal device based on android system
CN109582418A (en) User behavior data collection method, device, computer installation, storage medium
CN113553140A (en) Resource scheduling method, equipment and system
CN109840189A (en) Caton formation gathering method, device, computer installation and readable storage medium storing program for executing
CN110113391A (en) A kind of client loading method, device and a kind of client operation method, device
CN104750553B (en) Using operation method and device
CN106445479A (en) Information pushing method and apparatus
CN104065684B (en) Information processing method, electronic equipment and terminal device
CN109219070A (en) Supplementary service configuration method, device and electronic equipment
CN107517459A (en) The method, apparatus, system and storage medium of connection are established in a kind of wireless screen transmission

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