Automatic interface testing method and system based on simulative http requests

An automated test and interface technology, applied in the mobile field, can solve the problems of time-consuming and labor-intensive, low test code coverage, low test efficiency, etc., and achieve the effect of high coverage and high-efficiency test work.

Active Publication Date: 2015-04-29
GUANGDONG NENGLONG EDUCATION
View PDF3 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The test case preparation and test execution process of the existing test requires high tester ability, code familiarity ability, ability to use the interface test framework, ability to build the interface test environment, abilit

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
  • Automatic interface testing method and system based on simulative http requests
  • Automatic interface testing method and system based on simulative http requests

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0031] reference figure 1 As shown, it is an interface automatic testing method based on simulated http request of the present invention, including the following steps:

[0032] A) Set user input rules required for testing;

[0033] B) The user inputs the test data for the target interface;

[0034] C) Submit a test request for the target interface;

[0035] D) Reflect the parameter definition and response data format of the target interface according to the configuration file;

[0036] E) Use user input rules to automatically generate test cases for the test data, parameter definitions and response data format;

[0037] F) Use the test case to generate and initiate a simulated http request;

[0038] G) Verify the test case and feed back the test result; this step is to verify the content and format of the test case respectively. The comparison answer during verification is preset, and the content and format meet the requirements at the same time, the test result of the correct interface ...

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 automatic interface testing method and system based on simulative http requests. The automatic interface testing system comprises a request center, an interface agency center and a verifying center. The request center requests for testing of certain interface to the interface agency center, the interface agency center transmits parameter definition and response data format of the interface to the request center, the request center matches the parameter definition and requests for http simulation of the appointed interface according to user-input rules, and the verifying center verifies formats and content of the response data. Users only need to set rules and input a few data, then accuracy and extensibility of the http interface can be automatically verified, and interface testing efficiency is greatly improved.

Description

technical field [0001] The invention belongs to the field of mobile technology, and in particular relates to an interface automation testing method and system based on simulated HTTP requests. Background technique [0002] The test process is generally divided into 5 steps: formulate test plan, prepare test cases, test execution, submit defects, and test evaluation report. [0003] Among them, the test case is to make a scientific organization and induction of the behavior activities of software testing, and the purpose is to transform the behavior of software testing into a manageable mode; at the same time, the test case is also one of the methods to quantify the test. Software, test cases are different. [0004] In the test execution stage, the purpose of this stage is very clear, which is to find defects, and urge everyone to find defects. The execution of test cases should help us find defects faster. Theoretically speaking, if the defects are found out, the quality ...

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
Inventor 余敬龙
Owner GUANGDONG NENGLONG EDUCATION
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