Font Size: a A A

Design And Implementation Of API Automatic Test System Based On Robot Framework

Posted on:2022-12-25Degree:MasterType:Thesis
Country:ChinaCandidate:L J TanFull Text:PDF
GTID:2518306773497574Subject:Insurance
Abstract/Summary:PDF Full Text Request
The API is a set of predefined functions in the layered architecture.In order to ensure good interaction between the various levels of the system through the interface,the interface needs to be tested in detail.In the actual interface testing work,the commonly used test programs such as Jmeter and Python are difficult for new testers,and it is difficult for Postman to manage test cases.In addition,these test tools all require testers to manually write test cases and scripts,and it is difficult to achieve resource sharing in team collaborative testing.Therefore,it is necessary to implement a simple and comprehensive interface automation testing system to solve the above problems and improve interface testing.work efficiency.This thesis conducts a detailed user research and analysis on the requirements of the interface automated testing system,mainly including user management,project management,custom keyword development,interface use case management,and interface testing modules,and studies some non-functional requirements of the system.By using this interface test system,testers and developers can efficiently manage the project under test,project members,project under test interface,interface use case scripts,etc.efficiently;the test system supports testers to automatically generate interface test cases through interface documents,the use case supports automatic generation of test scripts,so as to achieve efficient and fast interface testing through automated scripts;in addition,by developing custom keywords,it supports concise interface scripts and improves the usability of the test system.At the same time,the system has strong expansibility,and can expand the interface testing function of the existing system by adding custom keywords.The test system adopts the front-end separation mode for development and implementation,the construction of the front-end page is based on the lightweight Vue.js framework,the implementation of the back-end service uses the Python language and the powerful and flexible Django framework,the specific business interface adopts the Django REST Framework to write REST-style APIs,the system data storage uses a concise relational database My SQL,and the specific interface test function is based on Robot Framework is used for custom extension development and implementation.The realization of the API automated test system can improve the efficiency of the test work through the automated execution of test scripts,and improve the quality of the test work according to the tester's higher-quality test design,and at the same time promote the development of high-quality software products.Quality assurance and improvement are of great significance.
Keywords/Search Tags:Interface automation testing, Django, Robot Framework, custom keywords
PDF Full Text Request
Related items