Font Size: a A A

Design And Implementation Of A Virtual Machine Monitoring And Controlling System For Automated Testing

Posted on:2016-10-24Degree:MasterType:Thesis
Country:ChinaCandidate:B B ShiFull Text:PDF
GTID:2308330476953509Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the popularity of automated testing and the demand of the market, more and more companies begin to attach importance to test automation. While focusing on related theory and method, we should pay more attention to the testing environment establishment and management, which are the basis and guarantee for the software automated testing. With the diversity, variability and complexity of software environment, establishing testing environment becomes more and more complex and frequent.To solve these problems, this work designs and implements a virtual machine monitoring and controlling system for automated testing, based on an analysis of actual requirements and related technics. The system adopts B/S structure, written in C# language, obtains real-time monitoring data via vSphere API, establishes testing environment in form of virtual machine, and automatically adjust load balancing. The test and application results indicate that the system is feasible and effective.The main contents of this thesis include:(1)According to the problem existing in hardware resources allocation, this work puts forwards a load balancing strategy, which decides how to allocate resources by comparing user requirements with the amount of free resources of host.(2)For the great demand of testing environment, this work puts forwards an environment batch establishing strategy, which is based on template mechanism, by cloning different environment from different templates.(3)In order to obtain real-time monitoring data, this work puts forward a real-time data obtaining strategy, which sets up a monitoring agent using vSphere API to constantly obtain and update monitoring data.(4)On the basis of the above work, designs and implements a virtual machine monitoring and controlling system for automated testing. The core modules implemented include the testing environment management, virtual machine operation, monitoring and load balancing adjustment.(5)The test of the system contains function test and performance test. The result of function test indicates that the system realized all the functions planned in analysis phase. The performance test is mainly for load balancing adjustment mechanism, and the result shows that the mechanism is effective.
Keywords/Search Tags:automated testing, testing environment, virtual machine, load balancing, monitor
PDF Full Text Request
Related items