pep*_*ght 4 performance jmeter performance-testing jenkins
我正在通过 jenkins 运行 JMeter,使用命令行选项进行性能测试。当我执行命令时,我已经写入一个 jtl 文件,例如:
java -jar Jmeter路径 -n -t jmx 文件 -l 日志文件
我还想将结果放入存储在另一个位置的另一个日志文件中,但我无法通过在 -l 命令后放置另一个路径或放入第二个 -l 来使其工作。有没有办法简单地做到这一点?
谢谢
检查这些选项。您应该使用选项“-j”。这对我来说可以。
-n This specifies JMeter is to run in non-gui mode 
-t [name of JMX file that contains the Test Plan]. 
-l [name of JTL file to log sample results to]. 
-j [name of JMeter run log file]. 
-r Run the test in the servers specified by the JMeter property "remote_hosts" 
-R [list of remote servers] Run the test in the specified remote servers
| 归档时间: | 
 | 
| 查看次数: | 5512 次 | 
| 最近记录: |