Jmeter非GUI命令参数说明
查看帮助
-h, --help
print usage information and exit
查看版本
-v, --version
print the version information and exit
指定读取Jmeter属性文件,例:jmeter.sh文件
-p, --propfile <argument>
the jmeter property file to use
指定运行的测试脚本名称与地址,可以是相对路径(文件在命令窗口当前路径下),也可是绝对路径
-t, --testfile <argument>
the jmeter test(.jmx) file to run
记录测试结果到文件,指定文件地址与名称,可以是相对路径(文件保存在命令窗口当前路径下),也可是绝对路径
-l, --logfile <argument>
the file to log samples to
设置JMeter日志文件的名称
-j, --jmeterlogfile <argument>
jmeter run log file (jmeter.log)
非GUI方式运行
-n, --nongui
run JMeter in nongui mode
以服务器方式运行
-s, --server
run the JMeter server
设置代理,一般填写代理IP
-H, --proxyHost <argument>
Set a proxy server for JMeter to use
设置代理端口
-P, --proxyPort <argument>
Set proxy server port for JMeter to use
设置非代理主机列表
-N, --nonProxyHosts <argument>
Set nonproxy host list (e.g. *.apache.org|localhost)
代理账号
-u, --username <argument>
Set username for proxy server that JMeter is to use
代理口令
-a, --password <argument>
Set password for proxy server that JMeter is to use
定义jmeter属性,等同于在jmeter.properties中进行设置
-J, --jmeterproperty <argument>=<value>
Define additional JMeter properties
定义jmeter属性,等同于在Global.properties中进行设置,线程间可以共享
-G, --globalproperty <argument>=<value>
Define Global properties (sent to servers)
e.g. -Gport=123
or -Gglobal.properties
定义系统属性,等同于在system.properties中进行设置
-D, --systemproperty <argument>=<value>
Define additional system properties
加载系统属性文件
-S, --systemPropertyFile <argument>
additional system property file(s)
定义jmeter日志级别
-L, --loglevel <argument>=<value>
[category=]level e.g. jorphan=INFO or jmeter.util=DEBUG
开启远程负载机(非GUI方式),远程机器列表在jmeter.properties中指定
-r, --runremote
Start remote servers (as defined in remote_hosts)
指定负载机IP,此选项会覆盖jmeter.properties中指定
-R, --remotestart <argument>
Start these remote servers (overrides remote_hosts)
指定Jmeter Home目录
-d, --homedir <argument>
the jmeter home directory to use
停止远程执行
-X, --remoteexit
Exit the remote servers at end of test (non-GUI)
指定已存在的测试结果文件
-g, --reportonly <argument>
generate report dashboard only, from a test results file
测试结束后,生成测试报告
-e, --reportatendofloadtests
generate report dashboard after load test
指定测试报告的存放位置
-o, --reportoutputfolder <argument>
output folder for report dashboard
Jmeter非GUI命令参数说明的更多相关文章
- Jmeter 非 GUI 命令行执行脚本文件
https://www.cnblogs.com/yebaofang/p/9803273.html
- Jmeter非GUI运行,生成html报告
一.JMete执行方式 JMeter执行方式有2种,一种是GUI模式,一种是非GUI模式.GUI模式就是界面模式,非GUI模式就是命令行模式.界面模式主要用来编写和调试脚本用的,项目的真正执行最好是采 ...
- jmeter非GUI界面常用参数详解
压力测试或者接口自动化测试常常用到的jmeter非GUI参数,以下记录作为以后的参考 讲解:非GUI界面,压测参数讲解(欢迎加入QQ群一起讨论性能测试:537188253) -h 帮助 -n 非GUI ...
- Jmeter非GUI界面对阿里云服务器压测
一.Jmeter非GUI界面 参数讲解 讲解:非GUI界面,压测参数讲解 -h 帮助 -n 非GUI模式 -t 指定要运行的 JMe ...
- jmeter非gui之shell脚本
非gui运行脚本,如果目录非空,会报不能写的错 可以通过shell脚本来处理: #!/bin/bash filename=`date +'%Y%m%d%H%M%S'` if [ -d /root/te ...
- jmeter非GUI的运行命令
jmeter 的参数 参数说明: -h 帮助 -> 打印出有用的信息并退出 -n 非 GUI 模式 -> 在非 GUI 模式下运行 JMeter -t 测试文件 -> 要运行的 JM ...
- Jmeter:非 GUI 命令行执行脚本文件
介绍 进行性能测试时,Jmeter 官方文档声明是不建议在 GUI 执行的,此时需要用到命令行. 第一步:环境配置 把 Jmeter安装目录\bin 添加到 系统环境变量path 第二步:命令参数 - ...
- jmeter非GUI模式命令
一.如果没有.jtl文件,运行如下命令: jmeter -n -t baidu.jmx -l result.jtl 以非GUI形式运行Jmeter脚本jmeter -n -t baidu.jmx -l ...
- jmeter非GUI(cmd命令行)模式的压测和输出测试报告
1.非GUI模式的压测,和GUI有啥不同? 2.非GUI模式怎么搞? 大家打开jmeter的时候,都会看到这个界面: 注意看这句话: Don't use GUI mode for load testi ...
随机推荐
- 论文笔记:Progressive Differentiable Architecture Search:Bridging the Depth Gap between Search and Evaluation
Progressive Differentiable Architecture Search:Bridging the Depth Gap between Search and Evaluation ...
- P3393 逃离僵尸岛
P3393 逃离僵尸岛 啊.好久不写dij手都生了 这道题就是预先处理出是否是危险城市,然后跑一个最短路就行了 然后因为我感觉这个对时间要求不大紧.判断危险城市时就写了个电风扇(DFS) 然后T飞了呜 ...
- 【洛谷P1073】[NOIP2009]最优贸易
最优贸易 题目链接 看题解后感觉分层图好像非常NB巧妙 建三层n个点的图,每层图对应的边相连,权值为0 即从一个城市到另一个城市,不进行交易的收益为0 第一层的点连向第二层对应的点的边权为-w[i], ...
- Android学习笔记_68_ android 9patch 图片
http://meiyitianabc.blog.163.com/blog/static/10502212720115354948909/
- iOS程序的启动原理
一.在一些老的项目中,有很多不是通过代码添加窗口和跟控制器.是通过设置MainInterface(设置最主要的xib),在xib中通过图形化的操作设置应用程序的代理->设置窗口->设置根控 ...
- normal 普通身份 sysdba 系统管理员身份 sysoper 系统操作员身份 dba和sysdba
as sysdba 就是以sysdba登录,oracle登录身份有三种:normal 普通身份sysdba 系统管理员身份sysoper 系统操作员身份每种身份对应不同的权限 sysdba权限:●启动 ...
- 什么是OR映射?
实体对象采用的是面向对象技术,它表达实体的关系是用关联.继承.而RDBMS 是遵循关系的范式理论构建的二维表,主要采用主键和外键的关联方式.因此,对象模型与数据库模型是不一致的,需要在两者之间进行变换 ...
- 工具类(过滤接口空值, value 或 空字符串) - iOS
为了便于日常开发效率,因此创建了一些小的工具类便于使用.具体 code 如下:声明: #import <Foundation/Foundation.h> #import <UIKit ...
- 数组reduce方法以及高级技巧
基本概念: reduce()方法接收一个函数作为累加器,数组中的每个值(从左到右)开始缩减,最终为一个值. reduce为数组中的每一个元素依次执行回调函数.不包括数组中被删除或从未赋值的元素,接受两 ...
- DevOps - 配置管理 - Ansible
http://www.zsythink.net/archives/category/运维相关/ansible/