CN108345535A - Mock test methods, device and equipment - Google Patents

Mock test methods, device and equipment Download PDF

Info

Publication number
CN108345535A
CN108345535A CN201711428013.9A CN201711428013A CN108345535A CN 108345535 A CN108345535 A CN 108345535A CN 201711428013 A CN201711428013 A CN 201711428013A CN 108345535 A CN108345535 A CN 108345535A
Authority
CN
China
Prior art keywords
request
mock
server
container joint
returns
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
CN201711428013.9A
Other languages
Chinese (zh)
Other versions
CN108345535B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201711428013.9A priority Critical patent/CN108345535B/en
Publication of CN108345535A publication Critical patent/CN108345535A/en
Application granted granted Critical
Publication of CN108345535B publication Critical patent/CN108345535B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This specification embodiment discloses mock test methods, device and equipment.Mock scripts (such as being directly injected into when receiving the access request of client transmission) are automatically injected into client by server-side, then the request of application call container joint to be tested is intercepted by script, and forward server-side, determine that this returns by the mock configuration files in server-side the result is that legitimate reading or mock response results, to carry out various businesses test.

Description

Mock test methods, device and equipment
Technical field
This specification is related to field of computer technology more particularly to mock test methods, device and equipment.
Background technology
Mock tests are exactly during the test, for certain objects for being not easy to construct or be not easy to obtain, with one A virtual object creates the test method so as to test.
In the art, the result returned due to test by various influences such as software, hardware, system environments, And needed when exploitation, test it is normal, abnormal it is various return the result, to need to test equipment (for example, with Family mobile phone) it carries out corresponding configuration or carries out corresponding maintenance in local service code to carry out mock tests, it is successfully tested Local service code is reached the standard grade again.
Based on this, more convenient mock testing schemes are needed.
Invention content
This specification embodiment provides mock test methods, device and equipment, as follows for solving the problems, such as:To provide more just The mock testing schemes of profit.
Based on this, this specification embodiment provides a kind of mock test methods, including:
Client is initiated to call the request of container joint;
It intercepts the request Concurrency to send to server-side, so that server-side responds the request, returns to corresponding mock responses As a result or the request is returned to the container joint;
Returning the result for server-side is received, business processing is carried out.
Meanwhile this specification embodiment also provides another kind mock test methods, including:
Server-side receives the request of client call container joint, and the request is intercepted to obtain by mock scripts;
The request is responded, determines that returning to corresponding mock response results or the return request to the container connects Mouthful;
Send the request returns the result to the client.
Meanwhile the embodiment of this specification also provides a kind of mock test devices, including:
Initiation module, client is asked to initiate to call the request of container joint;
Blocking module intercepts the request Concurrency and send to server-side, so that server-side responds the request, returns corresponding Mock response results return to the request to the container joint;
Receiving module receives returning the result for server-side, carries out business processing.
Meanwhile the embodiment of this specification also provides another kind mock test devices, including:
Receiving module, server-side receive the request of client call container joint, and the request is intercepted by mock scripts It arrives;
Determining module responds the request, determines and returns to corresponding mock response results or return to the request to institute State container joint;
Sending module, send the request returns the result to the client.
Corresponding, this specification embodiment also provides a kind of mock test equipments, including:
Memory stores mock test programs;
Processor calls the mock test programs in memory, and executes:
Client is initiated to call the request of container joint;
It intercepts the request Concurrency to send to server-side, so that server-side responds the request, returns to corresponding mock responses As a result or the request is returned to the container joint;
Returning the result for server-side is received, business processing is carried out.
Corresponding, this specification embodiment also provides another kind mock test equipments, including:
Memory stores mock test programs;
Processor calls the mock test programs in memory, and executes:
Server-side receives the request of client call container joint, and the request is intercepted to obtain by mock scripts;
The request is responded, determines that returning to corresponding mock response results or the return request to the container connects Mouthful;
Send the request returns the result to the client.
Corresponding, the embodiment of this specification also provides a kind of nonvolatile computer storage media, is stored with computer Executable instruction, the computer executable instructions are set as:
Client is initiated to call the request of container joint;
It intercepts the request Concurrency to send to server-side, so that server-side responds the request, returns to corresponding mock responses As a result or the request is returned to the container joint;
Returning the result for server-side is received, business processing is carried out.
Corresponding, the embodiment of this specification also provides another nonvolatile computer storage media, is stored with calculating Machine executable instruction, the computer executable instructions are set as:
Server-side receives the request of client call container joint, and the request is intercepted to obtain by mock scripts;
The request is responded, determines that returning to corresponding mock response results or the return request to the container connects Mouthful;
Send the request returns the result to the client.
Above-mentioned at least one technical solution that this specification embodiment uses can reach following advantageous effect:
In this specification embodiment, it is automatically injected into client mock scripts by server-side and (such as receives visitor It is directly injected into when the access request that family end is sent), the request of application call container joint to be tested is then intercepted by script, And forward server-side, by the mock configuration files in server-side come determine this return the result is that legitimate reading or mock Response results, to carry out various businesses test.During the test, local exploitation server can be directly accessed by user terminal The page of offer facilitates other people to carry out test verification without carrying out any configuration;It is flexibly controlled by configuration file What is returned is that true return or mock are returned, and flexibility is strong, to realize that dynamic is changed, convenient voluntarily maintenance and expansion. Product is reached the standard grade again in addition, being successfully tested, there is no being modified to service code, phase need not be also changed in service code The configuration file answered, therefore fundamentally solve when product is reached the standard grade and forget failure on line caused by switch code;By using Local server also can effectively avoid remote service unavailable the case where leading to not work.
Description of the drawings
Fig. 1 is the configuration diagram involved by this specification embodiment;
The flow diagram of mock test methods in terms of the client that Fig. 2 provides for this specification embodiment;
The flow diagram of mock test methods in terms of the server-side that Fig. 3 provides for this specification embodiment;
The product that Fig. 4 is provided by this specification embodiment is reached the standard grade the schematic diagram actually called on later line;
Fig. 5 provide client by this specification embodiment in terms of mock test devices structural schematic diagram;
Fig. 6 be this specification embodiment service provided end in terms of mock test devices structural schematic diagram.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.The embodiment of base in this manual, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of creative work is made, shall fall in the protection scope of this application.
HTML5 (the 5th generation standard of hypertext markup language, HyperText Markup Language, HTML5) is applied (can be also simply referred to as H5 applications) is the embedded web page used or web applications in mobile phone native applications (Native App), HTML5 applies the function to the primary offer of calling mobile phone, needs to provide by its host's native applications, and host is primary answers With all HTML5 applications can be loaded by HTML5 application containers, to monitor asking for HTML5 applications by HTML5 application containers It asks, completes specific function, return to the result of needs.
Therefore, in HTML5 application and developments, test, exploitation and tester is needed to simulate the return of HTML5 application containers As a result, this process is referred to as mock.The method for carrying out mock in the prior art has following a variety of:By directly changing business The method of code carrys out mock, invades business big;Carry out mock by way of network agent, when verification needs to carry out network generation Reason configuration, it is very cumbersome;The content that remote service returns is called to be used as mock data, underaction can not be changed quickly and be returned Content is returned, remote service once hangs can also influence exploitation, the test job of itself.In addition, the return knot of HTML5 application containers Fruit can be influenced by software, hardware, system environments etc. are various, and develop, test when may need it is normal, abnormal etc. various The return of various kinds.
Based on this, this specification embodiment provides mock testing schemes, is noted automatically into client in exploitation server Enter mock scripts, for intercepting using the call request to container joint, then forwards server-side.Then pass through server-side local Mock configuration files determine to return the result, to realize more easily test job.
Fig. 1 is the configuration diagram involved by this specification embodiment.In the embodiment of this specification, the mock Framework as shown in Figure 1 can be used in test method, in the architecture, client can be mounted to include such as smart mobile phone, On the user terminals such as tablet computer, server-side can provide an address (for example, a uniform resource locator (Uniform Resource Locator, URL)) for user terminal connection.Since this programme is commonly used in exploitation and test, on The server-side stated is typically testing service end.In other words, online service end when it should reach the standard grade from product is different service End.
Below by based on framework as shown in Figure 1, the mock test methods that the embodiment of this specification provides are described in detail, This method specifically includes two aspects of client and server-side, for the execution flow in terms of client, specifically includes following step Suddenly, as shown in Fig. 2, the flow diagram of the mock test methods in terms of Fig. 2 is the client that this specification embodiment provides, packet It includes:
S201, client are initiated to call the request of container joint.
As previously mentioned, application to be tested is by the primary function of container joint calling mobile phone, container joint here according to Can be one or more for the business tine of application to be tested.It, may be often in the implementation procedure of non-protogenous applications This call request occurs.For example, some web application can not calling mobile phone terminal hardware device (voice, camera, gravity Induction etc.), to enable these hardware devices by the application container interface for calling user terminal primary.In other words, it calls and holds The request of device interface can be functional request, can also be accessing page request.
S203 intercepts the request Concurrency and send to server-side, so that server-side responds the request, returns to corresponding mock Response results return to the request to the container joint.
The interception of interface call request can be accomplished in several ways, for example, being used when interface is called Spring blockers are intercepted.After intercepting the call request, request is directly to issue server-side (alternatively referred to as to test Server-side), server-side decision is returned using mock response results, still passes through container real interface to return.
In practical applications, the program file (i.e. mock objects) for mock can be created according to preset test content, And respective request generates corresponding mock response results.Mock objects, which are primarily used to simulate those, to be not easy to construct in the application Or more complicated object, to be tested.
By pre-entering mock objects in server-side, tested.Then (it can pass through and configure by being determined in advance File is realized, can also be realized by logical code) what is returned in this test is legitimate reading (that is, transparent transmission is asked Ask to container joint, container joint calling performs the primary function of mobile phone, the truthful data of return) or mock response results (that is, sending the request to the mock data obtained after mock objects), if to change the content of test, to carry out different surveys Examination, then only needing corresponding modification mock objects or configured to script can.
For example, some webpage provides panic buying function at daily 9 points, according to true object, then daily 9 must be waited until Point can just be tested, and then simulated time only be needed to can be carried out testing to 9 points using mock test objects.If changed Testing time is 20 points, is also easy to modify in mock objects, keeps entire test process more flexible.
In another example the function of mock objects A returns to the details of commodity according to the trade name received;Mock pairs As the function of B is the system time in setting, pop up suggestive page info (for example, daily 20 points 55 minutes, pop-up prompt, Certain part commodity will enter at 21 points to be snapped.), it, can be by advance by mock objects A and B if then user tests It is previously implanted into local service end, this test A function and/or test b function are determined by pre-determined configuration file.When After client sends out page request, by interception request, this object called is then determined according to configuration file, obtains knot Fruit.Here result, which includes returning the result for mock objects, will either ask the container joint for being pass-through to client, to hold Device interface locally executes calling function according to request in user terminal.For the same container joint call request, the two (mock Response results or transparent transmission are asked to container joint) in only can return to one.
S205 receives returning the result for server-side, carries out business processing.
As previously mentioned, returning the result for server-side can be the mock response results responded to request, can also be described Server-side returns to the request to the container joint.In the case where server-side transparent transmission is asked to container joint, container joint Corresponding business processing is further executed according to request, for example, some hardware capabilities of local handset are called, alternatively, server-side Request page access etc., obtains true accordingly result.
Result during application request is influenced by software, hardware, system environments etc. are various, this is also carry out business The purpose of test.In conjunction with mock accordingly results and/or true response results, the final industry of this client request can be obtained Business handling result shows this service code normal operation if final service processing result is consistent with expected results.If returning Result with expection do not meet, i.e., this test result is abnormal, needs to be debugged again.
In the above scheme, by intercepting the request of application call container joint to be tested, and server-side is forwarded, passed through Mock configuration files in server-side are that this is returned the result is that legitimate reading or mock response results to determine, to carry out respectively Kind operational trials.During the test, can directly be accessed by user terminal exploitation server offer the page, without into Row configuration, facilitates other people to carry out test verification;It is successfully tested and product is reached the standard grade again, service code is not modified, Also corresponding configuration file need not be changed in service code, forget to switch generation when product is reached the standard grade to fundamentally solve Failure on line caused by code.
Under a kind of specific embodiment, during carrying out application and development and test, for intercepting the request Following method may be used in mode:By the mock scripts being previously implanted, intercepts the request Concurrency and send to server-side.
The mode being previously implanted can be injected into client manually by user;But can also be more easily, to pass through Server-side is automatically injected to client, for example, when client accesses the address that server-side is provided for the first time, into client The mock scripts finished writing in advance are injected, for intercepting the call request of container joint.
In this manner, the mock scripts of injection make the ability of script container Processing Interface fail, although request Still it is issued in container, but because the injection of mock scripts, container, which loses, directly controls request, request will be by Server-side is intercepted and captured and directly issues, server-side decision is returned using mock response results, still passes through container real interface True response results are returned to, so as to realize that dynamic is changed so that test is more convenient.
As a kind of specific embodiment, request above-mentioned includes HTML5 page requests, and the container joint includes HTML5 application container interfaces.In other words, for the native applications in system by HTML5 containers come load web page or The function of web applications is tested, this is also the most common content that needs to be tested in developing HTML5 application processes. In this case, mock objects include the simulation to HTML5 application containers.
In practical applications, HTML5 applications need the interface for calling HTML5 containers to provide, and it is primary to carry out calling mobile phone system The function of offer.Mock test objects are also to describe this object using an interface, during the test by interface come Reference object.In other words, in test process, client is not aware that the object that this is accessed is real test object, still Mock test objects.
Above description is mainly the description to executing flow in terms of client, for the execution flow in terms of server-side, tool Body includes the following steps, as shown in figure 3, the mock test methods in terms of Fig. 3 is the server-side that this specification embodiment provides Flow diagram, including:
S301, server-side receive the request of client call container joint, and the request is intercepted to obtain by mock scripts;
S303 responds the request, determines and returns to corresponding mock response results or return to the request to the appearance Device interface;
S305, send the request returns the result to the client.
As a kind of specific embodiment, in implementation process, server-side can also be injected from trend client for blocking The mock scripts cut, including:Mock scripts are injected into client, the mock scripts are used to intercept the tune transmitted by client With the request of container joint, and it is forwarded to server-side.It is automatically injected script to client by server-side, can facilitate and test When tested by a variety of different terminal devices, without carrying out additional setting.
Server-side can be realized in respective request when determination returns the result based on pre-defined logical code.Into one Step ground, can also be shown logical code in the form of configuration file, and the response knot of this request is determined by configuration file Fruit (including access mock objects and obtain mock response results, alternatively, transparent transmission is asked to the container joint of client, with Bedpan Interface further executes business processing and obtains legitimate reading).Generation corresponding to the usual part logical code or configuration file What code was mutually isolated with service code.
In practical applications, for once asking, it may be desirable to multiple containers interface is called, in test process In, it can determine which content tested according to the actual needs, if need to carry out request the degree of transparent transmission and transparent transmission. In other words, by being configured in configuration file in advance to determine that this is returned as a result, being returned so as to flexible configuration Be mock data or truthful data.Specifically, it may include following three kinds of modes:
Determine that returning the result for this request is asked described in all transparent transmissions to the container joint, in this manner, The request of client is whole transparent transmissions;Alternatively,
Determine this request returns the result all mock response results;Alternatively,
Determine that the middle part that returns the result of this request is divided into the mock response results, remaining part is to be asked described in transparent transmission It asks to the container joint, in this manner, the request of client is part transparent transmission.
In practical applications, the big part that mostly uses that returns the result when test is the mock response results, remaining portion Being divided into request described in transparent transmission, (in a test request, it is multiple right to access to call multiple interfaces to the container joint As, it is often necessary to carry out the true test in part).That is, by configuration file, server-side to request carried out part transparent transmission with into The corresponding test of row, under this embodiment, the part interface call request of non-transparent transmission will jump on mock objects, It is partly returning the result for true HTML5 container joints in result to return to client, is partly the return of mock objects As a result.
Certainly, in practical applications, if being successfully tested, there is no problem after product reaches the standard grade, and server-side should be realized completely thoroughly It passes.After product is reached the standard grade, it will be deployed in aol server (that is, not being the testing service end tested), client accesses at this time Be aol server, or access be offline roadblock face.Since entrance is different, client can not access above-mentioned Testing service end, therefore also interception process is less had just without the process above-mentioned for being automatically injected script, it is clear that be also impossible to There is the above-mentioned process for jumping to mock test objects, all requests are all directly to pass through true container joint, return to knot Fruit is also all the return of true HTML5 containers.As shown in figure 4, the product that Fig. 4 is provided by this specification embodiment reach the standard grade with The schematic diagram actually called on line afterwards.
In aforementioned schemes, what server-side flexibly controlled return by configuration file is that true return or mock are returned It returns, flexibility is strong, to realize that dynamic is changed, convenient voluntarily maintenance and expansion.In addition, server-side is automatically injected into client Mock scripts, user terminal directly accesses the page that local exploitation server provides and can be tested, without carrying out any match It sets, other people is facilitated to carry out test verification;It is successfully tested and product is reached the standard grade again, there is no being modified to service code, also not It needs to change corresponding configuration file in service code, therefore fundamentally solves when product is reached the standard grade and forget that switch code is led Failure on the line of cause
Due to the process in aforementioned test, need to modify is all mock scripts or its configuration file, not Service code is modified, corresponding configuration file need not be also changed in service code, flexibility is strong, convenient voluntarily to tie up Shield and extension.
For different test contents, can be realized by different mock scripts.For same application to be tested, use Family can also determine to return using the interface return of true HTML5 containers or mock objects by changing configuration file, make It is more flexible and convenient when must test, following method specifically can be used:The instruction for receiving user, to change the configuration file; According to the modified configuration file and the request, this object accessed is determined.
As a kind of specific embodiment, the client and the server-side are respectively positioned on local, using local service End and client are tested, it may be convenient to be modified and be configured, also can effectively avoid remote service is unavailable from leading to nothing The case where method works.
In this specification embodiment, whether various ways may be used to realize in server-side or mock scripts. It can be developed to obtain by Node.js as one kind preferably embodiment, server-side, the mock scripts pass through JavaScript language is developed to obtain, in the process of development, code and service code and the mock of the configuration file of mock scripts The code of object is mutually isolated.
As a kind of specific embodiment, the request includes HTML5 page requests, and the container joint includes HTML5 application container interfaces.
Based on same thinking, the present invention also provides a kind of mock test devices, as shown in figure 5, Fig. 5 is that this specification is real The structural schematic diagram of mock test devices in terms of the provided client of example is provided, including:
Initiation module 501, client is asked to initiate to call the request of container joint;
Blocking module 503 intercepts the request Concurrency and send to server-side, so that server-side responds the request, return pair The mock response results answered return to the request to the container joint;
Receiving module 505 receives returning the result for server-side, carries out business processing.
Further, if the server-side returns to the request to the container joint, the receiving module 505 obtains The true response results that the request that the server-side returns is handled by the container joint;According to described true Response results carry out business processing.
Further, the blocking module 503, by the mock scripts being previously implanted, intercept the request Concurrency send to Server-side.
Further, the request includes HTML5 page requests, and the container joint includes HTML5 application container interfaces.
Based on same thinking, the present invention also provides another mock test devices, as shown in fig. 6, Fig. 6 is this specification The structural schematic diagram of mock test devices in terms of the server-side that embodiment is provided, including:
Receiving module 601, server-side receive the request of client call container joint, and the request is intercepted by mock scripts It obtains;
Determining module 603 responds the request, determines and returns to corresponding mock response results or return to the request extremely The container joint;
Sending module 605, send the request returns the result to the client.
Further, described device further includes injection module 607, and mock scripts, the mock feet are injected into client This calls the request of container joint for intercepting transmitted by client, and is forwarded to server-side.
Further, the determining module 603 is based on pre-set configuration file, responds the request, determines and returns Corresponding mock response results return to the request to the container joint
Further, the determining module 603, determine this request returns the result all mock responses knots Fruit;Alternatively, this determining request returns the result all returns request to the container joint;Alternatively, determining this The middle part that returns the result of request is divided into the mock response results, remaining part is to return to the request to the container to connect Mouthful.
Further, the receiving module 601 is additionally operable to receive the instruction of user, to change the configuration file;It is described Determining module 603 responds the request according to the modified configuration file, determines returning the result for the request
Further, the server-side and the mock scripts are based on JavaScript.
Further, the client and the server-side are respectively positioned on local
Further, the request includes HTML5 page requests, and the container joint includes HTML5 application container interfaces.
Corresponding, the embodiment of the present application also provides a kind of mock test equipments, and the equipment includes:
Memory stores mock test programs;
Processor calls the mock test programs in memory, and executes:
Client is initiated to call the request of container joint;
It intercepts the request Concurrency to send to server-side, so that server-side responds the request, returns to corresponding mock responses As a result or the request is returned to the container joint;
Returning the result for server-side is received, business processing is carried out.
Corresponding, the embodiment of the present application also provides another kind mock test equipments, and the equipment includes:
Memory stores mock test programs;
Processor calls the mock test programs in memory, and executes:
Server-side receives the request of client call container joint, and the request is intercepted to obtain by mock scripts;
The request is responded, determines that returning to corresponding mock response results or the return request to the container connects Mouthful;
Send the request returns the result to the client.
Based on same invention thinking, the embodiment of this specification also provides a kind of nonvolatile computer storage media, Computer executable instructions are stored with, the computer executable instructions are set as:
Client is initiated to call the request of container joint;
It intercepts the request Concurrency to send to server-side, so that server-side responds the request, returns to corresponding mock responses As a result or the request is returned to the container joint;
Returning the result for server-side is received, business processing is carried out.
Based on same invention thinking, the embodiment of this specification also provides another non-volatile computer storage and is situated between Matter, is stored with computer executable instructions, and the computer executable instructions are set as:
Server-side receives the request of client call container joint, and the request is intercepted to obtain by mock scripts;
The request is responded, determines that returning to corresponding mock response results or the return request to the container connects Mouthful;
Send the request returns the result to the client.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For equipment and medium class embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place Illustrate referring to the part of embodiment of the method, just no longer repeats one by one here.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the action recorded in detail in the claims or step or module can be according to different from embodiments Sequence executes and desired result still may be implemented.In addition, the process described in the accompanying drawings is not necessarily required and is shown Particular order or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing It is also possible or it may be advantageous.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method flow can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained in the form of logic gate, switch, application-specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit is realized can in the same or multiple software and or hardware when the embodiment of specification.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), the data letter number and carrier wave of such as modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiment one or more in this specification can be provided as method, system or Computer program product.Therefore, complete hardware embodiment, complete software embodiment or combination can be used in the embodiment of this specification Form in terms of software and hardware.Moreover, it wherein includes computer that the embodiment of this specification, which can be used in one or more, The computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of usable program code The form of the computer program product of upper implementation.
The embodiment of this specification can retouch in the general context of computer-executable instructions executed by a computer It states, such as program module.Usually, program module include execute particular transaction or realize particular abstract data type routine, Program, object, component, data structure etc..The embodiment that this specification can also be put into practice in a distributed computing environment, at this In a little distributed computing environment, by executing affairs by the connected remote processing devices of communication network.It is counted in distribution It calculates in environment, program module can be located in the local and remote computer storage media including storage device.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely the embodiments of this specification, are not intended to limit this application.For people in the art For member, the embodiment of this specification can have various modifications and variations.The spirit and principle of all embodiments in this specification Within any modification, equivalent replacement, improvement and so on, should be included among the interest field of the application.

