Font Size: a A A

Design And Implementation Of Interface Testing System Based On TestNG Framework

Posted on:2017-07-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y LuoFull Text:PDF
GTID:2428330569985069Subject:Software engineering
Abstract/Summary:PDF Full Text Request
At present,the testing for Web System is most dependent on the functional test.But it also needs to perform multiple different ways of testing the software quality,including the interface testing and security testing etc..On the current market innovation of the Web project,frequent changes in demand,version iteration too fast,short development cycle,make the interface test work heavy.So in order to use the limited human resources to realize the interface test,need to provide effective and easy to master interface testing system,enables testers to quickly master and use,to effectively complete the task of interface testing.Based on two dimensional community system interface testing requirements,firstly,introduce the community system,then the interface testing requirements of the community system are analyzed in detail,distinguish the request method according to the interface sending request methods,in addition the response data format includes two types of HTML and JSON data.Based on the above requirements,the frame of the interface testing system is designed,because of TestNG framework is simple,efficient and easy to use.So using the TestNG+Ant+Maven Structure to implement the system.Test data is stored in relational database MySQL,and in the interface test system database design part gives the system the system database E-R diagram model and the table structure design.The system sends the data request to the server by sending the HTTP request through the simulation,the server receives the request to determine whether the content is correct,and return the corresponding response result.If the request is successful,return data includes HTML and JSON data,provides the corresponding analytical method.The interface test system takes into account the characteristics of the tested community system and the ability of testers,therefore,the generic method and difficult operation are encapsulated,when designing the test case,testers only need to call the corresponding method,maximum reduction of test personnel coding work.Because most of the Web project has a lot in common,So this interface test system can be reused in other Web project interface test.
Keywords/Search Tags:TestNG framework, Interface test, Software quality
PDF Full Text Request
Related items