CN111143149B - Method and device for back displaying request data, computer equipment and storage medium - Google Patents

Method and device for back displaying request data, computer equipment and storage medium Download PDF

Info

Publication number
CN111143149B
CN111143149B CN201911352017.2A CN201911352017A CN111143149B CN 111143149 B CN111143149 B CN 111143149B CN 201911352017 A CN201911352017 A CN 201911352017A CN 111143149 B CN111143149 B CN 111143149B
Authority
CN
China
Prior art keywords
request
interface test
interface
parameter
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.)
Active
Application number
CN201911352017.2A
Other languages
Chinese (zh)
Other versions
CN111143149A (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.)
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Original Assignee
Shenzhen Qianhai Huanrong Lianyi Information Technology Service 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 Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd filed Critical Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Priority to CN201911352017.2A priority Critical patent/CN111143149B/en
Publication of CN111143149A publication Critical patent/CN111143149A/en
Application granted granted Critical
Publication of CN111143149B publication Critical patent/CN111143149B/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/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device, computer equipment and a storage medium for displaying back request data. Wherein the method comprises the following steps: sending an interface test request to a server, wherein the interface test request comprises a request head and request parameters; receiving an interface test result returned by a server, and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request; and displaying the request head and the request parameters of the interface test request in an interface test interface of the terminal. The embodiment of the invention can display the request head and the request parameters of the interface test request in the interface test interface of the terminal, thereby facilitating the test personnel to check the request head and the request parameters of the interface test request and greatly improving the test efficiency of the test personnel.

Description

