有没有一种方法可以自动的JMeter跑了多少testplans的 [英] Is there a way to automate Jmeter to run a number of testplans
问题描述
有没有一种方法可以自动的JMeter来运行一些测试计划?
假设我要进行实验,并与后另一单变场之一运行相同的测试,并报告节省了单独每个测试。
Is there a way to automate Jmeter to run a number of test-plans? Suppose I want to perform an experiment and run same test with single varying field one after the another, and reports saves for every test individually.
例如:通过改变斜坡上升时间执行多个测试
所以,我曾经启动它,离开它的几个小时
和复出看到的是进行整个实验。结果
我读的地方,ANT可以使用。
For example: perform a number of tests by varying the ramp-up time
so that I start it once and leave its for hours
and comeback to see the whole experiment is performed.
I read somewhere that ANT can be used.
推荐答案
我想提取相关变量.properties文件并执行每次路过不同的CFG文件名测试。 Jmeter.properties,user.properties,system.properties和类似的是你在找什么。
I'd extract relevant variables to .properties files and execute tests passing different cfg file name every time. Jmeter.properties, user.properties, system.properties and similar are what you are looking for.
这篇关于有没有一种方法可以自动的JMeter跑了多少testplans的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!