Interface testing method and device

An interface testing and interface technology, applied in the field of interface testing methods and devices, can solve the problem of high maintenance cost of test cases, achieve the effects of good readability, good maintenance, and reduced maintenance costs

Pending Publication Date: 2019-08-06
MIGU CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides an interface testing method and device to solve the problem in th

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

Examples

Experimental program
Comparison scheme
Effect test

Example

[0107] -----------------Test template 1 corresponds to test case v2.xls

[0108] ----+case_dir2 /

Example

[0109] -----------------Test template 2 corresponds to test case v1.xls

Example

[0110] -----------------Test template 2 corresponds to test case v2.xls

[0111] ----+result_case_dir1 /

[0112] -----------------result_test template 1 corresponds to test case v1.xls

[0113] -----------------result_test template 1 corresponds to test case v2.xls

[0114] ----+result_case_dir2 /

[0115] -----------------result_test template 2 corresponds to test case v1.xls

[0116] -----------------result_test template 2 corresponds to test case v2.xls

[0117] ----testRobot.exe

[0118] Through the above example, it can be obtained that the testRobot.exe test engine file must be in the working directory of the excel file, and the test case file can be placed in the root directory or subdirectory of the working directory; in addition, the file name of the test case file can be arbitrarily appointed , But cannot start with result; in addition, the test result file name is: result_${corresponding to the test case file name}, for example, the test result file corresponding to the test cas...

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 embodiment of the invention provides an interface testing method and device. The method comprises the following steps of obtaining an excel file pre-stored with a test file, wherein the test filecomprises a test template file and a test data file corresponding to each test template in the test template file, the test template file is stored in at least one first worksheet page in the excel file, and the test data file is stored in at least one second worksheet page in the excel file; obtaining a target test template from the first set page, and obtaining a target test data file corresponding to the target test template from the second set page; and testing the http interface according to the target test template and the target test data file. According to the embodiment of the invention, the separation of the test template and the test data is realized, and the maintenance cost of the test case is reduced.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of software testing, in particular to an interface testing method and device. Background technique [0002] In the existing interface testing work, there are a large number of http interface testing scenarios. Among them, at present, when performing automated testing on the http interface, it is usually tested with the help of an automated testing framework (such as robot framework), which requires users to learn the test case specification of the framework, write test cases in the framework, and write a small amount of test cases if necessary. script code, and after making the test cases, the framework executes the test cases in batches to get the test results. [0003] However, this testing method has high learning costs, time-consuming test case writing, poor readability of test cases, and high test case maintenance costs. Contents of the invention [0004] Embodiments of 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
IPC IPC(8): G06F11/36
CPCG06F11/3672G06F11/3688
Inventor 李伟
Owner MIGU 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