Method and device for back displaying request data, computer equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and apparatus for displaying back request data, a computer device, and a storage medium.
Background
In the existing interface test platform, whether it is a test of a single interface or a collective test, only the back display of response data header and body exists.
However, for analysis of returned results, such as information errors of the initiated request, network reasons, or other reasons, it is generally required to check whether parameter information of the initiated request (request header and request parameters) is correctly input, and according to the existing method, it is required to manually query the request header and request parameters of the request, resulting in extremely low analysis efficiency.
Disclosure of Invention
The embodiment of the invention provides a method, a device, computer equipment and a storage medium for displaying request data, which aim to solve the problem that parameter information of an initiating request cannot be quickly checked in the prior art.
In a first aspect, an embodiment of the present invention provides a method for displaying back request data, including:
sending an interface test request to a server, wherein the interface test request comprises a request head and request parameters;
receiving an interface test result returned by a server, and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request;
and displaying the request head and the request parameters of the interface test request in an interface test interface of the terminal.
The server gives the request header and the request parameter of the interface test request to a variable of the interface test request, and the extracting the request header and the request parameter of the interface test request from the interface test result comprises the following steps:
and extracting a request header and a request parameter of the interface test request from the variable.
The further technical scheme is that a response plate is arranged in an interface test interface of the terminal, the request head and the request parameters of the interface test request are displayed in the interface test interface of the terminal, and the method comprises the following steps:
newly adding a request plate in a response plate of an interface test interface of the terminal;
and displaying a request header and request parameters of the interface test request in the request plate.
The further technical scheme is that the displaying the request header and the request parameter of the interface test request in the interface test interface of the terminal includes:
adding a plate or page in an interface test interface of the terminal;
and displaying the request head and the request parameters of the interface test request in a newly added plate or page of the interface test interface of the terminal.
The further technical scheme is that the displaying the request header and the request parameter of the interface test request in the request plate comprises:
and displaying a request header and a request parameter of the interface test request in a JSON format in the request plate.
In a second aspect, an embodiment of the present invention further provides a device for displaying back request data, including:
the device comprises a sending unit, a server and a receiving unit, wherein the sending unit is used for sending an interface test request to the server, and the interface test request comprises a request head and request parameters;
the first extraction unit is used for receiving an interface test result returned by the server and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request;
and the first display unit is used for displaying the request head and the request parameters of the interface test request in the interface test interface of the terminal.
The server gives the request header and the request parameter of the interface test request to a variable of the interface test request, and the first extraction unit includes:
and the second extraction unit is used for extracting a request head and a request parameter of the interface test request from the variable.
The further technical scheme is that a response plate is arranged in an interface test interface of the terminal, and the first display unit comprises:
the first adding unit is used for adding a request plate block in a response plate block of an interface test interface of the terminal;
and the second display unit is used for displaying the request header and the request parameters of the interface test request in the request plate.
The further technical scheme is that the first display unit comprises:
the second adding unit is used for adding a plate or page in the interface test interface of the terminal;
and the third display unit is used for displaying the request head and the request parameters of the interface test request in the newly added plate or page of the interface test interface of the terminal.
The further technical scheme is that the second display unit comprises:
and the fourth display unit is used for displaying the request header and the request parameters of the interface test request in the JSON format in the request plate.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the above method.
The embodiment of the invention provides a method, a device, computer equipment and a storage medium for displaying back request data. Wherein the method comprises the following steps: sending an interface test request to a server, wherein the interface test request comprises a request head and request parameters; receiving an interface test result returned by a server, and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request; and displaying the request head and the request parameters of the interface test request in an interface test interface of the terminal. The embodiment of the invention can display the request head and the request parameters of the interface test request in the interface test interface of the terminal, thereby facilitating the test personnel to check the request head and the request parameters of the interface test request and greatly improving the test efficiency of the test personnel.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of a method for displaying back request data according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for displaying back request data according to an embodiment of the present invention;
FIG. 3 is a schematic sub-flowchart of a method for displaying back request data according to an embodiment of the present invention;
FIG. 4 is a schematic sub-flowchart of a method for displaying back request data according to an embodiment of the present invention;
FIG. 5 is a schematic block diagram of a request data playback device according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a first extraction unit of the request data playback device according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a first display unit of the request data playback device according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a first display unit of a request data playback device according to another embodiment of the present invention;
FIG. 9 is a schematic block diagram of a second display unit of the request data playback device according to an embodiment of the present invention;
fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Referring to fig. 1-2, fig. 1 is a schematic diagram of an application scenario of a request data playback method according to an embodiment of the present invention. Fig. 2 is a schematic flow chart of a request data playback method according to an embodiment of the present invention. The request data back display method is applied to the terminal 10. The terminal 10 sends an interface test request to the server 20, wherein the interface test request comprises a request head and request parameters; the terminal 10 receives an interface test result returned by the server 20, and extracts a request header and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request header and the request parameter of the interface test request; the terminal 10 displays the request header and request parameters of the interface test request in the interface test interface of the terminal 10.
Fig. 2 is a flow chart of a method for displaying back request data according to an embodiment of the present invention. As shown, the method includes the following steps S1-S3.
S1, sending an interface test request to a server, wherein the interface test request comprises a request head and request parameters.
In a specific implementation, a terminal sends an interface test request to a server. The request header and request parameters are included in the interface test request.
S2, receiving an interface test result returned by the server, and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request.
In specific implementation, the server adds a request header and a request parameter of the interface test request to the interface test result returned to the terminal. And the terminal receives an interface test result returned by the server and extracts a request head and a request parameter of the interface test request from the interface test result returned by the server.
In one embodiment, the server assigns a request header and request parameters of the interface test request in a variable of the interface test request.
The step of extracting the request header and the request parameter of the interface test request from the interface test result specifically comprises the following steps: and extracting a request header and a request parameter of the interface test request from the variable.
In a specific implementation, the server assigns data (i.e., interface test results) returned to the terminal in the variables. Specifically, the server newly defines a variable corresponding to the request header and the request parameter of the interface test request, and assigns the request header and the request parameter of the interface test request to the variable. The terminal extracts the request header and request parameters of the interface test request from the variable accordingly.
And S3, displaying the request head and the request parameters of the interface test request in an interface test interface of the terminal.
In the implementation, the terminal displays the request header and the request parameter of the interface test request in the interface test interface of the terminal, so that a tester can conveniently check the request header and the request parameter of the interface test request, and the test efficiency of the tester is greatly improved. The interface test interface refers to an interface of software for interface test displayed on the terminal.
Referring to fig. 3, in one embodiment, a response board is provided in the interface test interface of the terminal. And a Response TAB for displaying the test result of the interface.
The steps above display the request header and the request parameters of the interface test request in the interface test interface of the terminal, specifically including the following steps S31-S32.
S31, a request plate is newly added in a response plate of an interface test interface of the terminal.
In the implementation, a request plate is newly added in a response plate of an interface test interface of the terminal. And the request plate is used for displaying the request header and the request parameters of the interface test request.
S32, displaying the request header and the request parameters of the interface test request in the request plate.
In a specific implementation, a request header and a request parameter of the interface test request are displayed in the request plate. The test result, the request head of the interface test request and the request parameters are displayed in the same plate, so that the test personnel can more intuitively compare and check the test result, and the test efficiency of the test personnel is further improved.
In one embodiment, the step of displaying the request header and the request parameters of the interface test request in the request board specifically includes the following steps: and displaying a request header and a request parameter of the interface test request in a JSON format in the request plate.
In specific implementation, the request header and the request parameters of the interface test request are displayed in a JSON format in the request plate. The JSON format can more intuitively display the request head and the request parameters of the interface test request, is convenient for the testers to efficiently review, and greatly improves the working efficiency of the testers.
It should be noted that JSON (JavaScript Object Notation, JS object numbered musical notation) is a lightweight data exchange format.
Referring to fig. 4, in an embodiment, the above steps of displaying the request header and the request parameter of the interface test request in the interface test interface of the terminal specifically include the following steps S41 to S42.
S41, adding a plate or page in an interface test interface of the terminal.
In the implementation, a plate or a page is newly added in an interface test interface of the terminal.
S42, displaying the request head and the request parameters of the interface test request in the newly added plate or page of the interface test interface of the terminal.
In the implementation, a request head and a request parameter of the interface test request are displayed in a newly added plate or page of the interface test interface of the terminal. Specifically, a request header and a request parameter of the interface test request are displayed in a JSON format in a newly added plate or page of the interface test interface of the terminal.
By applying the technical scheme of the embodiment of the invention, an interface test request is sent to a server, wherein the interface test request comprises a request head and request parameters; receiving an interface test result returned by a server, and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request; the request head and the request parameters of the interface test request are displayed in the interface test interface of the terminal, so that a tester can check the request head and the request parameters of the interface test request conveniently, and the test efficiency of the tester is greatly improved.
Fig. 5 is a schematic block diagram of a request data playback device 40 according to an embodiment of the present invention. As shown in fig. 5, the present invention further provides a request data playback device 40 corresponding to the above request data playback method. The request data playback device 40 includes a unit for performing the request data playback method described above, and the request data playback device 40 may be configured in a desktop computer, a tablet computer, a portable computer, or the like. Specifically, referring to fig. 5, the request data back display device 40 includes a sending unit 41, a first extracting unit 42, and a first display unit 43.
A sending unit 41, configured to send an interface test request to the server, where the interface test request includes a request header and a request parameter.
The first extracting unit 42 is configured to receive an interface test result returned by the server, and extract a request header and a request parameter of the interface test request from the interface test result, where the interface test result includes the request header and the request parameter of the interface test request.
A first display unit 43, configured to display a request header and a request parameter of the interface test request in an interface test interface of the terminal.
In an embodiment, the server assigns the request header and request parameters of the interface test request in a variable of the interface test request, as shown in fig. 6, the first extraction unit 42 includes a second extraction unit 421.
A second extracting unit 421, configured to extract a request header and a request parameter of the interface test request from the variables.
In an embodiment, as shown in fig. 7, a response board is disposed in the interface test interface of the terminal, and the first display unit 43 includes a first adding unit 431 and a second display unit 432.
The first adding unit 431 is configured to add a request board newly to a response board of the interface test interface of the terminal.
A second display unit 432, configured to display a request header and a request parameter of the interface test request in the request board.
In one embodiment, as shown in fig. 8, the first display unit 43 includes a second adding unit 433 and a third display unit 434.
And the second adding unit 433 is configured to add a new board or page to the interface test interface of the terminal.
And a third display unit 434, configured to display a request header and a request parameter of the interface test request in a newly added board or page of the interface test interface of the terminal.
In one embodiment, as shown in fig. 9, the second display unit 432 includes a fourth display unit 4321.
And a fourth display unit 4321 for displaying the request header and the request parameters of the interface test request in JSON format in the request board.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the request data playback device 40 and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the description is omitted here.
The request data back display means 40 described above may be implemented in the form of a computer program which can be run on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster formed by a plurality of servers.
With reference to FIG. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to perform a method of requesting data playback.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a method of requesting data to be displayed back.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of a portion of the architecture in connection with the present application and is not intended to limit the computer device 500 to which the present application is applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in a memory to implement the steps of:
sending an interface test request to a server, wherein the interface test request comprises a request head and request parameters;
receiving an interface test result returned by a server, and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request;
and displaying the request head and the request parameters of the interface test request in an interface test interface of the terminal.
In one embodiment, the server assigns the request header and the request parameter of the interface test request to a variable of the interface test request, and the processor 502, when implementing the step of extracting the request header and the request parameter of the interface test request from the interface test result, specifically implements the following steps:
and extracting a request header and a request parameter of the interface test request from the variable.
In an embodiment, a response board is disposed in the interface test interface of the terminal, and when the step of displaying the request header and the request parameter of the interface test request in the interface test interface of the terminal is implemented by the processor 502, the following steps are specifically implemented:
newly adding a request plate in a response plate of an interface test interface of the terminal;
and displaying a request header and request parameters of the interface test request in the request plate.
In one embodiment, when the step of displaying the request header and the request parameter of the interface test request in the interface test interface of the terminal is implemented by the processor 502, the following steps are specifically implemented:
adding a plate or page in an interface test interface of the terminal;
and displaying the request head and the request parameters of the interface test request in a newly added plate or page of the interface test interface of the terminal.
In one embodiment, when the step of displaying the request header and the request parameter of the interface test request in the request board is implemented by the processor 502, the following steps are specifically implemented:
and displaying a request header and a request parameter of the interface test request in a JSON format in the request plate.
It should be appreciated that in embodiments of the present application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable gate arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program may be stored in a storage medium that is a computer readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform the steps of:
sending an interface test request to a server, wherein the interface test request comprises a request head and request parameters;
receiving an interface test result returned by a server, and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request;
and displaying the request head and the request parameters of the interface test request in an interface test interface of the terminal.
In one embodiment, the server assigns the request header and the request parameter of the interface test request to a variable of the interface test request, and the processor, when executing the computer program to implement the step of extracting the request header and the request parameter of the interface test request from the interface test result, specifically implements the following steps:
and extracting a request header and a request parameter of the interface test request from the variable.
In an embodiment, a response board is disposed in an interface test interface of the terminal, and when the processor executes the computer program to implement the step of displaying the request header and the request parameter of the interface test request in the interface test interface of the terminal, the processor specifically implements the following steps:
newly adding a request plate in a response plate of an interface test interface of the terminal;
and displaying a request header and request parameters of the interface test request in the request plate.
In one embodiment, when the processor executes the computer program to implement the step of displaying the request header and the request parameter of the interface test request in the interface test interface of the terminal, the following steps are specifically implemented:
adding a plate or page in an interface test interface of the terminal;
and displaying the request head and the request parameters of the interface test request in a newly added plate or page of the interface test interface of the terminal.
In one embodiment, when the processor executes the computer program to implement the step of displaying the request header and the request parameter of the interface test request in the request board, the following steps are specifically implemented:
and displaying a request header and a request parameter of the interface test request in a JSON format in the request plate.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (5)

