Font Size: a A A

Design And Implementation Of Automatic Test System For HTTP Interface

Posted on:2022-05-29Degree:MasterType:Thesis
Country:ChinaCandidate:D D YangFull Text:PDF
GTID:2518306476490814Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
Software testing,as a method to check whether the actual software product meets the expected requirements and ensure that the software product is free of defects,plays an important role in improving product quality.At present,methods such as agile development and continuous integration are widely used in the software development process,which shortens the development cycle but also limits the testing time of software products,which makes it difficult to guarantee product quality.And in line with the principle of user first,software requirements are frequently changed,and product versions are frequently released.Testers often need to spend a lot of time on different versions,doing repeated testing work,a great waste of time and human resources,which has a serious problem of inefficiency.In order to solve the above problems,it is necessary to change the repeated software function interface test operation from manual testing to system automation test,thereby reducing the time occupied in the software function interface test part.Through the analysis of the characteristics of a company's product testing requirements and related technical research,it is found that most of the software functional interfaces adopt the HTTP protocol,and the automated testing of software interfaces has a larger input-output ratio,so a Automated test system for HTTP interface is designed and implemented to achieve efficient testing and maintenance.In order to solve the technical difficulty of separation of test data and test execution logic.The system is designed into two parts: test case management platform and test case execution module.Among them,the test case management platform is a background management system,which developed based on Spring Boot+MyBatis+AngularJS to support data maintenance of automated testing,and mainly implements configuration management,test case management,task management,and report management functions.The test case execution module is based on the Unitest framework,which mainly implements functions such as running test cases,generating reports,and sending emails.After the system is deployed online,the operation results meet the requirements.Test cases are executed automatically without manual intervention,which is especially suitable for version regression testing.The system provides a visual test operation interface,automatically performs parameter verification and generates test reports,which greatly facilitates testers.By storing test cases in the database,unified management and sharing by the interface automated test management platform,the reuse rate of test cases is significantly improved.It also separates test cases and test execution logic,effectively reducing maintenance costs.
Keywords/Search Tags:automatic test, software interface test, HTTP, Spring Boot, unitest
PDF Full Text Request
Related items