如何在JMeter中模拟每分钟的请求 [英] How to simulate requests per minute in JMeter

查看:596
本文介绍了如何在JMeter中模拟每分钟的请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要模拟每分钟的n个请求.我正在对5个不同的Web服务进行负载测试,每分钟应以不同的"n"个请求进行模拟.最好的方法是什么?我必须使用计时器吗?我可以将计时器附加到采样器还是应该仅将其附加到线程组?

I need to simulate 'n' number of request per minute. I am load testing 5 different webservices each of which should be simulated with different 'n' requests per minute. Which is the best way?. Do I have to use timers?. Can I attach a timer to a Sampler or should it be attached to a thread group only?.

推荐答案

添加线程组的恒定吞吐量计时器.

如果要为每个Web服务每分钟分别提供req值,则可以创建5个线程组和5个计时器.在一个测试计划中运行所有这些程序

If you want separate value of req per minute for each web service, you can create 5 thread groups with 5 timers. Run all of them in one Test Plan

资源:

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