Claims (26)

1. a kind of mock test methods, including:
Client is initiated to call the request of container joint;
It intercepts the request Concurrency to send to server-side, so that server-side responds the request, returns to corresponding mock response results Or the request is returned to the container joint;
Returning the result for server-side is received, business processing is carried out.
2. the method as described in claim 1, described according to clothes if the server-side return request is to the container joint Business end returns the result, and carries out business processing, specifically includes:
Obtain the true response results handled the request that the server-side returns by the container joint;
According to the true response results, business processing is carried out.
3. the method as described in claim 1, the interception request Concurrency is sent to server-side, including:
By the mock scripts being previously implanted, intercepts the request Concurrency and send to server-side.
4. the method as described in claims 1 to 3 is any, the request includes HTML5 page requests, and the container joint includes HTML5 application container interfaces.
5. a kind of mock test methods, including:
Server-side receives the request of client call container joint, and the request is intercepted to obtain by mock scripts;
The request is responded, is determined and is returned to corresponding mock response results or return to the request to the container joint;
Send the request returns the result to the client.
6. method as claimed in claim 5, further includes:
Mock scripts are injected into client, the mock scripts are used to intercept asking for the calling container joint transmitted by client It asks, and is forwarded to server-side.
7. method as claimed in claim 5, described to be based on the request, determine and return to corresponding mock response results or return The request is returned to the container joint, including:
Based on pre-set configuration file, the request is responded, determines and returns to corresponding mock response results or return institute Request is stated to the container joint.
8. the method for claim 7, the determination returns to corresponding mock response results or returns to the request extremely The container joint, including:
Determine this request returns the result all mock response results;Alternatively,
Determine this request returns the result all returns request to the container joint;Alternatively,
Determine that the middle part that returns the result of this request is divided into the mock response results, remaining part is to return to the request extremely The container joint.
9. the method for claim 7, further including:
The instruction for receiving user, to change the configuration file;
The request is responded according to the modified configuration file, determines returning the result for the request.
10. method as claimed in claim 5, the server-side and the mock scripts are based on JavaScript.
11. method as claimed in claim 5, the client and the server-side are respectively positioned on local.
12. the method as described in claim 5 to 11 is any, the request includes HTML5 page requests, the container joint packet Include HTML5 application container interfaces.
13. a kind of mock test devices, including:
Initiation module, client is asked to initiate to call the request of container joint;
Blocking module intercepts the request Concurrency and send to server-side, so that server-side responds the request, returns to corresponding mock Response results return to the request to the container joint;
Receiving module receives returning the result for server-side, carries out business processing.
14. device as claimed in claim 13, if the server-side returns to the request to the container joint, the reception Module obtains the true response results handled the request that the server-side returns by the container joint;Root According to the true response results, business processing is carried out.
15. device as claimed in claim 13, the blocking module is asked by the mock scripts being previously implanted described in interception It asks and is sent to server-side.
16. the device as described in claim 13 to 15 is any, the request includes HTML5 page requests, the container joint Including HTML5 application container interfaces.
17. a kind of mock test devices, including:
Receiving module, server-side receive the request of client call container joint, and the request is intercepted to obtain by mock scripts;
Determining module responds the request, determines and returns to corresponding mock response results or return to the request to the appearance Device interface;
Sending module, send the request returns the result to the client.
18. device as claimed in claim 17 further includes injection module, mock scripts, the mock are injected into client Script is used to intercept the request of the calling container joint transmitted by client, and is forwarded to server-side.
19. device as claimed in claim 17, the determining module are based on pre-set configuration file, are asked described in response It asks, determines and return to corresponding mock response results or return to the request to the container joint.
20. device as claimed in claim 19, the determining module determine that returning the result for this request is all described Mock response results;Alternatively, this determining request returns the result all returns request to the container joint;Or Person determines that the middle part that returns the result of this request is divided into the mock response results, remaining part is to return to the request extremely The container joint.
21. device as claimed in claim 19, the receiving module are additionally operable to receive the instruction of user, described in modification to match Set file;The determining module responds the request according to the modified configuration file, determines the return knot of the request Fruit.
22. device as claimed in claim 17, the server-side and the mock scripts are based on JavaScript.
23. device as claimed in claim 17, the client and the server-side are respectively positioned on local.
24. the device as described in claim 17 to 23 is any, the request includes HTML5 page requests, the container joint Including HTML5 application container interfaces.
25. a kind of mock test equipments, including:
Memory stores mock test programs;
Processor calls the mock test programs in memory, and executes:
Client is initiated to call the request of container joint;
It intercepts the request Concurrency to send to server-side, so that server-side responds the request, returns to corresponding mock response results Or the request is returned to the container joint;
Returning the result for server-side is received, business processing is carried out.
26. a kind of mock test equipments, including:
Memory stores mock test programs;
Processor calls the mock test programs in memory, and executes:
Server-side receives the request of client call container joint, and the request is intercepted to obtain by mock scripts;
The request is responded, is determined and is returned to corresponding mock response results or return to the request to the container joint;
Send the request returns the result to the client.
CN201711428013.9A 2017-12-26 2017-12-26 mock testing method, device and equipment Active CN108345535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711428013.9A CN108345535B (en) 2017-12-26 2017-12-26 mock testing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711428013.9A CN108345535B (en) 2017-12-26 2017-12-26 mock testing method, device and equipment

