Windows
1.添加线程组,察看结果树,聚合报告
2.添加jdbc request,jdbc connection conflguratinon ,性能指标收集器
3.连接配置
4.添加CPU和内存检测并运行
5.运行结果
Linux
1.添加线程组,察看结果树,聚合报告
2.添加jdbc request,jdbc connection conflguratinon ,性能指标收集器
3.连接配置
4.添加CPU和内存检测
5.在窗口中依次输入:
/sbin/iptables -I INPUT -p tcp --dport 4444 -j ACCEPT
/etc/rc.d/init.d/iptables save (将修改永久保存到防火墙中)
ServerAgent服务端口号默认为4444,因此需要设置防火墙对此端口不拦截,开放Linux的对外访问的端口4444;
6.把ServerAgent-2.2.1.zip放入opt目录下,用 unzip ServerAgent-2.2.1.zip 进行解压,使用 ls 查看解压后的内容
7.用 ./startAgent.sh 执行文件
8.运行查看结果