CN107436844A - A kind of generation method and device of interface use-case intersection - Google Patents

A kind of generation method and device of interface use-case intersection Download PDF

Info

Publication number
CN107436844A
CN107436844A CN201710550780.0A CN201710550780A CN107436844A CN 107436844 A CN107436844 A CN 107436844A CN 201710550780 A CN201710550780 A CN 201710550780A CN 107436844 A CN107436844 A CN 107436844A
Authority
CN
China
Prior art keywords
interface
daily record
interface requests
object run
terminal
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
CN201710550780.0A
Other languages
Chinese (zh)
Other versions
CN107436844B (en
Inventor
郭海超
高国政
荣震
李强
高强
姚俊晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qianxin Technology Co Ltd
Original Assignee
Beijing Qianxin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qianxin Technology Co Ltd filed Critical Beijing Qianxin Technology Co Ltd
Priority to CN201710550780.0A priority Critical patent/CN107436844B/en
Publication of CN107436844A publication Critical patent/CN107436844A/en
Application granted granted Critical
Publication of CN107436844B publication Critical patent/CN107436844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a kind of generation method and device of interface use-case intersection.This method includes:Receive the object run of user's triggering;Interface requests corresponding with the object run are sent to server;The interface requests daily record that the reception server is sent;The interface requests daily record is parsed, obtains the calling order of multiple interfaces corresponding with the object run and each interface;The calling of multiple interfaces and each interface according to corresponding to the object run is sequentially generated interface use-case intersection.The object run that the embodiment of the present invention is triggered by receiving user under real scene, the interface requests daily record returned to server carries out the calling order that parsing obtains multiple interfaces corresponding with object run and each interface, and then automatically generate interface use-case intersection, the formation efficiency of interface use-case intersection is improved, manual write is avoided and the defects of interface omits build-up of pressure test result inaccuracy easily occurs.

Description

A kind of generation method and device of interface use-case intersection
Technical field
The present invention relates to field of computer technology, and in particular to a kind of generation method and device of interface use-case intersection.
Background technology
With the continuous development of computer technology, application program is more and more, the interface developed in each application program More and more, each application program is carried out data transmission by corresponding interface.For interface newly developed, it is necessary to enter line interface survey Try so as to verify whether interface newly developed is correct, whether operation is stable and treatment mechanism to abnormal data.In order to ensure The normal operation of server, it is also necessary to pressure test is carried out to application program, the user that test application program can be born accesses Amount.
Connect in the degree of coupling higher combined interface test and pressure test, it is necessary to be write according to different application scenarios Mouth use-case intersection, include the transmission order of interface requests corresponding to multiple interfaces and each interface in interface use-case intersection.
, it is necessary to be write manually by the execution logic for analyzing application program in the generation method of existing interface use-case intersection , it is necessary to which author is familiar with, which interface is application program have invoked to interface use-case intersection under specific application scenarios and calling connects The order of mouth.The method needs that prior art writes interface use-case intersection manually take a substantial amount of time, efficiency is low, and compile manually Write easily and interface omission build-up of pressure test result inaccuracy occur.
The content of the invention
The embodiment of the present invention provides a kind of generation method and device of interface use-case intersection, is used for solving existing interface Example intersection generation method efficiency it is low, easily cause the problem of pressure testing results inaccuracy.
The embodiments of the invention provide a kind of generation method of interface use-case intersection, including:
Receive the object run of user's triggering;
Interface requests corresponding with the object run are sent to server;
The interface requests daily record that the reception server is sent;
The interface requests daily record is parsed, obtains multiple interfaces corresponding with the object run and each interface Calling order;
The calling of multiple interfaces and each interface according to corresponding to the object run is sequentially generated interface use-case intersection.
Alternatively, the interface requests daily record includes the interface requests daily record of each terminal.
Alternatively, the interface requests daily record is parsed, including:
The interface for obtaining described terminal from the interface requests daily record of each terminal according to the mark of this terminal please Ask daily record.
Alternatively, methods described also includes:
Obtain and interaction time section of the server under the object run;
Correspondingly, the interface requests daily record is parsed, including:
The interface requests daily record is solved according to the interaction time section with server under the object run Analysis.
The embodiment of the present invention provides a kind of generation method of interface use-case intersection, including:
The interface requests corresponding with the object run that receiving terminal is sent;
Interface requests daily record corresponding with the object run is generated according to the interface requests;
To the terminal transmission interface Request Log, so that the terminal generates interface use-case intersection.
Alternatively, to the terminal transmission interface Request Log, including:
According to the mark of the terminal to the terminal transmission interface Request Log.
Alternatively, before the interface requests corresponding with the object run that receiving terminal is sent, methods described is also wrapped Include:
Open interface requests log services.
The embodiment of the present invention provides a kind of generating means of interface use-case intersection, including:
Object run receiving unit, for receiving the object run of user's triggering;
Interface requests transmitting element, for sending interface requests corresponding with the object run to server;
Interface requests daily record receiving unit, the interface requests daily record sent for the reception server;
Interface requests daily record resolution unit, for being parsed to the interface requests daily record, obtain and grasped with the target The calling of multiple interfaces and each interface order corresponding to work;
Interface use-case intersection generation unit, for the tune of multiple interfaces and each interface according to corresponding to the object run With being sequentially generated interface use-case intersection.
Alternatively, the interface requests daily record includes the interface requests daily record of each terminal.
Alternatively, the interface requests daily record resolution unit is further used for:
The interface for obtaining described terminal from the interface requests daily record of each terminal according to the mark of this terminal please Ask daily record.
Alternatively, in addition to:
Interaction time section acquiring unit, for obtaining and interaction time section of the server under the object run;
Correspondingly, the interface requests daily record resolution unit is further used for:
The interface requests daily record is solved according to the interaction time section with server under the object run Analysis.
The embodiment of the present invention provides a kind of generating means of interface use-case intersection, including:
Interface requests receiving unit, the interface requests corresponding with the object run sent for receiving terminal;
Interface requests daily record generation unit, for generating interface corresponding with the object run according to the interface requests Request Log;
Interface requests daily record transmitting element, for the terminal transmission interface Request Log, so that the terminal generates Interface use-case intersection.
Alternatively, the interface requests daily record transmitting element is further used for:
According to the mark of the terminal to the terminal transmission interface Request Log.
Alternatively, in addition to:
Interface requests log services opening unit, for opening interface requests log services.
The embodiment of the present invention provides a kind of electronic equipment, including:Processor, memory and bus;Wherein,
Processor and memory complete mutual communication by bus;
Processor is used to call the programmed instruction in memory, to perform the generation method of above-mentioned interface use-case intersection.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage Medium storing computer instructs, and the computer instruction makes the generation side of the above-mentioned interface use-case intersection of the computer execution Method.
The embodiment of the present invention provides a kind of electronic equipment, including:Processor, memory and bus;Wherein,
Processor and memory complete mutual communication by bus;
Processor is used to call the programmed instruction in memory, to perform the generation method of above-mentioned interface use-case intersection.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage Medium storing computer instructs, and the computer instruction makes the generation side of the above-mentioned interface use-case intersection of the computer execution Method.
The generation method and device of interface use-case intersection provided in an embodiment of the present invention, receive the target behaviour of user's triggering Make;Interface requests corresponding with the object run are sent to server;The interface requests daily record that the reception server is sent;To institute State interface requests daily record to be parsed, obtain the calling order of multiple interfaces corresponding with the object run and each interface; The calling of multiple interfaces and each interface according to corresponding to the object run is sequentially generated interface use-case intersection.The present invention is implemented The object run that example is triggered by receiving user under real scene, the interface requests daily record returned to server carry out parsing and obtained The calling order of multiple interfaces corresponding with object run and each interface is obtained, and then automatically generates interface use-case intersection, is improved The formation efficiency of interface use-case intersection, avoids to write manually easily and interface occurs to omit build-up of pressure test result inaccurate The defects of.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is the schematic flow sheet of the generation method of the interface use-case intersection of one embodiment of the invention;
Fig. 2 is the schematic flow sheet of the generation method of the interface use-case intersection of another embodiment of the present invention;
Fig. 3 is the structural representation of the generating means of the interface use-case intersection of one embodiment of the invention;
Fig. 4 is the structural representation of the generating means of the interface use-case intersection of another embodiment of the present invention;
Fig. 5 is the structural representation of the electronic equipment of one embodiment of the invention;
Fig. 6 is the structural representation of the electronic equipment of another embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, clear, complete description is carried out to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of the generation method of the interface use-case intersection of one embodiment of the invention.As shown in figure 1, The method of the embodiment using terminal as executive agent, terminal can be smart mobile phone, personal digital assistant (PDA), tablet personal computer, The electronic equipments such as notebook computer, the invention is not limited in this regard.
The generation method of the interface use-case intersection of the embodiment of the present invention, including:
S11:Receive the object run of user's triggering;
It should be noted that user of the embodiment of the present invention triggers object run under real scene, terminal receives user and touched The object run of hair.
For example, user triggers register by inputting the information such as user name, password and clicking on login button;Terminal Receive the information such as user name, the password of user's input and receive clicking operation of the user to login button.
S12:Interface requests corresponding with the object run are sent to server;
It should be noted that terminal receive user triggering object run after, automatically according to the execution of application program Logic sends interface requests corresponding with object run to server.
For example, terminal is after the register of user's triggering is received, automatically according to the execution logic of application program Send initialization connection initconcetion interface requests successively to server, obtain random number getRandomNumber interfaces Request and login login interface requests.
S13:The interface requests daily record that the reception server is sent;
It should be noted that interface requests daily record is server in the log file with being generated during terminal interaction, use In each interface requests that record terminal is sent.In actual applications, interface requests daily record includes the mark of terminal, calling connects Mouthful title, the parameter of calling interface, the information such as time of calling interface.
The server of the embodiment of the present invention can generate interface requests daily record after the interface requests of terminal transmission are received, Each interface requests that terminal is sent are recorded in interface requests daily record;And the interface requests daily record of generation was sent to end End;The interface requests daily record that terminal the reception server is sent.
S14:The interface requests daily record is parsed, obtains corresponding with the object run multiple interfaces and each The calling order of interface;
It should be noted that terminal, after the interface requests daily record of server transmission is received, docking port Request Log enters Row parsing, obtain the calling order of multiple interfaces corresponding with object run and each interface.
For example, terminal is parsed by the interface requests daily record sent to server, gets register pair Connection initconcetion interfaces should be initialized, obtain random number getRandomNumber interfaces and log in login interfaces, and Above three interface calls successively.
S15:The calling of multiple interfaces and each interface according to corresponding to the object run is sequentially generated the conjunction of interface use-case Collection.
It will be appreciated that terminal automatically generates interface use-case intersection according to the analysis result of interface requests daily record, without hand It is dynamic to write, improve the efficiency and accuracy rate of generation interface use-case intersection.
The generation method of interface use-case intersection provided in an embodiment of the present invention, triggered by receiving user under real scene Object run, the interface requests daily record returned to server carries out parsing and obtains corresponding with object run multiple interfaces and respectively The calling order of individual interface, and then interface use-case intersection is automatically generated, the formation efficiency of interface use-case intersection is improved, is avoided Write manually and the defects of interface omits build-up of pressure test result inaccuracy easily occur.
In a kind of alternatively embodiment of the embodiment of the present invention, the interface requests daily record includes each terminal Interface requests daily record.
It will be appreciated that this terminal, during information exchange is carried out with server, server is also sent out with other-end Raw interaction, therefore the interface requests daily record that server generates during information exchange is carried out with this terminal includes each terminal Interface requests daily record.
Further, the interface requests daily record is parsed, including:
The interface for obtaining described terminal from the interface requests daily record of each terminal according to the mark of this terminal please Ask daily record.
It will be appreciated that this terminal receive server transmission each terminal interface requests daily record after, it is necessary to root The interface requests daily record of this terminal is filtered out from the interface requests daily record of each terminal according to the mark of terminal, with generation and target Interface use-case intersection corresponding to operation.
Further, methods described also includes:
Obtain and interaction time section of the server under the object run;
Correspondingly, the interface requests daily record is parsed, including:
The interface requests daily record is solved according to the interaction time section with server under the object run Analysis.
It should be noted that the information interactive process of terminal and server not only includes the information exchange of register, also Include the information exchange of other operations, therefore terminal needs to obtain and interaction time section of the server under object run, so as to Interface requests daily record corresponding to object run is filtered out from interface requests daily record, so as to parse interface requests daily record generation interface Use-case intersection.
For example, in register, terminal needs to obtain at the time of user clicks on login button and receives service At the time of the logging status information that device returns, interaction time section of the terminal with server under register is clicked on from user steps on Terminate at the time of beginning at the time of recording button to the logging status information for receiving server return.
Fig. 2 is the schematic flow sheet of the generation method of the interface use-case intersection of another embodiment of the present invention.Such as Fig. 2 institutes Show, the method for the embodiment using server as executive agent, including:
S21:The interface requests corresponding with the object run that receiving terminal is sent;
It will be appreciated that the interface requests corresponding with object run that server receiving terminal is sent.
S22:Interface requests daily record corresponding with the object run is generated according to the interface requests;
It should be noted that server receive terminal transmission interface requests corresponding with object run after, according to Interface requests generate interface requests daily record corresponding with object run, each interface sent in interface requests daily record to terminal Request is recorded.
S23:To the terminal transmission interface Request Log, so that the terminal generates interface use-case intersection.
It should be noted that server after interface requests daily record is generated according to interface requests, is asked to terminal transmission interface Ask daily record;The interface requests daily record that terminal-pair server is sent is parsed, and then generates interface use-case intersection.
The generation method of interface use-case intersection provided in an embodiment of the present invention, triggered by receiving user under real scene Object run, the interface requests daily record returned to server carries out parsing and obtains corresponding with object run multiple interfaces and respectively The calling order of individual interface, and then interface use-case intersection is automatically generated, the formation efficiency of interface use-case intersection is improved, is avoided Write manually and the defects of interface omits build-up of pressure test result inaccuracy easily occur.
In a kind of optional embodiment of the embodiment of the present invention, similar with the method in Fig. 2, step S23 includes:
According to the mark of the terminal to the terminal transmission interface Request Log.
It should be noted that server with this terminal carry out information exchange during, server also with other-end Interact, therefore the interface requests daily record that server generates during information exchange is carried out with this terminal includes each end The interface requests daily record at end.In order to simplify the resolving of terminal-pair interface Request Log, server according to the mark of terminal only Interface requests daily record corresponding to this terminal is sent to this terminal.
Further, before the interface requests corresponding with the object run that receiving terminal is sent, methods described is also Including:
Open interface requests log services.
It will be appreciated that generally the interface requests log services acquiescence of server is opened;If special circumstances service The interface requests log services of device are closed, in order to ensure that the request of server docking port carries out record generation interface requests daily record, Before the interface requests corresponding with object run that receiving terminal is sent, it is also necessary to open interface requests log services.
Fig. 3 is the structural representation of the generating means of the interface use-case intersection of one embodiment of the invention.As shown in figure 3, The device of the embodiment of the present invention includes object run and receives single 31, interface requests transmitting element 32, interface requests daily record reception list Member 33, interface requests daily record resolution unit 34 and interface use-case intersection generation unit 35, specifically:
Object run receiving unit 31, for receiving the object run of user's triggering;
Interface requests transmitting element 32, for sending interface requests corresponding with the object run to server;
Interface requests daily record receiving unit 33, the interface requests daily record sent for the reception server;
Interface requests daily record resolution unit 34, for being parsed to the interface requests daily record, obtain and the target The calling of multiple interfaces and each interface order corresponding to operation;
Interface use-case intersection generation unit 35, for multiple interfaces according to corresponding to the object run and each interface Calling is sequentially generated interface use-case intersection.
The generating means of interface use-case intersection provided in an embodiment of the present invention, triggered by receiving user under real scene Object run, the interface requests daily record returned to server carries out parsing and obtains corresponding with object run multiple interfaces and respectively The calling order of individual interface, and then interface use-case intersection is automatically generated, the formation efficiency of interface use-case intersection is improved, is avoided Write manually and the defects of interface omits build-up of pressure test result inaccuracy easily occur.
In a kind of optional embodiment of the embodiment of the present invention, the interface requests daily record includes each terminal Interface requests daily record.
Further, interface requests daily record resolution unit 34 is further used for:
The interface for obtaining described terminal from the interface requests daily record of each terminal according to the mark of this terminal please Ask daily record.
Further, in addition to:
Interaction time section acquiring unit, for obtaining and interaction time section of the server under the object run;
Correspondingly, interface requests daily record resolution unit 34 is further used for:
The interface requests daily record is solved according to the interaction time section with server under the object run Analysis.
Fig. 4 is the structural representation of the generating means of the interface use-case intersection of another embodiment of the present invention.Such as Fig. 4 institutes Show, the device of the embodiment of the present invention includes interface requests receiving unit 41, interface requests daily record generation unit 42 and interface requests Daily record transmitting element 43, specifically:
Interface requests receiving unit 41, the interface requests corresponding with the object run sent for receiving terminal;
Interface requests daily record generation unit 42, for being connect according to interface requests generation is corresponding with the object run Mouth Request Log;
Interface requests daily record transmitting element 43, for the terminal transmission interface Request Log, so that the terminal is given birth to Into interface use-case intersection.
The generating means of interface use-case intersection provided in an embodiment of the present invention, triggered by receiving user under real scene Object run, the interface requests daily record returned to server carries out parsing and obtains corresponding with object run multiple interfaces and respectively The calling order of individual interface, and then interface use-case intersection is automatically generated, the formation efficiency of interface use-case intersection is improved, is avoided Write manually and the defects of interface omits build-up of pressure test result inaccuracy easily occur.
In a kind of optional embodiment of the embodiment of the present invention, interface requests daily record transmitting element 43 is further used In:
According to the mark of the terminal to the terminal transmission interface Request Log.
Further, in addition to:
Interface requests log services opening unit, for opening interface requests log services.
The generating means of the interface use-case intersection of the embodiment of the present invention can be used for performing above method embodiment, its principle Similar with technique effect, here is omitted.
Fig. 5 is the structural representation of the electronic equipment of one embodiment of the invention.
Reference picture 5, electronic equipment includes:First processor (processor) 51, first memory (memory) 52 and One bus 53;Wherein,
First processor 51 and first memory 52 complete mutual communication by the first bus 53;
First processor 51 is used to call the programmed instruction in first memory 52, to perform above-mentioned each method embodiment institute The generation method of the interface use-case intersection of offer.
In addition, the logical order in above-mentioned first memory 52 can be realized and made by the form of SFU software functional unit For independent production marketing or in use, can be stored in a computer read/write memory medium.Based on such understanding, The part or the part of the technical scheme that technical scheme substantially contributes to prior art in other words can be with Embodied in the form of software product, the computer software product is stored in a storage medium, including some instructions are used To cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each reality of the present invention Apply all or part of step of a methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The present embodiment provides a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include programmed instruction, when described program instruction is calculated When machine performs, computer is able to carry out the generation side for the interface use-case intersection that the above-mentioned embodiment of the method related to Fig. 1 is provided Method.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Computer instruction is stored, the computer instruction is provided the above-mentioned embodiment of the method related to Fig. 1 of the computer execution Interface use-case intersection generation method.
Fig. 6 is the structural representation of the electronic equipment of another embodiment of the present invention.
Reference picture 6, electronic equipment includes:Second processor (processor) 61, second memory (memory) 62 and Two lines bus 63;Wherein,
Second processor 61 and second memory 62 complete mutual communication by the second bus 63;
Second processor 61 is used to call the programmed instruction in second memory 62, to perform above-mentioned each method embodiment institute The generation method of the interface use-case intersection of offer.
In addition, the logical order in above-mentioned second memory 62 can be realized and made by the form of SFU software functional unit For independent production marketing or in use, can be stored in a computer read/write memory medium.Based on such understanding, The part or the part of the technical scheme that technical scheme substantially contributes to prior art in other words can be with Embodied in the form of software product, the computer software product is stored in a storage medium, including some instructions are used To cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each reality of the present invention Apply all or part of step of a methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The present embodiment provides a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include programmed instruction, when described program instruction is calculated When machine performs, computer is able to carry out the generation side for the interface use-case intersection that the above-mentioned embodiment of the method related to Fig. 2 is provided Method.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Computer instruction is stored, the computer instruction is provided the above-mentioned embodiment of the method related to Fig. 2 of the computer execution Interface use-case intersection generation method.
The generation method and device of interface use-case intersection provided in an embodiment of the present invention, receive the target behaviour of user's triggering Make;Interface requests corresponding with the object run are sent to server;The interface requests daily record that the reception server is sent;To institute State interface requests daily record to be parsed, obtain the calling order of multiple interfaces corresponding with the object run and each interface; The calling of multiple interfaces and each interface according to corresponding to the object run is sequentially generated interface use-case intersection.The present invention is implemented The object run that example is triggered by receiving user under real scene, the interface requests daily record returned to server carry out parsing and obtained The calling order of multiple interfaces corresponding with object run and each interface is obtained, and then automatically generates interface use-case intersection, is improved The formation efficiency of interface use-case intersection, avoids to write manually easily and interface occurs to omit build-up of pressure test result inaccurate The defects of.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
It should be noted that term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of elements not only include those key elements, but also including The other element being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, other identical element also be present in article or equipment.
In the specification of the present invention, numerous specific details are set forth.Although it is understood that embodiments of the invention can To be put into practice in the case of these no details.In some instances, known method, structure and skill is not been shown in detail Art, so as not to obscure the understanding of this description.Similarly, it will be appreciated that disclose in order to simplify the present invention and helps to understand respectively One or more of individual inventive aspect, in the description to the exemplary embodiment of the present invention above, each spy of the invention Sign is grouped together into single embodiment, figure or descriptions thereof sometimes.However, should not be by the method solution of the disclosure It is interpreted into the following intention of reflection:I.e. the present invention for required protection requirement is than the feature that is expressly recited in each claim more More features.More precisely, as the following claims reflect, inventive aspect is to be less than single reality disclosed above Apply all features of example.Therefore, it then follows thus claims of embodiment are expressly incorporated in the embodiment, Wherein each claim is in itself as separate embodiments of the invention.
Above example is merely to illustrate technical scheme, rather than its limitations;Although with reference to the foregoing embodiments The present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each implementation Technical scheme described in example is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed or replaced Change, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (18)

  1. A kind of 1. generation method of interface use-case intersection, it is characterised in that including:
    Receive the object run of user's triggering;
    Interface requests corresponding with the object run are sent to server;
    The interface requests daily record that the reception server is sent;
    The interface requests daily record is parsed, obtains the tune of multiple interfaces corresponding with the object run and each interface With order;
    The calling of multiple interfaces and each interface according to corresponding to the object run is sequentially generated interface use-case intersection.
  2. 2. according to the method for claim 1, it is characterised in that the interface requests daily record includes the interface of each terminal Request Log.
  3. 3. according to the method for claim 2, it is characterised in that the interface requests daily record is parsed, including:
    The interface requests day of described terminal is obtained from the interface requests daily record of each terminal according to the mark of this terminal Will.
  4. 4. according to the method for claim 1, it is characterised in that methods described also includes:
    Obtain and interaction time section of the server under the object run;
    Correspondingly, the interface requests daily record is parsed, including:
    The interface requests daily record is parsed according to the interaction time section with server under the object run.
  5. A kind of 5. generation method of interface use-case intersection, it is characterised in that including:
    The interface requests corresponding with the object run that receiving terminal is sent;
    Interface requests daily record corresponding with the object run is generated according to the interface requests;
    To the terminal transmission interface Request Log, so that the terminal generates interface use-case intersection.
  6. 6. according to the method for claim 5, it is characterised in that to the terminal transmission interface Request Log, including:
    According to the mark of the terminal to the terminal transmission interface Request Log.
  7. 7. according to the method for claim 5, it is characterised in that sent in receiving terminal corresponding with the object run Before interface requests, methods described also includes:
    Open interface requests log services.
  8. A kind of 8. generating means of interface use-case intersection, it is characterised in that including:
    Object run receiving unit, for receiving the object run of user's triggering;
    Interface requests transmitting element, for sending interface requests corresponding with the object run to server;
    Interface requests daily record receiving unit, the interface requests daily record sent for the reception server;
    Interface requests daily record resolution unit, for being parsed to the interface requests daily record, obtain and the object run pair The multiple interfaces and the calling order of each interface answered;
    Interface use-case intersection generation unit, it is suitable for the calling of multiple interfaces and each interface according to corresponding to the object run Sequence generates interface use-case intersection.
  9. 9. device according to claim 8, it is characterised in that the interface requests daily record includes the interface of each terminal Request Log.
  10. 10. device according to claim 9, it is characterised in that the interface requests daily record resolution unit is further used for:
    The interface requests day of described terminal is obtained from the interface requests daily record of each terminal according to the mark of this terminal Will.
  11. 11. device according to claim 8, it is characterised in that also include:
    Interaction time section acquiring unit, for obtaining and interaction time section of the server under the object run;
    Correspondingly, the interface requests daily record resolution unit is further used for:
    The interface requests daily record is parsed according to the interaction time section with server under the object run.
  12. A kind of 12. generating means of interface use-case intersection, it is characterised in that including:
    Interface requests receiving unit, the interface requests corresponding with the object run sent for receiving terminal;
    Interface requests daily record generation unit, for generating interface requests corresponding with the object run according to the interface requests Daily record;
    Interface requests daily record transmitting element, for the terminal transmission interface Request Log, so that the terminal generates interface Use-case intersection.
  13. 13. device according to claim 12, it is characterised in that the interface requests daily record transmitting element is further used In:
    According to the mark of the terminal to the terminal transmission interface Request Log.
  14. 14. device according to claim 12, it is characterised in that also include:
    Interface requests log services opening unit, for opening interface requests log services.
  15. 15. a kind of electronic equipment, it is characterised in that including:Processor, memory and bus;Wherein,
    Processor and memory complete mutual communication by bus;
    Processor is used to call the programmed instruction in memory, requires that the interface use-case described in any one of 1-4 closes with perform claim The generation method of collection.
  16. 16. a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing storage computer refers to Order, the computer instruction make the generation side of the interface use-case intersection described in the computer perform claim requirement any one of 1-4 Method.
  17. 17. a kind of electronic equipment, it is characterised in that including:Processor, memory and bus;Wherein,
    Processor and memory complete mutual communication by bus;
    Processor is used to call the programmed instruction in memory, requires that the interface use-case described in any one of 5-7 closes with perform claim The generation method of collection.
  18. 18. a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing storage computer refers to Order, the computer instruction make the generation side of the interface use-case intersection described in the computer perform claim requirement any one of 5-7 Method.
CN201710550780.0A 2017-07-07 2017-07-07 Method and device for generating interface use case aggregate Active CN107436844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710550780.0A CN107436844B (en) 2017-07-07 2017-07-07 Method and device for generating interface use case aggregate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710550780.0A CN107436844B (en) 2017-07-07 2017-07-07 Method and device for generating interface use case aggregate

Publications (2)

Publication Number Publication Date
CN107436844A true CN107436844A (en) 2017-12-05
CN107436844B CN107436844B (en) 2020-07-14

Family

ID=60460827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710550780.0A Active CN107436844B (en) 2017-07-07 2017-07-07 Method and device for generating interface use case aggregate

Country Status (1)

Country Link
CN (1) CN107436844B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038253A (en) * 2018-01-23 2018-05-15 北京奇安信科技有限公司 A kind of processing method and processing device of log query
CN108073519A (en) * 2018-01-31 2018-05-25 百度在线网络技术(北京)有限公司 Method for generating test case and device
CN108512924A (en) * 2018-03-29 2018-09-07 努比亚技术有限公司 Interface merging method, equipment, system and computer-readable storage media
CN108519948A (en) * 2018-04-04 2018-09-11 上海携程商务有限公司 The automatic interface testing method and system of daily record driving
CN110187992A (en) * 2019-04-11 2019-08-30 阿里巴巴集团控股有限公司 Failure analysis methods and device
CN110321270A (en) * 2018-03-29 2019-10-11 广东神马搜索科技有限公司 Single machine performance test methods, device and server
CN110377503A (en) * 2019-06-19 2019-10-25 平安银行股份有限公司 Method for testing pressure, device, computer equipment and storage medium
CN110389976A (en) * 2018-04-13 2019-10-29 北京京东尚科信息技术有限公司 A kind of dispatching method and device of multi-interface data
CN110888806A (en) * 2019-11-15 2020-03-17 天津联想协同科技有限公司 Interface testing method, electronic equipment and storage medium
CN111813662A (en) * 2020-06-16 2020-10-23 上海中通吉网络技术有限公司 User behavior driven sustainable integration test method, device and equipment
CN112732576A (en) * 2021-01-08 2021-04-30 网易(杭州)网络有限公司 Automatic testing method, device and equipment based on user interface

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751248A (en) * 2008-11-28 2010-06-23 国际商业机器公司 Method and system applied by Web for designing time-sensitive performance test case
CN104951399A (en) * 2015-06-19 2015-09-30 北京齐尔布莱特科技有限公司 Software test system and method
CN105138461A (en) * 2015-09-23 2015-12-09 网易(杭州)网络有限公司 Interface testing method and device for application program
US20160232085A1 (en) * 2015-02-10 2016-08-11 Wipro Limited Method and device for improving software performance testing
CN106815138A (en) * 2015-12-01 2017-06-09 北京奇虎科技有限公司 A kind of method and apparatus for generating interface testing use-case

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751248A (en) * 2008-11-28 2010-06-23 国际商业机器公司 Method and system applied by Web for designing time-sensitive performance test case
US20160232085A1 (en) * 2015-02-10 2016-08-11 Wipro Limited Method and device for improving software performance testing
CN104951399A (en) * 2015-06-19 2015-09-30 北京齐尔布莱特科技有限公司 Software test system and method
CN105138461A (en) * 2015-09-23 2015-12-09 网易(杭州)网络有限公司 Interface testing method and device for application program
CN106815138A (en) * 2015-12-01 2017-06-09 北京奇虎科技有限公司 A kind of method and apparatus for generating interface testing use-case

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038253A (en) * 2018-01-23 2018-05-15 北京奇安信科技有限公司 A kind of processing method and processing device of log query
CN108073519A (en) * 2018-01-31 2018-05-25 百度在线网络技术(北京)有限公司 Method for generating test case and device
CN108512924A (en) * 2018-03-29 2018-09-07 努比亚技术有限公司 Interface merging method, equipment, system and computer-readable storage media
CN110321270A (en) * 2018-03-29 2019-10-11 广东神马搜索科技有限公司 Single machine performance test methods, device and server
CN108519948A (en) * 2018-04-04 2018-09-11 上海携程商务有限公司 The automatic interface testing method and system of daily record driving
CN110389976B (en) * 2018-04-13 2022-04-12 北京京东乾石科技有限公司 Multi-interface data scheduling method and device
CN110389976A (en) * 2018-04-13 2019-10-29 北京京东尚科信息技术有限公司 A kind of dispatching method and device of multi-interface data
CN110187992A (en) * 2019-04-11 2019-08-30 阿里巴巴集团控股有限公司 Failure analysis methods and device
CN110187992B (en) * 2019-04-11 2023-01-24 创新先进技术有限公司 Fault analysis method and device
CN110377503A (en) * 2019-06-19 2019-10-25 平安银行股份有限公司 Method for testing pressure, device, computer equipment and storage medium
CN110888806A (en) * 2019-11-15 2020-03-17 天津联想协同科技有限公司 Interface testing method, electronic equipment and storage medium
CN111813662A (en) * 2020-06-16 2020-10-23 上海中通吉网络技术有限公司 User behavior driven sustainable integration test method, device and equipment
CN112732576A (en) * 2021-01-08 2021-04-30 网易(杭州)网络有限公司 Automatic testing method, device and equipment based on user interface
CN112732576B (en) * 2021-01-08 2024-06-04 网易(杭州)网络有限公司 Automatic testing method, device and equipment based on user interface

Also Published As

Publication number Publication date
CN107436844B (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN107436844A (en) A kind of generation method and device of interface use-case intersection
US10346780B2 (en) Extraction of system administrator actions to a workflow providing a resolution to a system issue
CN107329861A (en) A kind of multiplex roles method of testing and device
CN111241157B (en) Operation behavior backtracking method and device and electronic equipment
CN111506511A (en) Test case generation method and device, electronic equipment and medium
CN109408247A (en) Interaction data processing method and device
US20190079916A1 (en) Using syntactic analysis for inferring mental health and mental states
US10356222B2 (en) Reusable message flow between applications of a message broker integrated systems environment
US20110161063A1 (en) Method, computer program product and apparatus for providing an interactive network simulator
US20190026348A1 (en) Mining procedure dialogs from source content
CN108718337A (en) Website account login, verification, verification information processing method, apparatus and system
US20190005383A1 (en) Enhancing rating prediction using reviews
WO2019104891A1 (en) Method and device for importing and exporting report, storage medium, and terminal
GB2603574A (en) Synthetic system fault generation
CN110795697A (en) Logic expression obtaining method and device, storage medium and electronic device
US10740895B2 (en) Generator-to-classifier framework for object classification
JP2024514069A (en) electronic messaging methods
US20230359657A1 (en) Summary generation guided by pre-defined queries
WO2022116827A1 (en) Automatic delineation and extraction of tabular data in portable document format using graph neural networks
US11494720B2 (en) Automatic contract risk assessment based on sentence level risk criterion using machine learning
US20230418859A1 (en) Unified data classification techniques
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium
US10986230B1 (en) Method and apparatus to capture, analyze, organize, and present support chat information
US20180122404A1 (en) Determining a behavior of a user utilizing audio data
US10904025B2 (en) Web meeting bookmarking system based on level of relevancy and importance

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100088 Building 3 332, 102, 28 Xinjiekouwai Street, Xicheng District, Beijing

Applicant after: QAX Technology Group Inc.

Address before: 100015 Jiuxianqiao Chaoyang District Beijing Road No. 10, building 15, floor 17, layer 1701-26, 3

Applicant before: BEIJING QIANXIN TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant