Method and device for automatically detecting interface service abnormity

An interface service and automatic detection technology, applied in the field of computer networks, can solve problems such as interface input or output parameters mismatch, maintenance work inefficiency, test interruption, etc., to reduce repetitive work, increase work flexibility, and reduce communication costs Effect

Inactive Publication Date: 2017-01-04
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In either case, it is very passive for testers. If multiple modules use the same interface, and multiple modules correspond to different testers, then there will be multiple testers who may be testing at the same time. While investigating issues due to the same interface
[0005] 2. Inefficient maintenance of third-party interfaces
[0008] The system contains multiple third-party interfaces. Due to network abnormalities or other environmental reasons, multiple interfaces are interrupted at the same time, and multiple interfaces work serially. Due to the passive discovery of interface problems and the inefficiency of maintenance work, resulting in All interface exception handling links are repetitive tasks
[0009] 4. Too much manual communication work
[0010] During the joint debugging test, it is often found that the test is interrupted due to the mismatch of the input or output parameters of the two interfaces. In this case, the communication time between the two parties will occupy more than 50% of the actual joint debugging time.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for automatically detecting interface service abnormity
  • Method and device for automatically detecting interface service abnormity
  • Method and device for automatically detecting interface service abnormity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0030] The following is an example of a method for automatically detecting exceptions in third-party interface services, such as Figure 1-3 As shown, the method mainly includes the following steps S10-S40:

[0031] S10: Read the system configuration file.

[0032] S20: Read the IP address of the third-party interface.

[0033] S30: Determine whether the network of the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for automatically detecting interface service abnormity. The method comprises the following steps: reading a system configuration file; reading an interface IP address; judging whether a network at the interface is normal, if the network is normal, analyzing a result of requesting an interface URL address and recording a detected interface log report; if the network is abnormal, directly recording the detected interface log file; judging whether an undetected interface is existent, if the undetected interface is inexistent, judging whether to send the log report to test or development related personnel; if the undetected interface is existent, returning to continuously read the system configuration file; if the interface is abnormal, sending the log report to the test or development related personnel; if the interface is normal, directly ending the task. The technical scheme disclosed by the invention can be applied to automatically detecting a third-party interface in system initialization, and can be applied to automatically detecting the third-party interface when the system is in interface abnormity.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method and device for automatically detecting interface service anomalies. Background technique [0002] In order to improve the coupling of the system, many internal and external interfaces will be provided between the systems. These interfaces are maintained by other teams, and the testers test or jointly debug the interfaces during the test process and communicate with the third-party interface maintenance team. Time plays a large part in the project software testing life cycle. At present, when there is a problem with system interruption, the following measures are generally taken: manually check the system log, locate the specific third-party interface, and initially investigate the cause of the problem. There are mainly two situations: one is the problem of the system, and the system Relevant personnel locate and track and solve problems; the other is third-par...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L12/24
Inventor 齐彩会
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products