1. A method for requesting a data playback, comprising:
sending an interface test request to a server, wherein the interface test request comprises a request head and request parameters;
receiving an interface test result returned by a server, and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request;
newly adding a request plate block in a response plate block of an interface test interface of a terminal, wherein the response plate block is arranged in the interface test interface of the terminal;
displaying a request head and request parameters of the interface test request in the request plate;
adding a plate or page in an interface test interface of the terminal;
displaying a request head and a request parameter of the interface test request in a newly added plate or page of the interface test interface of the terminal;
the server defines a variable corresponding to the request header and the request parameter of the interface test request, the server endows the request header and the request parameter of the interface test request to the variable, and the extracting the request header and the request parameter of the interface test request from the interface test result comprises the following steps:
and extracting a request header and a request parameter of the interface test request from the variable, wherein the terminal extracts the interface test request and the request parameter from the variable.
2. The method for displaying back the request data according to claim 1, wherein displaying the request header and the request parameters of the interface test request in the request board comprises:
and displaying a request header and a request parameter of the interface test request in a JSON format in the request plate.
3. A request data playback apparatus, comprising:
the device comprises a sending unit, a server and a receiving unit, wherein the sending unit is used for sending an interface test request to the server, and the interface test request comprises a request head and request parameters;
the first extraction unit is used for receiving an interface test result returned by the server and extracting a request head and a request parameter of the interface test request from the interface test result, wherein the interface test result comprises the request head and the request parameter of the interface test request;
a first adding unit, configured to add a request board newly to a response board of an interface test interface of a terminal, where the response board is provided in the interface test interface of the terminal;
the second display unit is used for displaying a request head and request parameters of the interface test request in the request plate;
a second adding unit, configured to add a plate or page to the interface test interface of the terminal;
the third display unit is used for displaying a request head and a request parameter of the interface test request in a newly added plate or page of the interface test interface of the terminal;
wherein the server defines a variable corresponding to the request header and the request parameter of the interface test request, the server assigns the request header and the request parameter of the interface test request to the variable, and the first extracting unit includes:
and the second extraction unit is used for extracting the request header and the request parameter of the interface test request from the variable, wherein the terminal extracts the interface test request and the request parameter from the variable.
4. A computer device, characterized in that it comprises a memory on which a computer program is stored and a processor which, when executing the computer program, implements the method according to any of claims 1-2.
5. A computer readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any of claims 1-2.
CN201911352017.2A 2019-12-25 2019-12-25 Method and device for back displaying request data, computer equipment and storage medium Active CN111143149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911352017.2A CN111143149B (en) 2019-12-25 2019-12-25 Method and device for back displaying request data, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911352017.2A CN111143149B (en) 2019-12-25 2019-12-25 Method and device for back displaying request data, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111143149A CN111143149A (en) 2020-05-12
CN111143149B true CN111143149B (en) 2024-03-19

