简体   繁体   English

将Jmeter测试自动化为计划任务

[英]Automating Jmeter tests as a scheduled task

I am using jmeter to do some performance testing on my site. 我正在使用jmeter在我的网站上进行一些性能测试。 I will user ant to drive the jmeter tests. 我将使用ant来驱动jmeter测试。

Now the problem is I need to automate this process so I can run the test on a regular interval however the user does not have to be logged into the computer. 现在问题是我需要自动化这个过程,所以我可以定期运行测试,但用户不必登录到计算机。

It seems that you are looking for a continuous integration system. 您似乎正在寻找一个持续集成系统。

There are several available and on of the most popular of those is Jenkins 有几种可用,其中最受欢迎的是詹金斯

Those systems let you build/test/whatever you project whenever code is changed or a build is scheduled. 无论何时更改代码或安排构建,这些系统都允许您构建/测试/任何项目。

you can checkout how I automated the performance tests for one project here: 您可以在这里查看我如何自动化一个项目的性能测试:

http://ibalosh.tumblr.com/post/35475979058/running-jmeter-tests-with-jenkins http://ibalosh.tumblr.com/post/35475979058/running-jmeter-tests-with-jenkins

We used Jenkins as CI system, and JMeter for perofmance tests. 我们使用Jenkins作为CI系统,使用JMeter进行性能测试。

Igor 伊戈尔

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM