Application program interface testing method and device and electronic equipment
A technology of application program interface and program interface, which is applied to the test method of application program interface, its device and the field of electronic equipment, can solve the problems of low test efficiency of application program interface, achieve high-efficiency test, reduce manual processing, and solve the problem of low test efficiency. low effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] According to an embodiment of the present invention, an embodiment of a method for testing an application program interface is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases steps shown or described may be performed in an order different from that herein.
[0029] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing a testing method of an application program interface is shown. like figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more (shown as 102a, 102b, . A processing device such as a programmable logic device (FPGA...
Embodiment 2
[0058] According to an embodiment of the present invention, there is also provided a device for implementing the above-mentioned testing method for an application program interface, Figure 4 is a structural block diagram of a testing device for an application program interface according to Embodiment 2 of the present invention, such as Figure 4 As shown, the device includes: a receiving module 302, a reading module 304, a decrypting module 306, an obtaining module 308, and a testing module 310. The device will be described in detail below.
[0059]The receiving module 302 is configured to receive the configuration file and the data corresponding to the target requester and the test data, wherein the test data is used to simulate the encrypted processed request data sent by the target requester to the target application program interface, and the configuration file includes and Multiple application numbers corresponding to multiple requesters one-to-one, and multiple key info...
Embodiment 4
[0075] Embodiments of the present invention may provide an electronic device, which may be a terminal or a server. In this embodiment, the electronic device as a terminal may be any computer terminal device in the computer terminal group. Optionally, in this embodiment, the above-mentioned terminal may also be a terminal device such as a mobile terminal.
[0076] Optionally, in this embodiment, the above-mentioned terminal may be located in at least one network device among multiple network devices of a computer network.
[0077] Optionally, Image 6 It is a structural block diagram of a terminal according to an exemplary embodiment. like Image 6 As shown, the terminal may include: one or more (only one shown in the figure) processors 41, and a memory 42 for storing instructions executable by the processors; wherein the processors are configured to execute the instructions to implement the above applications Test methods for program interfaces.
[0078] The memory can be...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com