安装目录下

Apache JMeter2.13 实战

 

Apache JMeter2.13 实战

Apache JMeter2.13 实战

Apache JMeter2.13 实战

Apache JMeter2.13 实战

Apache JMeter2.13 实战

Apache JMeter2.13 实战

设置浏览器代理127.0.0.1 8080,以chrome为例

Apache JMeter2.13 实战

开始录制脚本,进入应用点击相应的功能,可以捕获到如下地址

Apache JMeter2.13 实战

去除无用地址,保留需要测试的地址

Apache JMeter2.13 实战

注:上图编号列表中11为获取cookie请求,不能删除,否则下边的要测试的queryVoteLog请求会因为没有cookie而无法执行

保存测试计划

添加监控图表

Apache JMeter2.13 实战

Apache JMeter2.13 实战

以上说明基本配置全部OK,下面开始压力测试配置

Apache JMeter2.13 实战

线程数:并发数

Ramp-up period: 上面配置的线程数在多长时间以内发起,如:线程数10,ramp-up:1,表示1秒内发起10个请求

 

相关文章:

  • 2021-08-15
  • 2021-11-19
  • 2021-11-24
  • 2021-09-24
  • 2021-10-14
  • 2021-05-31
猜你喜欢
  • 2021-11-29
  • 2021-10-10
  • 2022-02-14
  • 2021-12-16
  • 2021-05-28
  • 2021-08-30
相关资源
相似解决方案