CN108600311A - The method and device of client simulation interface data - Google Patents

The method and device of client simulation interface data Download PDF

Info

Publication number
CN108600311A
CN108600311A CN201810234866.7A CN201810234866A CN108600311A CN 108600311 A CN108600311 A CN 108600311A CN 201810234866 A CN201810234866 A CN 201810234866A CN 108600311 A CN108600311 A CN 108600311A
Authority
CN
China
Prior art keywords
interface
service
client
page
end interface
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
CN201810234866.7A
Other languages
Chinese (zh)
Other versions
CN108600311B (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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201810234866.7A priority Critical patent/CN108600311B/en
Publication of CN108600311A publication Critical patent/CN108600311A/en
Application granted granted Critical
Publication of CN108600311B publication Critical patent/CN108600311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Abstract

The invention discloses a kind of method and device of client simulation interface data, method includes:The address of service provided by the special services that client-side starts is provided;By accessing address of service, corresponding service page is obtained;The simulation trigger action for specifying server-side interface in service page is monitored, the analog interface data of specified services end interface are locally preserved in client, when called for specified services end interface, returns to the analog interface data that client locally preserves.Start in client-side and service, in service page analog interface data, monitors service page to the simulation trigger action of specified services end interface, obtain corresponding analog interface data.When calling service end interface, it is locally directly obtained corresponding analog interface data from client, realizes the simulation to servicing end interface.The present invention builds network service in client-side, monitors simulation request, need not additionally build specific analog service end, reduces a large amount of artificial, cost consumption.

Description

The method and device of client simulation interface data
Technical field
The present invention relates to software fields, and in particular to a kind of method and device of client simulation interface data.
Background technology
There are request of data relationship between client and server-side, client needs to ask the data of server-side, so as to root It is shown to the corresponding information of user or subsequent business operation etc. according to the interface data of return.Therefore in the work(developed to client When can be tested, need to carry out joint debugging with server-side.Client is larger to server-side degree of dependence.But in actual development process In, there is conflict in waiting in the exploitation of client and server-side, it may occur however that when client is tested, the service of needs It holds corresponding interface to be not yet ready for, the problems such as client can not be tested, increases the time pressure of test, may lead Cause no time enough to be tested oneself, regression test etc., be easy to cause reach the standard grade hastily, easy generation problem etc. on line.Therefore, mould The interface data that quasi- service end interface is returned, reduces client and relies on server-side, can effectively reduce the above problem.
The prior art generally uses following two modes in analog interface data:
A server-side is voluntarily established, by asking server-side to obtain when analog interface data.But this mode need with The relevant mating backstage of server-side carries out apparatus bound, gateway setting, analog interface data manipulation and a large amount of analog interface The operations such as data management.This mode needs more people to build, it is also necessary to be tieed up to the back-end platform of analog interface data Shield needs to spend the costs such as more human and material resources, time, increases business burden, belong to the mode compared with heavyweight.
Using packet catcher analog interface data, such as use charlse tools.This sample loading mode be when interface returns, The interface data of return is intercepted, by the interface data of interception into returning to client after edlin.But this mode institute The tool used is generally means for charging customer accounts, increases entreprise cost.Trial edition tool then need to restart in use or Comprising advertising information etc. in tool, usage experience is bad.Also, packet catcher is required for intercepting in analog interface data After carry out data edition, overall execution process is interrupted, less efficient.And the interface of completion is not write for server-side, Tool cannot achieve carries out analog interface data to this interface.
Therefore, it is necessary to one kind can solving the problems of above-mentioned analog interface data mode, reduce client to clothes The analog interface data method of business end dependency degree.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly State the method and device of the client simulation interface data of problem.
According to an aspect of the invention, there is provided a kind of method of client simulation interface data comprising:
The address of service provided by the special services that client-side starts is provided;
By accessing address of service, corresponding service page is obtained;
The simulation trigger action for specifying server-side interface in service page is monitored, specified services end is locally preserved in client The analog interface data of interface when called for specified services end interface, return to the analog interface number that client locally preserves According to.
Optionally, method further includes:
Start the page server of client-side;Wherein, page server includes the Page Template of displaying;Page Template Including showing server-side interface list region, being editable for analog interface data area, button area;
The configuration file of service end interface is obtained from server-side;Wherein, configuration file includes service end interface, number of ports According to, service end interface whether emulation mode;
By accessing address of service, obtains corresponding service page and further comprise:
Address of service is accessed in browser side, Page Template is handed down to browser by client-side, is opened up in a browser Show corresponding service page;Service page includes:Server-side interface list, editable interface data for simulating, simulation Button and/or non-analog button;The server-side that server-side interface list records in the configuration file comprising analog service end interface Interface.
Optionally, the simulation trigger action for specifying server-side interface in service page is monitored, locally preserves and refers in client Surely the analog interface data of service end interface further comprise:
The simulation trigger action for specifying server-side interface in service page is monitored, the number of ports simulated in service page is obtained According to and specified services end interface, client locally preserve specified services end interface analog interface data, record specified services The emulation mode of end interface.
Optionally, method further includes:
The non-analog trigger action for specifying server-side interface in service page is monitored, the service specified in service page is obtained End interface records the non-analog state of specified services end interface.
Optionally, method further includes:
Before calling service end interface, the service end interface call operation is hooked up, judges to service whether end interface simulates State;
If so, the analog interface data for the service end interface that client locally preserves are obtained, to simulate completion server-side The calling of interface;
If it is not, then calling service end interface.
Optionally, method further includes:
According to the service end interface specified in service page, acquisition client is locally corresponding to service connecing for end interface return Mouth data, are shown interface data as editable interface data in service page.
According to another aspect of the present invention, a kind of device of client simulation interface data is provided comprising:
Address module is suitable for obtaining the address of service provided by the special services that client-side starts;
Access modules are suitable for, by accessing address of service, obtaining corresponding service page;
Preserving module is adapted for listening for specifying the simulation trigger action of server-side interface in service page, in client local The analog interface data for preserving specified services end interface when called for specified services end interface, return to client and locally protect The analog interface data deposited.
Optionally, device further includes:
Starting module is suitable for starting the page server of client-side;Wherein, page server includes the page of displaying Template;Page Template includes to show server-side interface list region, is editable for analog interface data area, button area Domain;
File acquisition module is suitable for obtaining the configuration file of service end interface from server-side;Wherein, configuration file includes clothes Be engaged in end interface, interface data, service end interface whether emulation mode;
Access modules are further adapted for:
Address of service is accessed in browser side, Page Template is handed down to browser by client-side, is opened up in a browser Show corresponding service page;Service page includes:Server-side interface list, editable interface data for simulating, simulation Button and/or non-analog button;The server-side that server-side interface list records in the configuration file comprising analog service end interface Interface.
Optionally, preserving module is further adapted for:
The simulation trigger action for specifying server-side interface in service page is monitored, the number of ports simulated in service page is obtained According to and specified services end interface, client locally preserve specified services end interface analog interface data, record specified services The emulation mode of end interface.
Optionally, device further includes:
Non-analog module is adapted for listening for specifying the non-analog trigger action of server-side interface in service page, obtains service The service end interface specified in the page records the non-analog state of specified services end interface.
Optionally, device further includes:
Calling module is simulated, is suitable for before calling service end interface, is hooked up the service end interface call operation, judge to take Be engaged in end interface whether emulation mode;If so, the analog interface data for the service end interface that client locally preserves are obtained, with mould The quasi- calling for completing service end interface;If it is not, then calling service end interface.
Optionally, device further includes:
Data acquisition module is suitable for, according to the service end interface specified in service page, it is locally corresponding obtaining client The interface data that end interface returns is serviced, is shown interface data as editable interface data in service page.
According to another aspect of the invention, a kind of electronic equipment is provided, including:Processor, memory, communication interface and Communication bus, processor, memory and communication interface complete mutual communication by communication bus;
Memory makes the above-mentioned client simulation of processor execution connect for storing an at least executable instruction, executable instruction The corresponding operation of method of mouth data.
In accordance with a further aspect of the present invention, a kind of computer storage media is provided, at least one is stored in storage medium Executable instruction, executable instruction make processor execute the corresponding operation of method such as above-mentioned client simulation interface data.
According to the method and device of client simulation interface data provided by the invention, the spy started by client-side is obtained The address of service that fixed service provides;By accessing address of service, corresponding service page is obtained;It monitors and specifies clothes in service page The simulation trigger action of business end interface, the analog interface data of specified services end interface are locally preserved in client, for specified When service end interface is called, the analog interface data that client locally preserves are returned.The present invention starts in client-side to be serviced, In service page analog interface data, by monitoring simulation trigger action of the service page to specified services end interface, obtain pair The analog interface data answered.Analog interface data are stored in client local, convenient when calling service end interface, Ke Yicong Client is locally directly obtained corresponding analog interface data, realizes the simulation to servicing end interface.The present invention is in client The side service of building need not build specific analog service end, reduce a large amount of artificial, cost consumption.With prior art mould Quasi- server-side interface data is compared, and execution efficiency is high.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the method for client simulation interface data according to an embodiment of the invention;
Fig. 2 shows the flow charts of the method for client simulation interface data in accordance with another embodiment of the present invention;
Fig. 3 shows service page schematic diagram;
Fig. 4 shows the functional block diagram of the device of client simulation interface data according to an embodiment of the invention;
Fig. 5 shows the functional block diagram of the device of client simulation interface data in accordance with another embodiment of the present invention;
Fig. 6 shows the structural schematic diagram of a kind of electronic equipment according to an embodiment of the invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Fig. 1 shows the flow chart of the method for client simulation interface data according to an embodiment of the invention.Such as Fig. 1 Shown, the method for client simulation interface data specifically comprises the following steps:
Step S101 obtains the address of service provided by the special services that client-side starts.
The present embodiment uses the interface data returned in client-side analog service end interface, is started by client-side specific Service, wherein special services are opened corresponding port and completed by building corresponding page server in client-side.As incited somebody to action The corresponding code copies of page server open serve port to client-side, and in client-side, can obtain special services Address of service.When different clients end side provides special services in this way, it is only necessary to by code copies to different clients end side, open clothes Business port can provide corresponding address of service, simple and convenient, and without relevant operations such as apparatus bound, gateway settings, spend The cost taken is relatively low.
Step S102 obtains corresponding service page by accessing address of service.
When accessing address of service, it can access, get pair such as by way of browser input address of service The service page answered.
Data can be edited in service page and complete analog interface data, by integrated such as json in service page The mode of the plug-in units such as editor can show interface data, and according to specific business demand, can edit connecing of being needed Mouth data.
Step S103 monitors the simulation trigger action that server-side interface is specified in service page, is locally preserved in client The analog interface data of specified services end interface when called for specified services end interface, return to what client locally preserved Analog interface data.
Service page can be monitored to the simulation trigger action of specified service end interface in client-side, obtain service page The analog interface data for the specified services end interface that face returns.Analog interface data are stored in client local, specifically, right Different service end interfaces can specify respective save location, and corresponding analog interface data are stored in client local Different location.When service end interface it is called when, can directly from the locally-available saved analog interface data of client, Facilitate and completes the called operation of analog service end interface.
According to the method for client simulation interface data provided by the invention, the special services started by client-side are obtained The address of service of offer;By accessing address of service, corresponding service page is obtained;Monitoring in service page specifies server-side to connect The simulation trigger action of mouth locally preserves the analog interface data of specified services end interface in client, for specified services end When interface is called, the analog interface data that client locally preserves are returned.The present invention starts in client-side to be serviced, and is being serviced Page analog interface data obtain corresponding mould by monitoring service page to the simulation trigger action of specified services end interface Quasi- interface data.Analog interface data are stored in client local, it is convenient when calling service end interface, it can be from client Corresponding analog interface data are locally directly obtained, realize the simulation to servicing end interface.The present invention is built in client-side Service, need not build specific analog service end, reduce a large amount of artificial, cost consumption.With prior art analog service End interface data are compared, and execution efficiency is high.
Fig. 2 shows the flow charts of the method for client simulation interface data in accordance with another embodiment of the present invention.Such as Shown in Fig. 2, the method for client simulation interface data specifically comprises the following steps:
Step S201 starts the Web Server servers of client-side.
Start the Web Server servers (hereinafter referred to as page server) of client-side installation, monitors to page server The access request of the access address of offer.Client-side can provide corresponding special services.Wherein, page server, which removes, includes Special services start outside required Web service, can also include to the Page Template of such as browser-presented.Page Template can be with It is handed down to each front end such as browser etc. for accessing address of service, each front end is allow to show corresponding service page.Page Template Including showing server-side interface list region, being editable for analog interface data area, button area etc..Service end interface List area can show each interface of server-side, alternatively, the description informations such as the function of interface can also further be shown.It can compile That collects can show that interface data, user can in this region compile interface data for analog interface data area Volume, corresponding interface data is edited according to different requirements, to complete the simulation of the service end interface to calling.The region It can be defined by data place holder mode, when actually showing service page, be replaced using specific interface data It changes.Analog buttons and non-analog button can be arranged in button area, according to demand simulate service end interface, or release mould Intend.
Step S202 obtains the configuration file of service end interface from server-side.
After the page server for starting client-side, the configuration file of service end interface can be obtained from server-side.Configuration Include service end interface, server-side interface list corresponding with the server-side interface list region in Page Template in file Service end interface in the service end interface i.e. configuration file that region includes.Can be listed in configuration file need to be to be simulated each A service end interface, each service end interface can be the interface for having write completion, or not write the interface of completion. To not writing the service end interface of completion, it is only necessary in configuration file addition service end interface, the present embodiment can to its into The simulation of line interface data so that joint debugging test calls the operations such as service end interface can not be by service end interface schedule Influence, reduce dependence to server-side, save and service end interface is waited for complete the time it takes.
Configuration file in addition to comprising service end interface, further comprise interface data, service end interface whether emulation mode etc.. Specifically, the interface data of service page can be provided according to interface data in configuration file;According to service end interface whether mould The emulation mode etc. of corresponding with service end interface is arranged in service page in quasi- state.
The configuration file of server-side can pre-set service end interface according to server-side concrete condition by user, The unfinished interface of server-side can also be added according to user demand.Different clients obtain clothes after starting page server The configuration file of each client is handed down at business end, and each client is stored in client local.Alternatively, after obtaining failure, it can To use the configuration file of the local preconfigured acquiescence of each client;Alternatively, this step can not be executed, each visitor is directly used The configuration file of the preconfigured acquiescence in family end.
Step S203 obtains the address of service provided by the special services that client-side starts.
The description of the step step S101 referring to Fig.1, details are not described herein.
Step S204 accesses address of service in browser side, Page Template is handed down to browser by client-side, clear It lookes in device and shows corresponding service page.
When browser side input address of service accesses, Page Template can be handed down to browser, root by client-side According to the service end interface, interface data, service end interface for including in configuration file whether emulation mode etc., to phase in Page Template The content in region is answered to be replaced, to show corresponding service page in a browser.
Service page is as shown in figure 3, it comprises server-side interface list, one by one with the service end interface in configuration file It is corresponding, it is shown that multiple service end interfaces.Service page further comprises editable interface data for simulating, interface data It can obtain from configuration file, according to the specified service end interface of user's selection in service page, be searched from configuration file Corresponding service end interface obtains interface data;It, can also be according to service page if there is no corresponding interface data in configuration file The service end interface specified in face obtains the client interface data that locally corresponding service end interface returns.Wherein, client Local interface data can call the true interface data that service end interface returns by client before local, can also The interface data that should be returned for the corresponding service end interface that user is locally located in client in advance.Getting interface data Afterwards, it is shown the interface data got as editable interface data in service page.When in configuration file and visitor (if service end interface is not complete interface, without corresponding interface data when family end does not get interface data;Or Person's configuration file and client locally do not record any interface data;Or obtain failure), it is editable for simulating Interface data is sky, i.e., blank is shown in service page, by user according to demand from edlin.It is used for mould for editable Quasi- interface data, user can in service page edition interface data, including to data value, data structure, data type Deng into edlin, the interface data of simulation can be made to cover a variety of different test cases.Wherein, specified services end interface is to use The service end interface chosen such as clicking operation that family is carried out in service page, when service page initializes, specified services end Interface could be provided as first service end interface in the server-side interface list that service page is shown.Service page also includes Analog buttons and/or non-analog button.The corresponding emulation mode that specified services end interface can be set of analog buttons, non-mould The non-analog state of quasi- button setting specified services end interface.It, can also be such as Fig. 3 when specified services end interface is emulation mode It is shown, the mark of emulation mode is carried out to specified services end interface.Analog buttons and non-analog button can be shown in clothes together Be engaged in the page in, can also according to specified services end interface, whether emulation mode is shown accordingly, such as specified services end interface For emulation mode, analog buttons and non-analog button are shown;Specified services end interface is non-analog state, can only show simulation Button.Wherein, the emulation mode at specified services end or non-analog state according to specified in configuration file server-side interface whether mould Quasi- state is learnt.Above description and service page shown in Fig. 3 by way of example only, specifically show pattern, region setting, Situations such as word, mark, is arranged according to performance, does not limit herein.
Further, the browser in the present embodiment can use the browser program that various device ends are installed, herein not Device end and browser program version, type etc. are defined.
Step S205 monitors the simulation trigger action for specifying server-side interface in service page, obtains mould in service page Quasi- interface data and specified services end interface locally preserves the analog interface data of specified services end interface, note in client Record the emulation mode of specified services end interface.
User can need service end interface to be simulated service page is specified, and it is corresponding to edit in service page its After interface data, analogue-key is clicked, service page will send the mould by ajax in a manner of list to client-side at this time Intend the corresponding request of button, includes specified service end interface and the json formatted datas (number of ports of simulation in form data According to), after client-side listens to simulation trigger action of the user to specifying server-side interface in service page, parsing is serviced The interface data and specified services end interface for the specified service end interface simulated in the page, the interface data of simulation is made For specified services end interface return interface data, and client locally preserve specified services end interface analog interface number According to, meanwhile, the emulation mode of specified services end interface is recorded, conveniently in the service end interface that subsequent calls are specified, according to mould Quasi- state, obtains the interface data for the simulation that client locally preserves.The emulation mode of record specified services end interface can lead to Crossing specified server-side interface in the configuration file that modification client locally preserves, whether emulation mode is completed.
Step S206 monitors the non-analog trigger action for specifying server-side interface in service page, obtains in service page Specified service end interface records the non-analog state of specified services end interface.
If user wants to release the emulation mode of specified services end interface, can be in service page to specified services end interface Non-simulation operations is carried out, non-analog button is such as clicked.At this time service page by a manner of list by ajax to client-side It sends the corresponding request of the non-analog button, user is listened to comprising specified service end interface, client-side in form data After non-analog trigger action to specifying server-side interface in service page, the service end interface specified in service page is obtained, The non-analog state of specified services end interface is recorded, it is convenient in subsequent calls specified services end interface, according to non-analog state, Directly invoke corresponding service end interface.The non-analog state for recording specified services end interface can be local by changing client Server-side interface is specified in the configuration file of preservation, and whether emulation mode is completed.
Step S205 and step S206 is according to the simulation trigger action for specifying server-side interface in the service page listened to Or non-analog trigger action, corresponding step is executed, the restriction of sequencing is not carried out.
Step S207 hooks up the service end interface call operation before calling service end interface, judges to service end interface Whether emulation mode.
Client-side also adds the hook operations to calling server-side interface in addition to being mounted with page server.It is corresponding , before it calls each service end interface, hook operations can hook up the service end interface call operation, first judge service End interface whether emulation mode.When judgement, can according in the configuration file that client locally preserves service end interface whether mould Quasi- state is judged.If service end interface is emulation mode, step S208 is executed, otherwise, executes step S209.
Step S208 obtains the analog interface data for the service end interface that client locally preserves, service is completed with simulation The calling of end interface.
Service end interface is emulation mode, then directly acquires the analog interface for the service end interface that client locally preserves Data complete the calling to servicing end interface to simulation.
Step S209 calls service end interface.
Service end interface is non-analog state, then directly invokes service end interface, accesses server-side, obtains service end interface Interface data.
According to the method for client simulation interface data provided by the invention, page server is installed in client-side, is carried For displaying Page Template.Page server can be realized by simple front-end code.Start the corresponding spy of page server Fixed service, the address of service that access client side special services provide, according to the Page Template and interface data issued, number of ports After carrying out data fusion with Page Template, the service page of front end displaying is obtained.It can be to each service in service page The interface data that end interface returns is simulated, and preserves the interface data of simulation to client local, and record service end interface Emulation mode.Before calling service end interface, the service end interface call operation is hooked up, judges the simulation for servicing end interface State, and then from the locally-available corresponding analog interface data of client, complete to call the simulation for servicing end interface.Entire mistake Journey can be realized easily, multiple operations such as apparatus bound, gateway setting need not be carried out in simulation as the prior art, and not Multiple person cooperational is needed, realizes lightweight analogy method.It, can meanwhile present invention additionally contemplates that the unfinished situation of service end interface To realize that the interface data to unfinished service end interface is simulated, the dependence to server-side is greatly reduced, is saved It needs to wait for service end interface and completes the time it takes.
Fig. 4 shows the functional block diagram of the device of client simulation interface data according to an embodiment of the invention.Such as Shown in Fig. 4, the device of client simulation interface data includes following module:
Address module 410 is suitable for obtaining the address of service provided by the special services that client-side starts.
The present embodiment uses the interface data returned in client-side analog service end interface, is started by client-side specific Service, wherein special services are opened corresponding port and completed by building corresponding page server in client-side.As incited somebody to action The corresponding code copies of page server open serve port to client-side, and in client-side, and address module 410 can obtain To the address of service of special services.When different clients end side provides special services in this way, it is only necessary to by code copies to different clients End side, corresponding address of service can be provided by opening serve port, simple and convenient, and without phases such as apparatus bound, gateway settings Operation is closed, the cost spent is relatively low.
Access modules 420 are suitable for, by accessing address of service, obtaining corresponding service page.
When access modules 420 access address of service, it can be visited such as in such a way that browser inputs address of service It asks, gets corresponding service page.
Data can be edited in service page and complete analog interface data, by integrated such as json in service page The mode of the plug-in units such as editor can show interface data, and according to specific business demand, can edit connecing of being needed Mouth data.
Preserving module 430 is adapted for listening for specifying the simulation trigger action of server-side interface in service page, in client sheet Ground preserves the analog interface data of specified services end interface, and when called for specified services end interface, it is local to return to client The analog interface data of preservation.
Preserving module 430 can monitor service page in client-side and trigger behaviour to the simulation of specified service end interface Make, obtains the analog interface data of the specified services end interface of service page return.Preserving module 430 protects analog interface data There are client locals, specifically, preserving module 430 can specify respective save location to different service end interfaces, it will Corresponding analog interface data are stored in the different location of client local.When service end interface it is called when, can directly from The saved analog interface data of the locally-available preserving module 430 of client facilitate completion analog service end interface called Operation.
According to the device of client simulation interface data provided by the invention, the special services started by client-side are obtained The address of service of offer;By accessing address of service, corresponding service page is obtained;Monitoring in service page specifies server-side to connect The simulation trigger action of mouth locally preserves the analog interface data of specified services end interface in client, for specified services end When interface is called, the analog interface data that client locally preserves are returned.The present invention starts in client-side to be serviced, and is being serviced Page analog interface data obtain corresponding mould by monitoring service page to the simulation trigger action of specified services end interface Quasi- interface data.Analog interface data are stored in client local, it is convenient when calling service end interface, it can be from client Corresponding analog interface data are locally directly obtained, realize the simulation to servicing end interface.The present invention is built in client-side Service, need not build specific analog service end, reduce a large amount of artificial, cost consumption.With prior art analog service End interface data are compared, and execution efficiency is high.
Fig. 5 shows the functional block diagram of the device of client simulation interface data in accordance with another embodiment of the present invention. As shown in figure 5, compared with Fig. 4, the device of client simulation interface data further includes following module:
Starting module 440 is suitable for starting the Web Server servers of client-side.
Starting module 440 is monitored in client terminal start-up Web Server servers (hereinafter referred to as page server) to the page The access request for the access address that server provides.After starting page server, client-side can provide starting module 440 Corresponding special services.Wherein, page server can also include giving in addition to the Web service needed for starting including special services Such as the Page Template of browser-presented.Page Template can be handed down to each front end such as browser etc. for accessing address of service, make Each front end can show corresponding service page.Page Template includes display server-side interface list region, editable is used for Analog interface data area, button area etc..Server-side interface list region can show each interface of server-side, alternatively, also It can further show the description informations such as the function of interface.It is editable to show number of ports for analog interface data area According to, user can edit corresponding interface data according to different requirements, in this region to interface data into edlin, with Just the simulation of the service end interface to calling is completed.The region can be defined by data place holder mode, in practical exhibition When showing service page, it is replaced using specific interface data.Analog buttons and non-analog button can be arranged in button area, Service end interface is simulated, or releases simulation according to demand etc..
File acquisition module 450 is suitable for obtaining the configuration file of service end interface from server-side.
After the page server for starting client-side, file acquisition module 450 can obtain service end interface from server-side Configuration file.It is corresponding with the server-side interface list region in Page Template comprising service end interface in configuration file, Service end interface in the service end interface i.e. configuration file that server-side interface list region includes.It can be arranged in configuration file Going out needs each service end interface to be simulated, and each service end interface can be the interface for having write completion, or not Write the interface of completion.To not writing the service end interface of completion, it is only necessary to addition service end interface, this implementation in configuration file Example can carry out the simulation of interface data to it so that joint debugging test calls the operations such as service end interface that can not be serviced The influence of end interface schedule reduces the dependence to server-side, saves and service end interface is waited for complete the time it takes.
Configuration file in addition to comprising service end interface, further comprise interface data, service end interface whether emulation mode etc.. Specifically, the interface data of service page can be provided according to interface data in configuration file;According to service end interface whether mould The emulation mode etc. of corresponding with service end interface is arranged in service page in quasi- state.
The configuration file of server-side can pre-set service end interface according to server-side concrete condition by user, The unfinished interface of server-side can also be added according to user demand.Different clients obtain clothes after starting page server The configuration file of each client is handed down at business end, and each client is stored in client local.Alternatively, after obtaining failure, it can To use the configuration file of the local preconfigured acquiescence of each client;Alternatively, this module can not be executed, each visitor is directly used The configuration file of the preconfigured acquiescence in family end.
Access modules 420 are further adapted for accessing address of service in browser side, are issued Page Template by client-side To browser, corresponding service page is shown in a browser.
When browser side input address of service accesses, client-side can issue Page Template access modules 420 To browser, according to the service end interface, interface data, service end interface for including in configuration file whether emulation mode etc., it is right The content of corresponding region is replaced in Page Template, to show corresponding service page in a browser.
Service page is as shown in figure 3, it comprises server-side interface list, one by one with the service end interface in configuration file It is corresponding, it is shown that multiple service end interfaces.Service page further comprises editable interface data for simulating, interface data It can obtain from configuration file, according to the specified service end interface of user's selection in service page, be searched from configuration file Corresponding service end interface obtains interface data.
Further, the present apparatus further comprises data acquisition module 460, if suitable for not having corresponding number of ports in configuration file According to data acquisition module 460 can also obtain client locally corresponding clothes according to the service end interface specified in service page The interface data that business end interface returns.Wherein, the interface data of client local can be to call service before client is local The true interface data that end interface is returned, or the corresponding service termination that user is locally located in client in advance The interface data that mouth should return.After getting interface data, access modules 420 connect data acquisition module 460 by what is got Mouth data are shown as editable interface data in service page.It is not obtained locally when in configuration file and client (if service end interface is not complete interface, without corresponding interface data when getting interface data;Or configuration file and client End is local not to record any interface data;Or obtain failure), editable interface data for simulating is sky, i.e., Access modules 420 show blank in service page, by user according to demand from edlin.For editable for simulating Interface data, user can in service page edition interface data, including to data value, data structure, data type etc. into Edlin can make the interface data of simulation cover a variety of different test cases.Wherein, specified services end interface is that user exists The service end interface chosen such as clicking operation that service page carries out, when service page initializes, specified services end interface It could be provided as first service end interface in the server-side interface list that service page is shown.Service page further comprises mould Quasi- button and/or non-analog button.The corresponding emulation mode that specified services end interface can be set of analog buttons, it is non-analog to press The non-analog state of specified services end interface is arranged in button.It, can also be such as Fig. 3 institutes when specified services end interface is emulation mode Show, the mark of emulation mode is carried out to specified services end interface.Analog buttons and non-analog button can be shown in service together In the page, can also according to specified services end interface, whether emulation mode is shown accordingly, as specified services end interface is Emulation mode shows analog buttons and non-analog button;Specified services end interface is non-analog state, can only show that simulation is pressed Button.Wherein, the emulation mode at specified services end or non-analog state specify whether server-side interface simulates according in configuration file State is learnt.Above description and service page shown in Fig. 3 by way of example only, specifically show pattern, region setting, text Situations such as word, mark, is arranged according to performance, does not limit herein.
Further, the browser in the present embodiment can use the browser program that various device ends are installed, herein not Device end and browser program version, type etc. are defined.
Preserving module 430 is further adapted for monitoring the simulation trigger action that server-side interface is specified in service page, obtains The interface data and specified services end interface simulated in service page locally preserve the mould of specified services end interface in client Quasi- interface data, records the emulation mode of specified services end interface.
User can need service end interface to be simulated service page is specified, and it is corresponding to edit in service page its After interface data, analogue-key is clicked, service page will send the mould by ajax in a manner of list to client-side at this time Intend the corresponding request of button, includes specified service end interface and the json formatted datas (number of ports of simulation in form data According to), after specifying the simulation trigger action of server-side interface in preserving module 430 listens to user to service page, parse To the interface data and specified services end interface of the specified service end interface simulated in service page, by the interface of simulation The interface data that data are returned as specified services end interface, and connect in the simulation of client local preservation specified services end interface Mouth data, meanwhile, preserving module 430 records the emulation mode of specified services end interface, the convenient service specified in subsequent calls When end interface, according to emulation mode, the interface data for the simulation that client locally preserves is obtained.Record specified services end interface Emulation mode can whether emulation mode be completed by changing specified server-side interface in the configuration file that client locally preserves.
Non-analog module 470 is adapted for listening for specifying the non-analog trigger action of server-side interface in service page, obtains clothes The service end interface specified in the business page, records the non-analog state of specified services end interface.
If user wants to release the emulation mode of specified services end interface, can be in service page to specified services end interface Non-simulation operations is carried out, non-analog button is such as clicked.At this time service page by a manner of list by ajax to client-side The corresponding request of the non-analog button is sent, comprising specified service end interface in form data, when non-analog module 470 is monitored After non-analog trigger action to user to specifying server-side interface in service page, the server-side specified in service page is obtained Interface records the non-analog state of specified services end interface, convenient in subsequent calls specified services end interface, according to non-analog State directly invokes corresponding service end interface.The non-analog state for recording specified services end interface can be by changing client Hold in the configuration file locally preserved specified server-side interface whether complete by emulation mode.
Calling module 480 is simulated, is suitable for before calling service end interface, is hooked up the service end interface call operation, sentence Disconnected service end interface whether emulation mode;If so, obtaining the analog interface for the specified services end interface that client locally preserves Data complete the calling of service end interface with simulation;If it is not, then calling service end interface.
Client-side also adds the hook operations to calling server-side interface in addition to being mounted with page server.It is corresponding , before it calls each service end interface, simulation calling module 480 can utilize hook operations to hook up the service end interface Call operation, judge service end interface whether emulation mode.It, can be according to client local when simulation calling module 480 judges End interface is serviced in the configuration file of preservation, and whether emulation mode is judged.If service end interface is emulation mode, directly The analog interface data for obtaining the service end interface that client locally preserves complete the tune to servicing end interface to simulation With.Otherwise, service end interface is directly invoked, server-side is accessed, obtains the interface data of service end interface.
According to the device of client simulation interface data provided by the invention, page server is installed in client-side, is carried For displaying Page Template.Page server can be realized by simple front-end code.Start the corresponding spy of page server Fixed service, the address of service that access client side special services provide, according to the Page Template and interface data issued, number of ports After carrying out data fusion with Page Template, the service page of front end displaying is obtained.It can be to each service in service page The interface data that end interface returns is simulated, and preserves the interface data of simulation to client local, and record service end interface Emulation mode.Before calling service end interface, the service end interface call operation is hooked up, judges the simulation for servicing end interface State, and then from the locally-available corresponding analog interface data of client, complete to call the simulation for servicing end interface.Entire mistake Journey can be realized easily, multiple operations such as apparatus bound, gateway setting need not be carried out in simulation as the prior art, and not Multiple person cooperational is needed, realizes lightweight analogy method.It, can meanwhile present invention additionally contemplates that the unfinished situation of service end interface To realize that the interface data to unfinished service end interface is simulated, the dependence to server-side is greatly reduced, is saved It needs to wait for service end interface and completes the time it takes.
Present invention also provides a kind of nonvolatile computer storage media, the computer storage media is stored at least One executable instruction, the computer executable instructions can perform the client simulation interface data in above-mentioned any means embodiment Method.
Fig. 6 shows that the structural schematic diagram of a kind of electronic equipment according to an embodiment of the invention, the present invention are specifically real Example is applied not limit the specific implementation of electronic equipment.
As shown in fig. 6, the electronic equipment may include:Processor (processor) 602, communication interface (Communications Interface) 604, memory (memory) 606 and communication bus 608.
Wherein:
Processor 602, communication interface 604 and memory 606 complete mutual communication by communication bus 608.
Communication interface 604, for being communicated with the network element of miscellaneous equipment such as client or other servers etc..
Processor 602, for executing program 610, the method that can specifically execute above-mentioned client simulation interface data is real Apply the correlation step in example.
Specifically, program 610 may include program code, which includes computer-managed instruction.
Processor 602 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that electronic equipment includes can be same type of processor, such as one or more CPU;Also may be used To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 606, for storing program 610.Memory 606 may include high-speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 610 specifically can be used for so that processor 602 executes the client simulation in above-mentioned any means embodiment The method of interface data.The specific implementation of each step may refer to the implementation of above-mentioned client simulation interface data in program 610 Corresponding description in corresponding steps and unit in example, this will not be repeated here.Those skilled in the art can be understood that It arrives, for convenience and simplicity of description, the equipment of foregoing description and the specific work process of module, preceding method can be referred to and implemented Corresponding process description in example, details are not described herein.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) realize the dress of client simulation interface data according to the ... of the embodiment of the present invention The some or all functions of some or all components in setting.The present invention is also implemented as described here for executing Method some or all equipment or program of device (for example, computer program and computer program product).This The program of the realization present invention of sample can may be stored on the computer-readable medium, or can be with one or more signal Form.Such signal can be downloaded from internet website and be obtained, and either be provided on carrier signal or with any other Form provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of method of client simulation interface data comprising:
The address of service provided by the special services that client-side starts is provided;
By accessing the address of service, corresponding service page is obtained;
The simulation trigger action for specifying server-side interface in the service page is monitored, the specified clothes are locally preserved in client The analog interface data of business end interface when called for the specified services end interface, return to the client and locally preserve Analog interface data.
2. according to the method described in claim 1, wherein, the method further includes:
Start the page server of client-side;Wherein, the page server includes the Page Template of displaying;The page Template includes to show server-side interface list region, is editable for analog interface data area, button area;
The configuration file of service end interface is obtained from server-side;Wherein, the configuration file includes service end interface, number of ports According to, service end interface whether emulation mode;
It is described by accessing the address of service, obtain corresponding service page and further comprise:
The address of service is accessed in browser side, the Page Template is handed down to browser by client-side, in browser It is middle to show corresponding service page;The service page includes:Server-side interface list, editable number of ports for simulating According to, analog buttons and/or non-analog button;The server-side interface list includes the configuration file of the analog service end interface The service end interface of middle record.
3. method according to claim 1 or 2, wherein described monitor specifies server-side interface in the service page Trigger action is simulated, the analog interface data that the specified services end interface is locally preserved in client further comprise:
The simulation trigger action for specifying server-side interface in the service page is monitored, the number of ports simulated in service page is obtained According to and the specified services end interface, the analog interface data of the specified services end interface, record are locally preserved in client The emulation mode of the specified services end interface.
4. method according to claim 1 or 2, wherein the method further includes:
The non-analog trigger action for specifying server-side interface in the service page is monitored, the service specified in service page is obtained End interface records the non-analog state of the specified services end interface.
5. method according to claim 3 or 4, wherein the method further includes:
Before calling service end interface, the service end interface call operation is hooked up, judges whether the service end interface simulates State;
If so, obtaining the analog interface data for the service end interface that client locally preserves, service end interface is completed with simulation Calling;
If it is not, then calling service end interface.
6. method according to claim 1 or 2, wherein the method further includes:
According in service page specify service end interface, obtain client locally it is corresponding it is described service end interface return connect Mouth data, are shown the interface data as editable interface data in service page.
7. a kind of device of client simulation interface data comprising:
Address module is suitable for obtaining the address of service provided by the special services that client-side starts;
Access modules are suitable for, by accessing the address of service, obtaining corresponding service page;
Preserving module is adapted for listening for specifying the simulation trigger action of server-side interface in the service page, in client local The analog interface data for preserving the specified services end interface, when called for the specified services end interface, described in return The analog interface data that client locally preserves.
8. device according to claim 7, wherein described device further includes:
Starting module is suitable for starting the page server of client-side;Wherein, the page server includes the page of displaying Template;The Page Template includes to show server-side interface list region, is editable for analog interface data area, button Region;
File acquisition module is suitable for obtaining the configuration file of service end interface from server-side;Wherein, the configuration file includes clothes Be engaged in end interface, interface data, service end interface whether emulation mode;
The access modules are further adapted for:
The address of service is accessed in browser side, the Page Template is handed down to browser by client-side, in browser It is middle to show corresponding service page;The service page includes:Server-side interface list, editable number of ports for simulating According to, analog buttons and/or non-analog button;The server-side interface list includes the configuration file of the analog service end interface The service end interface of middle record.
9. a kind of electronic equipment, including:Processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of method of the client simulation interface data described in any one of 1-6.
10. a kind of computer storage media, an at least executable instruction, the executable instruction are stored in the storage medium Make the corresponding operation of method of client simulation interface data of the processor execution as described in any one of claim 1-6.
CN201810234866.7A 2018-03-21 2018-03-21 Method and device for simulating interface data by client Active CN108600311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810234866.7A CN108600311B (en) 2018-03-21 2018-03-21 Method and device for simulating interface data by client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810234866.7A CN108600311B (en) 2018-03-21 2018-03-21 Method and device for simulating interface data by client

