Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interface testing method and system

A technology of interface testing and interface, which is applied in the field of interface testing methods and systems, can solve problems such as long development cycle, and achieve the effects of speeding up testing, facilitating management and maintenance, and shortening the development cycle

Inactive Publication Date: 2016-10-12
SHANGHAI CTRIP COMMERCE CO LTD
View PDF6 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to overcome the defect that the testing method of the interface in the prior art not only has a long development period, but also requires the tester to be familiar with the test code of the test port, which leads to the inability to perform batch testing on the interface quickly, and provides a Interface testing method and system

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
  • Interface testing method and system
  • Interface testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] An interface testing method such as figure 1 shown, including:

[0065] Step 101, setting up a number of management accounts, the management accounts have the authority to import test interfaces and manage at least one candidate test case group. The candidate test case group includes several candidate test cases, and then step 102 is executed.

[0066] In another preferred embodiment of the present invention, step 101 can also be replaced by the following steps: pre-store several candidate test cases, divide the several candidate test cases into at least one candidate test case group, and provide The selected test case groups are assigned management accounts respectively, and the management accounts have the authority to import test interfaces and manage the assigned candidate test case groups, and then step 102 is also performed.

[0067] Step 102, import the test interface and identify the management account that imports the test interface.

[0068] Step 103, gener...

Embodiment 2

[0104] An interface test system such as figure 2 As shown, it includes: a management module 201 , an import module 202 , a node module 203 , a test case module 204 , a setting module 205 , a test suite module 206 , an operation module 207 and a report module 208 .

[0105] The management module 201 is used to set several management accounts, and the management account has the authority to import test interfaces and manage at least one candidate test case group, and the candidate test case group includes several candidate test cases.

[0106] In another preferred embodiment of the present invention, the management module 201 can also be replaced by: for pre-storing several candidate test cases, dividing the several candidate test cases into at least one candidate test case group, and for Each candidate test case group is assigned a management account respectively, and the management account has the authority to import test interfaces and manage the assigned candidate test case...

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 an interface testing method and system. The interface testing method comprises the steps of guiding in a testing interface; adding at least one testing case to the testing interface; setting a testing scene, wherein the testing scene comprises an execution sequence of the testing case and scene parameters; adding the testing case to at least one testing suite; operating the testing suite; according to an operation result of the testing suite, generating a report. According to the interface testing method and system, the defect that batch testing cannot be performed on interfaces rapidly in the prior art can be overcome, various interface technologies can be comprehensively supported, language, environment and other factors achieved by service interfaces are not limited, various kinds of interfaces are supported, and rapid testing on the interfaces for various different requirements can be achieved by arranging testing cases, testing scenes and testing suites.

Description

technical field [0001] The invention belongs to the field of software testing, in particular to an interface testing method and system. Background technique [0002] At present, most test teams test the interface based on programming to realize interface request assembly, sending, receiving and verifying the returned response message. Testers are required to understand programming techniques, and have in-depth understanding and experience of interface calling methods and verification methods. This method not only has a long development cycle, but also requires testers to be familiar with the test port test code, which makes it impossible to quickly perform batch tests on the interface. Contents of the invention [0003] The technical problem to be solved by the present invention is to overcome the defect that the testing method of the interface in the prior art not only has a long development period, but also requires the tester to be familiar with the test code of the te...

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): G06F11/36
CPCG06F11/3688
Inventor 张洁
Owner SHANGHAI CTRIP COMMERCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products