03 2020 档案

摘要:1.关注压测内存和CPU的使用 使用分布式压测 命令 举例:jmeter -n -t /Users/jack/Desktop/remote.jmx -r -l /Users/jack/Desktop/jtl/result.jtl -e -o /Users/jack/Desktop/result 2. 阅读全文
posted @ 2020-03-17 18:27 好好学习_liu 阅读(353) 评论(0) 推荐(0)
摘要:1.内存不够 启动后提示内存不够 “there is insufficient memory for the java runtime environment to continue” 修改运行时内存的使用量 编辑jmeter 搜索 : "${HEAP:="-Xms1g -Xmx1g -XX:Max 阅读全文
posted @ 2020-03-05 18:13 好好学习_liu 阅读(1095) 评论(0) 推荐(0)
摘要:Jmeter4.0分布式压测准备工作 1、压测注意事项 the firewalls on the systems are turned off or correct ports are opened. 系统上的防火墙被关闭或正确的端口被打开。 all the clients are on the s 阅读全文
posted @ 2020-03-05 16:37 好好学习_liu 阅读(231) 评论(0) 推荐(0)
摘要:需要在bin目录下面建一个result目录用来存放测试报告 压测命令: jmeter -n -t /usr/local/software/jmeter/temp/linux_users_api.jmx -l /usr/local/software/jmeter/temp/jtl/result.jtl 阅读全文
posted @ 2020-03-04 18:24 好好学习_liu 阅读(216) 评论(0) 推荐(0)
摘要:1.使用非GUI模式 jmeter -n -t test.jmx -l result.jtl 2.少使用Listener 如果使用-l参数,它们都可以被删除或禁用 3.只在脚本阶段使用 查看结果树,加载测试期间不使用 4.尽可能少使用断言,会消耗性能 5.如果需要大量数据,提前准备好放到CSV中,读 阅读全文
posted @ 2020-03-03 18:34 好好学习_liu 阅读(525) 评论(0) 推荐(0)
摘要:1.从服务器上把jtl文件“download”下来 2.使用Jmeter的Summary Report (或者其他监听器),导入文件 查看结果 注:监听器的类型根据脚本中的输出的结果选择,一般为Summary Report 阅读全文
posted @ 2020-03-03 18:25 好好学习_liu 阅读(480) 评论(0) 推荐(0)