Publications (2)

Publication Number Publication Date
CN108345535A true CN108345535A (en) 2018-07-31
CN108345535B CN108345535B (en) 2022-03-04

Family

ID=62962334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711428013.9A Active CN108345535B (en) 2017-12-26 2017-12-26 mock testing method, device and equipment

Country Status (1)

Country Link
CN (1) CN108345535B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165168A (en) * 2018-09-14 2019-01-08 杭州云创共享网络科技有限公司 A kind of method for testing pressure, device, equipment and medium
CN109344075A (en) * 2018-10-19 2019-02-15 网宿科技股份有限公司 Configuration method, test method, configuration server and service node device
CN109491689A (en) * 2018-11-20 2019-03-19 中国建设银行股份有限公司 Client process method, apparatus and system
CN109542791A (en) * 2018-11-27 2019-03-29 长沙智擎信息技术有限公司 A kind of program large-scale concurrent evaluating method based on container technique
CN109660472A (en) * 2018-10-16 2019-04-19 深圳壹账通智能科技有限公司 Intelligent routing function verification method, device and the computer equipment of terminal plate
CN109743222A (en) * 2018-12-25 2019-05-10 瑞庭网络技术(上海)有限公司 A kind of data test method and relevant device
CN109873735A (en) * 2018-12-14 2019-06-11 深圳壹账通智能科技有限公司 Performance test methods, device and the computer equipment of the H5 page
CN110147326A (en) * 2019-05-23 2019-08-20 四川新网银行股份有限公司 Micro services automated testing method based on Redis database
CN110188296A (en) * 2019-05-13 2019-08-30 北京百度网讯科技有限公司 Application program embeds page processing method, browser, equipment and storage medium
CN110362491A (en) * 2019-07-17 2019-10-22 广州市有车以后信息科技有限公司 A kind of mock test method and test device based on go-between's agent skill group
CN110750463A (en) * 2019-10-29 2020-02-04 百度在线网络技术(北京)有限公司 Applet testing method, device, system, equipment and medium
CN111026672A (en) * 2019-12-16 2020-04-17 广州品唯软件有限公司 Test method, terminal equipment and mock server
CN111367803A (en) * 2020-03-03 2020-07-03 北京九州云动科技有限公司 Method and system for improving testing efficiency of client software
WO2020177519A1 (en) * 2019-03-05 2020-09-10 ***股份有限公司 Debugging method executed on smart terminal and software debugging device
CN111797020A (en) * 2020-07-03 2020-10-20 北京每日优鲜电子商务有限公司 Mock data method and device based on dynamic bytecode
CN112162925A (en) * 2020-09-29 2021-01-01 新华三大数据技术有限公司 Test method and system based on service virtualization
CN112650689A (en) * 2020-12-31 2021-04-13 五八有限公司 Test method, test device, electronic equipment and storage medium
CN113157548A (en) * 2020-01-07 2021-07-23 阿里巴巴集团控股有限公司 Test method, test device and application tester
CN113238886A (en) * 2021-05-12 2021-08-10 深圳前海微众银行股份有限公司 Method and system for testing functional service and terminal equipment
CN113452575A (en) * 2021-06-24 2021-09-28 河北幸福消费金融股份有限公司 Service test method, system, device and storage medium
CN113468041A (en) * 2020-03-30 2021-10-01 北京沃东天骏信息技术有限公司 Interface comparison test method and device
CN113934961A (en) * 2021-10-12 2022-01-14 杭州笨马网络技术有限公司 Js HTTP request head non-invasion transparent transmission method
CN115102874A (en) * 2022-06-27 2022-09-23 中国工商银行股份有限公司 Method and device for testing performance of gateway system and electronic equipment

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982130A (en) * 2012-11-16 2013-03-20 深圳市融创天下科技股份有限公司 Synchronized method for not only structured query language (NOSQL) and relational database management system (RDBMS) database and system thereof
CN103297475A (en) * 2012-03-01 2013-09-11 阿里巴巴集团控股有限公司 Mock service system and processing method of Mock service
CN103634338A (en) * 2012-08-21 2014-03-12 北京亿赞普网络技术有限公司 Method for modifying primary domain name of webpage online, data processing device and system
CN103729294A (en) * 2013-12-30 2014-04-16 金蝶软件(中国)有限公司 Method and device for testing performance script of application software
US20140282420A1 (en) * 2013-03-15 2014-09-18 Vmware, Inc. Test automation booster
CN104220993A (en) * 2012-04-20 2014-12-17 惠普发展公司,有限责任合伙企业 Testing system for an integrated software system
CN104410542A (en) * 2014-11-18 2015-03-11 小米科技有限责任公司 Method and device for simulation test
CN104461903A (en) * 2014-12-26 2015-03-25 北京奇虎科技有限公司 Method and device for testing client side based on browser
CN105338115A (en) * 2015-11-26 2016-02-17 上海晶赞科技发展有限公司 Data server
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs
CN106506548A (en) * 2016-12-23 2017-03-15 努比亚技术有限公司 The defence installation of cross-site scripting attack and method
CN106528400A (en) * 2016-09-22 2017-03-22 深圳峰创智诚科技有限公司 MOCK testing method and device
CN106648556A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Front end and back end integrated development testing method and device
CN106681922A (en) * 2016-12-27 2017-05-17 广州唯品会信息科技有限公司 Simulation server response method and system
CN106790007A (en) * 2016-12-13 2017-05-31 武汉虹旭信息技术有限责任公司 Web attack defending systems and its method based on XSS and CSRF
CN106875184A (en) * 2016-08-10 2017-06-20 阿里巴巴集团控股有限公司 Abnormal scene analogy method, device and equipment
CN106970873A (en) * 2017-01-10 2017-07-21 阿里巴巴集团控股有限公司 Mock method of testings, apparatus and system on line
CN107133180A (en) * 2017-06-07 2017-09-05 腾讯科技(深圳)有限公司 Method of testing, test device and the storage medium of dynamic page
US20170300402A1 (en) * 2016-04-19 2017-10-19 Sap Se Mock server and extensions for application testing
CN107368405A (en) * 2016-05-11 2017-11-21 腾讯科技(北京)有限公司 Test system, method of testing, mock platforms, blocker and client

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297475A (en) * 2012-03-01 2013-09-11 阿里巴巴集团控股有限公司 Mock service system and processing method of Mock service
CN104220993A (en) * 2012-04-20 2014-12-17 惠普发展公司,有限责任合伙企业 Testing system for an integrated software system
CN103634338A (en) * 2012-08-21 2014-03-12 北京亿赞普网络技术有限公司 Method for modifying primary domain name of webpage online, data processing device and system
CN102982130A (en) * 2012-11-16 2013-03-20 深圳市融创天下科技股份有限公司 Synchronized method for not only structured query language (NOSQL) and relational database management system (RDBMS) database and system thereof
US20140282420A1 (en) * 2013-03-15 2014-09-18 Vmware, Inc. Test automation booster
CN103729294A (en) * 2013-12-30 2014-04-16 金蝶软件(中国)有限公司 Method and device for testing performance script of application software
CN104410542A (en) * 2014-11-18 2015-03-11 小米科技有限责任公司 Method and device for simulation test
CN104461903A (en) * 2014-12-26 2015-03-25 北京奇虎科技有限公司 Method and device for testing client side based on browser
CN106648556A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Front end and back end integrated development testing method and device
CN105338115A (en) * 2015-11-26 2016-02-17 上海晶赞科技发展有限公司 Data server
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs
US20170300402A1 (en) * 2016-04-19 2017-10-19 Sap Se Mock server and extensions for application testing
CN107368405A (en) * 2016-05-11 2017-11-21 腾讯科技(北京)有限公司 Test system, method of testing, mock platforms, blocker and client
CN106875184A (en) * 2016-08-10 2017-06-20 阿里巴巴集团控股有限公司 Abnormal scene analogy method, device and equipment
CN106528400A (en) * 2016-09-22 2017-03-22 深圳峰创智诚科技有限公司 MOCK testing method and device
CN106790007A (en) * 2016-12-13 2017-05-31 武汉虹旭信息技术有限责任公司 Web attack defending systems and its method based on XSS and CSRF
CN106506548A (en) * 2016-12-23 2017-03-15 努比亚技术有限公司 The defence installation of cross-site scripting attack and method
CN106681922A (en) * 2016-12-27 2017-05-17 广州唯品会信息科技有限公司 Simulation server response method and system
CN106970873A (en) * 2017-01-10 2017-07-21 阿里巴巴集团控股有限公司 Mock method of testings, apparatus and system on line
CN107133180A (en) * 2017-06-07 2017-09-05 腾讯科技(深圳)有限公司 Method of testing, test device and the storage medium of dynamic page

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
伍向前: "单元测试中mock技术的研究和创新", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
张小国: "采用Java ME测试Agent的嵌入式设备自动测试框架", 《计算机工程与应用》 *

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165168A (en) * 2018-09-14 2019-01-08 杭州云创共享网络科技有限公司 A kind of method for testing pressure, device, equipment and medium
CN109660472A (en) * 2018-10-16 2019-04-19 深圳壹账通智能科技有限公司 Intelligent routing function verification method, device and the computer equipment of terminal plate
CN109660472B (en) * 2018-10-16 2022-04-22 深圳壹账通智能科技有限公司 Intelligent routing function verification method and device for wiring board and computer equipment
CN109344075A (en) * 2018-10-19 2019-02-15 网宿科技股份有限公司 Configuration method, test method, configuration server and service node device
CN109491689A (en) * 2018-11-20 2019-03-19 中国建设银行股份有限公司 Client process method, apparatus and system
CN109542791A (en) * 2018-11-27 2019-03-29 长沙智擎信息技术有限公司 A kind of program large-scale concurrent evaluating method based on container technique
CN109873735A (en) * 2018-12-14 2019-06-11 深圳壹账通智能科技有限公司 Performance test methods, device and the computer equipment of the H5 page
CN109873735B (en) * 2018-12-14 2021-09-21 深圳壹账通智能科技有限公司 Performance test method and device for H5 page and computer equipment
CN109743222A (en) * 2018-12-25 2019-05-10 瑞庭网络技术(上海)有限公司 A kind of data test method and relevant device
WO2020177519A1 (en) * 2019-03-05 2020-09-10 ***股份有限公司 Debugging method executed on smart terminal and software debugging device
CN111666199B (en) * 2019-03-05 2022-01-11 ***股份有限公司 Debugging method executed on intelligent terminal and software debugger
CN111666199A (en) * 2019-03-05 2020-09-15 ***股份有限公司 Debugging method executed on intelligent terminal and software debugger
CN110188296A (en) * 2019-05-13 2019-08-30 北京百度网讯科技有限公司 Application program embeds page processing method, browser, equipment and storage medium
CN110188296B (en) * 2019-05-13 2021-07-13 北京百度网讯科技有限公司 Application program embedded page processing method, browser, equipment and storage medium
CN110147326A (en) * 2019-05-23 2019-08-20 四川新网银行股份有限公司 Micro services automated testing method based on Redis database
CN110362491B (en) * 2019-07-17 2020-02-21 广州市有车以后信息科技有限公司 Mock testing method and testing device based on man-in-the-middle agent technology
CN111198824B (en) * 2019-07-17 2022-03-25 广州市有车以后信息科技有限公司 Mock testing arrangement based on middle person agent technique
CN110362491A (en) * 2019-07-17 2019-10-22 广州市有车以后信息科技有限公司 A kind of mock test method and test device based on go-between's agent skill group
CN111198824A (en) * 2019-07-17 2020-05-26 广州市有车以后信息科技有限公司 Mock testing arrangement based on middle person agent technique
CN110750463A (en) * 2019-10-29 2020-02-04 百度在线网络技术(北京)有限公司 Applet testing method, device, system, equipment and medium
CN111026672A (en) * 2019-12-16 2020-04-17 广州品唯软件有限公司 Test method, terminal equipment and mock server
CN113157548A (en) * 2020-01-07 2021-07-23 阿里巴巴集团控股有限公司 Test method, test device and application tester
CN111367803A (en) * 2020-03-03 2020-07-03 北京九州云动科技有限公司 Method and system for improving testing efficiency of client software
CN113468041A (en) * 2020-03-30 2021-10-01 北京沃东天骏信息技术有限公司 Interface comparison test method and device
CN111797020A (en) * 2020-07-03 2020-10-20 北京每日优鲜电子商务有限公司 Mock data method and device based on dynamic bytecode
CN112162925A (en) * 2020-09-29 2021-01-01 新华三大数据技术有限公司 Test method and system based on service virtualization
CN112650689A (en) * 2020-12-31 2021-04-13 五八有限公司 Test method, test device, electronic equipment and storage medium
CN113238886A (en) * 2021-05-12 2021-08-10 深圳前海微众银行股份有限公司 Method and system for testing functional service and terminal equipment
CN113452575A (en) * 2021-06-24 2021-09-28 河北幸福消费金融股份有限公司 Service test method, system, device and storage medium
CN113934961A (en) * 2021-10-12 2022-01-14 杭州笨马网络技术有限公司 Js HTTP request head non-invasion transparent transmission method
CN115102874A (en) * 2022-06-27 2022-09-23 中国工商银行股份有限公司 Method and device for testing performance of gateway system and electronic equipment
CN115102874B (en) * 2022-06-27 2024-03-08 中国工商银行股份有限公司 Gateway system performance testing method and device and electronic equipment

