针对动态、开放、分布式网格环境动态组织资源的需要,提出了一种构建网格测试环境的基础架构——网格测试引擎.该引擎支持测试项目动态的部署、更新和执行,支持基于故障紧急等级的预警和自动处理.采用令牌方式来控制目标服务的测试压力,通过令牌迁移实现分布式测试的负载平衡.在ChinaGrid环境下的实验结果表明,基于测试引擎架构所构建的监测环境,对主机系统影响不会超过1%,并可生成符合要求的测试压力,能够相对准确地测试网格资源与服务,反映目标服务性能的变化趋势.
Focusing on the requirements of dynamically organizing resources in dynamic, open, and distributed grid environment, an infrastructure for constructing grid test environment——grid testing engine is proposed, which supports dynamic deployment, update and execution of testing items as well as alarming and auto-handling based on the emergence category of fault. The test pressure of target service is controlled by using tokens and the load balance of distributed testing is realized by token migration. Experiments in ChinaGrid environment show that the impact of the test environment constructed by the grid testing engine on the host system performance is less than 1%,the environment can create test pressure in accord with demands, test resources and service exactly, and reflect the performance trend change.