Family

ID=70519952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911352017.2A Active CN111143149B (en) 2019-12-25 2019-12-25 Method and device for back displaying request data, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111143149B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412817A (en) * 2013-08-14 2013-11-27 迈普通信技术股份有限公司 Automation testing script offline debugging method and system
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device
CN108009269A (en) * 2017-12-15 2018-05-08 北京小米移动软件有限公司 Show the method, apparatus of page data
CN108459850A (en) * 2017-11-21 2018-08-28 广州视源电子科技股份有限公司 Generate the method, apparatus and system of test script
CN110581838A (en) * 2019-07-15 2019-12-17 平安普惠企业管理有限公司 Method for continuously requesting data stream, electronic device and computer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004098115A2 (en) * 2003-04-28 2004-11-11 Alcatel Ip Networks, Inc. Oam echo messaging to verify a service-based network distribution path

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412817A (en) * 2013-08-14 2013-11-27 迈普通信技术股份有限公司 Automation testing script offline debugging method and system
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device
CN108459850A (en) * 2017-11-21 2018-08-28 广州视源电子科技股份有限公司 Generate the method, apparatus and system of test script
CN108009269A (en) * 2017-12-15 2018-05-08 北京小米移动软件有限公司 Show the method, apparatus of page data
CN110581838A (en) * 2019-07-15 2019-12-17 平安普惠企业管理有限公司 Method for continuously requesting data stream, electronic device and computer equipment

