Font Size: a A A

Design And Development Of Interface Automation Test Services And Test Report Generation Based On Microservices Architecture

Posted on:2020-12-19Degree:MasterType:Thesis
Country:ChinaCandidate:C YuFull Text:PDF
GTID:2428330596992277Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In recent years,the information industry has developed rapidly,and software has been widely used in all aspects of our work and life.The applications to be implemented are becoming more and more complex,and the code size is getting larger and larger.Companies are under increasing pressure to deliver high quality software and services.Therefore,quality control of software products is becoming the core of enterprise development and,thus,receiving more and more attention from the industry.With the accumulation of product features,development on a single-block application architecture with complex logic and module might cause problems such as application maintenance difficulties and the risk of release failure.Nowadays,micro-service architecture gets great attention as people must solve the contradiction between release time and fast update and delivery of software products.This paper discusses the design and implementation of interface automation test services and the generation of test report based on microservice architecture.The main innovations of this paper are as follows.Firstly,this paper introduces the basic ideas of the micro service architecture and completes the construction of the gRPC framework.The gRPC framework is a language-neutral,platform-neutral,open source RPC framework that is developed by Google.The gRPC framework uses ProtoBuf as a data serialization protocol.Meanwhile,it is based on HTTP/2 support which makes it having more development potential than other micro-service frameworks.Secondly,this paper introduces the overall idea of the interface automation test framework,and implements two services and automated test report generation based on the gRPC framework.The two services implemented in this article are HTTP request service and MySQL data operation service,which are basic services in automated testing.At the same time,verification is configured in each service.In this paper,implementation of the automated test report adopts the method of splicing the front-end page template with the collected back-end data.This method makes it easier and more intuitive to present test reports to users.We implement the design and development of related functions using the Python language according to the above technical architecture.These functions and modules have successfully passed the function and performance tests,which demonstrates that our work achieves the desired objective.
Keywords/Search Tags:software test, microservices, test report, interface automation test framework, python
PDF Full Text Request
Related items