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

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, ability to interface test design, basic code writing ability, Basic ability to find defects, etc., so there are problems such as high requirements for testers, time-consuming and labor-intensive, low test efficiency, and low test code coverage

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

Embodiment Construction

[0031] refer to figure 1 Shown, be a kind of interface automation testing method based on simulated http request of the present invention, comprise the following steps:

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

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

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

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

[0036] E) Using user input rules to automatically generate test cases from the test data, parameter definitions and response data formats;

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

[0038] G) Verify the test case and feedback 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 test result with the correct interface will be returned if the content and for...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products