Also Published As

Publication number Publication date
CN111143149A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
WO2019153598A1 (en) Customer risk level management method, server and computer readable storage medium
CN109684008B (en) Card rendering method, device, terminal and computer readable storage medium
CN108933695B (en) Method and apparatus for processing information
CN112860997A (en) Medical resource recommendation method, device, equipment and storage medium
CN110221948A (en) Test script generation method, device, computer installation and storage medium
CN111598122B (en) Data verification method and device, electronic equipment and storage medium
CN109408361A (en) Monkey tests restored method, device, electronic equipment and computer readable storage medium
EP3908933A1 (en) Test result triage for a failed code validation
CN107229565B (en) Test method and device
US9542252B2 (en) Information processing technique for supporting data setting
CN113362173A (en) Anti-duplication mechanism verification method, anti-duplication mechanism verification system, electronic equipment and storage medium
CN111143149B (en) Method and device for back displaying request data, computer equipment and storage medium
CN109828902B (en) Interface parameter determining method and device, electronic equipment and storage medium
US20190139149A1 (en) System and method for content reporting
CN113254932B (en) Application risk detection method and device, electronic equipment and medium
CN111859985B (en) AI customer service model test method and device, electronic equipment and storage medium
CN106294104B (en) Test case execution method and mobile terminal
CN113656286A (en) Software testing method and device, electronic equipment and readable storage medium
CN113053531B (en) Medical data processing method, medical data processing device, computer readable storage medium and equipment
US9900331B2 (en) Log tracing apparatus and non-transitory computer-readable medium storing a log tracing program
US9275358B1 (en) System, method, and computer program for automatically creating and submitting defect information associated with defects identified during a software development lifecycle to a defect tracking system
JP7211427B2 (en) Information processing device, control method, and program
CN109522211B (en) Interface parameter transmission method and device, electronic equipment and storage medium
CN112732547A (en) Service testing method and device, storage medium and electronic equipment
CN110727537A (en) Method and device for uniformly processing response message, computer equipment and storage medium

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