Unlock instant, AI-driven research and patent intelligence for your innovation.

Test script generation method, interface subscription/registration method and device

A test script and interface technology, applied in the network field, can solve the problems of low efficiency and high error rate in writing test scripts

Active Publication Date: 2021-01-26
CAINIAO SMART LOGISTICS HLDG LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a test script generation method, an interface subscription / registration method and device, to solve the problems of very low efficiency and high error rate in writing test scripts in related technologies

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
  • Test script generation method, interface subscription/registration method and device
  • Test script generation method, interface subscription/registration method and device
  • Test script generation method, interface subscription/registration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081] In order to make the technical problems, technical solutions and beneficial effects to be solved by this application clearer and clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0082] In order to solve the problems of very low efficiency and high error rate in writing test scripts in related technologies, the embodiment of the present application provides a method for generating test scripts, which can be applied to servers, but not limited to, the flow of the method Such as figure 1 shown, including the following steps:

[0083] S11: Obtain original description information of the interface to be tested.

[0084] At present, many systems have set up multiple interfaces for providing external services, and t...

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 application discloses a test script generation method, an interface subscription / registration method and a device, and the method relates to the field of network technology. The method includes: obtaining original description information of the interface to be tested; determining the selected category of the interface to be tested according to the original description information; assigning values ​​to the fields of the selected category; according to the value of the field of the selected category , the test script template corresponding to the original description information and the communication protocol of the interface to be tested, and generate the test script of the interface to be tested. In this solution, the test script of the interface to be tested can be automatically generated without writing by relevant technical personnel. Even if the number of fields of the interface to be tested is very large, the generation efficiency of the test script is very high, and the error rate is greatly reduced, avoiding the occurrence of fields Missing, errors, etc.

Description

technical field [0001] The present application relates to the field of network technology, in particular to a method for generating a test script, a method and a device for subscribing / registering an interface. Background technique [0002] With the rapid development of network technology, many service-providing systems have emerged, and these systems provide services to the outside through interfaces. In order to ensure that each interface of the system can work normally, after setting up each interface of the system, each interface needs to be tested. First, a test script for each interface is usually generated, and then the corresponding interface is tested using the generated test script. [0003] According to the generation method of relevant test scripts, the test scripts of each interface shall be written by relevant technical personnel. Some interfaces define a lot of fields, sometimes as many as 40 or 50 fields. When relevant technicians write test scripts for the...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 万俊杰
Owner CAINIAO SMART LOGISTICS HLDG LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More