Publications (2)

Publication Number Publication Date
CN108600311A true CN108600311A (en) 2018-09-28
CN108600311B CN108600311B (en) 2020-08-04

Family

ID=63627059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810234866.7A Active CN108600311B (en) 2018-03-21 2018-03-21 Method and device for simulating interface data by client

Country Status (1)

Country Link
CN (1) CN108600311B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829124A (en) * 2018-12-28 2019-05-31 浙江口碑网络技术有限公司 A kind of display methods and its device of client side list page
CN110489101A (en) * 2019-07-15 2019-11-22 北京字节跳动网络技术有限公司 Interface analogy method, system, medium and electronic equipment
CN110889073A (en) * 2019-11-21 2020-03-17 掌阅科技股份有限公司 Page request response method, server and computer storage medium
CN111124924A (en) * 2019-12-25 2020-05-08 五八同城信息技术有限公司 API (application program interface) deployment method and device, electronic equipment and storage medium
CN111953775A (en) * 2020-08-12 2020-11-17 吉林亿联银行股份有限公司 Data transmission method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010661A1 (en) * 2003-07-08 2005-01-13 Southam Blaine R. Systems and methods for testing network services
CN104199725A (en) * 2014-09-27 2014-12-10 上海瀚之友信息技术服务有限公司 Service interface data simulation method and system
CN106055383A (en) * 2016-05-26 2016-10-26 北京京东尚科信息技术有限公司 Request processing method and device
CN106598575A (en) * 2016-11-30 2017-04-26 武汉斗鱼网络科技有限公司 Front-end data simulation implementation method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010661A1 (en) * 2003-07-08 2005-01-13 Southam Blaine R. Systems and methods for testing network services
CN104199725A (en) * 2014-09-27 2014-12-10 上海瀚之友信息技术服务有限公司 Service interface data simulation method and system
CN106055383A (en) * 2016-05-26 2016-10-26 北京京东尚科信息技术有限公司 Request processing method and device
CN106598575A (en) * 2016-11-30 2017-04-26 武汉斗鱼网络科技有限公司 Front-end data simulation implementation method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829124A (en) * 2018-12-28 2019-05-31 浙江口碑网络技术有限公司 A kind of display methods and its device of client side list page
CN109829124B (en) * 2018-12-28 2021-09-21 浙江口碑网络技术有限公司 Display method and device for list page of client
CN110489101A (en) * 2019-07-15 2019-11-22 北京字节跳动网络技术有限公司 Interface analogy method, system, medium and electronic equipment
CN110489101B (en) * 2019-07-15 2023-08-25 北京字节跳动网络技术有限公司 Interface simulation method, system, medium and electronic equipment
CN110889073A (en) * 2019-11-21 2020-03-17 掌阅科技股份有限公司 Page request response method, server and computer storage medium
CN110889073B (en) * 2019-11-21 2024-01-12 掌阅科技股份有限公司 Page request response method, server and computer storage medium
CN111124924A (en) * 2019-12-25 2020-05-08 五八同城信息技术有限公司 API (application program interface) deployment method and device, electronic equipment and storage medium
CN111953775A (en) * 2020-08-12 2020-11-17 吉林亿联银行股份有限公司 Data transmission method and device

Also Published As

Publication number Publication date
CN108600311B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN108600311A (en) The method and device of client simulation interface data
US11269660B2 (en) Methods and systems for integrated development environment editor support with a single code base
US8954922B2 (en) Service emulator substituting for backend components to satisfy needs of front end components
CN110532169A (en) Interface testing case generation method, device, computer equipment and storage medium
CN107066631A (en) Display methods, device and the electronic equipment of the page
CN112270149B (en) Verification platform automatic integration method and system, electronic equipment and storage medium
CN109614157A (en) A kind of configuration method of system, device and storage medium
CN104679532B (en) kernel module loading method and device
CN108170612A (en) A kind of automated testing method, device and server
CN108509212A (en) Application program update test method, device, terminal device and storage medium
CN104008041B (en) Terminal applies test method and device
CN109885355A (en) A kind of application starting method and relevant apparatus
CN107729246A (en) For the auxiliary test methods of intended application, device, equipment and storage medium
CN107291759A (en) The treating method and apparatus of browser page resource
CN107153529A (en) A kind of embedded software development method, device and platform
CN108280174A (en) Front end file construction method and server, page access method and terminal
CN109947985A (en) Applied to the Processing with Neural Network method and device in on-line system
CN109739704A (en) A kind of interface test method, server-side and computer readable storage medium
CN110795697A (en) Logic expression obtaining method and device, storage medium and electronic device
CN110196809A (en) Interface test method and device
CN108829588A (en) A kind of processing method of test application program, deployment system and device
CN110297771A (en) Distributed test method and device for the warehouse receipt page
CN111400179A (en) Method and device for terminal application program interaction, computer equipment and storage medium
CN105095072B (en) Application testing method and device and terminal
CN104679648A (en) Cross-application automatic testing method

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