Font Size: a A A

Research And Implementation Of Interface Automation Testing Framework Based On HTTP Protoco

Posted on:2024-04-18Degree:MasterType:Thesis
Country:ChinaCandidate:H B RenFull Text:PDF
GTID:2568307085952439Subject:Computer technology
Abstract/Summary:PDF Full Text Request
As the development of Internet technology,the proportion of software is increasing which was based on C/S and B/S architecture.In the process of data interaction between the client and the server,the interface as the middleware plays a key role.So as to maintain the reliability of the software quality,it is not only necessary to conduct functional testing,but also to ensure the normal function of each interface module.Interface testing has also developed from the original manual testing to automated testing.However,along with agile development arrival,the scale and update frequency of software are improving,and the existing testing tools are difficult to meet the requirements of interface testing in terms of flexibility and efficiency.The purpose of this paper is to design an interface automation testing framework based on HTTP protocol,which is applicable to most software developed based on HTTP protocol for interface automation testing.This paper encapsulates each node in the interface test process into modules in the framework,which are interface management module,data drive module,test data generation module,business processing module,log configuration module and public tools module.The innovation points of this paper mainly include:Profile based interface management technology.For purpose of improving the reusability of the framework and reducing the maintenance cost,the interface management module of the framework uses external files to store interface information.The module drives external files to form corresponding interface management objects.The unified management and maintenance of interfaces are carried out in the form of files,so as to achieve the isolation of test data,business logic and interface information.Test the data generation algorithm.In the test data generation module,the method of designing test data according to black box is implemented,and the improved simulated annealing algorithm is invoked by one-test-at-a-time(OTT)strategy with priority to generate test data.The expected result model is established based on support vector machine.This model generates the expected results in test cases,which can help testers predict the expected results in the interface test with large test data,and improve the automation of the framework.
Keywords/Search Tags:interface testing, automated testing frameworks, test data generation
PDF Full Text Request
Related items