Also Published As

Publication number Publication date
CN108345535B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN108345535A (en) Mock test methods, device and equipment
US20200183822A1 (en) Mock server for testing
CN106970873A (en) Mock method of testings, apparatus and system on line
US9372779B2 (en) System, method, apparatus and computer program for automatic evaluation of user interfaces in software programs
CN105808227B (en) A kind of fine arts resource file detection method and device
CN106648556B (en) Method and device for front-end and back-end integrated development test
CN107133174A (en) Test case code automatically generating device and method
US20160357661A1 (en) Automated dynamic test case generation
CN109656806A (en) A kind of the playback test method and device of interface data
US9122801B2 (en) Test planning with order coverage requirements
US9304894B2 (en) Code-free testing framework
CN108549562A (en) A kind of method and device of image load
US10382313B2 (en) Test building for testing server operation
CN107479868B (en) Interface loading method, device and equipment
WO2020211360A1 (en) Mock test method and system, electronic device, and computer non-volatile readable storage medium
CN109815119A (en) A kind of test method and device of APP link channel
CN107203465A (en) System interface method of testing and device
CN108304313A (en) It is a kind of for the device of data test, client and method
CN110427237A (en) A kind of method, apparatus and electronic equipment across application access target pages
CN111694550A (en) Page display control method, device and system
CN107733866A (en) RPC requests, RPC request processing methods, device and equipment
CN113157274B (en) Software development method and device based on micro front end, electronic equipment and storage medium
CN107016043A (en) A kind of information processing method and device
CN109902003A (en) The generation method and device of test script
CN110046052A (en) A kind of service calling method and device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1257384

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20201020

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201020

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant