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

Automatic interface testing method and server

A technology of automated testing and interface testing, which is applied in the field of communication, can solve the problems that there is no good solution for multi-person synchronous testing and batch execution of automated use cases, and the interface automation testing that does not support C/S structure, etc., to improve the pass rate and the success rate of transplantation, improve the efficiency of interface testing, and reduce the effect of error rate

Inactive Publication Date: 2011-09-14
HUAWEI SOFTWARE TECH
View PDF5 Cites 26 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 automated testing method and server, which are used to solve the automated testing of the interface of the C / S structure that the automated testing tool does not support in the prior art, and it is not very difficult for the batch execution of multi-person synchronous testing and automated use cases The problem of a good solution is to realize the automated testing of the interface based on the browser / server (Browser / Server, referred to as: B / S) structure

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 server
  • Automatic interface testing method and server
  • Automatic interface testing method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0019] figure 1 The flow chart of the interface automation testing method provided for an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0020] Step 101: the server receives the test request sent by the client browser, and assigns a unique test identifier for this test;

[0021] Wherein, the client browse...

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 provides an automatic interface testing method and a server. The method comprises that: a server receives a testing request from a client browser, and allocates a unique testing identifier to a test; the server receives an interface testing message and expected results of the test from the client browser; the server establishes connection with a business operation support system (BOSS) interface platform according to the interface testing message to make the BOSS interface platform obtains test response results of the test according to the interface testing message and return the obtained test response results to the server; and the server compares the test response results with the expected results to acquire a result indicating whether the test is successful or not. The server comprises an allocation module, a test execution module and an acquisition module. By the scheme provided by the invention, the automatic interface test and instance test standardization can be effectively realized.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communication, and in particular to an interface automation testing method and a server. Background technique [0002] With the continuous development of mobile services, the types and numbers of interfaces between its Business Operation Support System (BOSS for short) and surrounding peripheral platforms are also increasing. The work of interface testing becomes more and more important. Most of the existing interfaces are interfaces of socket (based on byte stream) Socket (Stream) protocol or interfaces of hypertext transmission (based on Extensible Markup Language) HTTP (XML) protocol. For the test of the interface of the Socket (Stream) protocol or the interface of the HTTP (XML) protocol, most of the current testing tools are based on the structure of Client / Server (Client / Server, referred to as: C / S), which makes it difficult for each The interface of a protocol requires a...

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): H04L12/26H04L29/08
Inventor 张万东
Owner HUAWEI SOFTWARE TECH
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