jmeter - Jmeter - 在线程内连续而不是同时运行请求
问题描述
如何使用 Jmeter(一个接一个)在线程内连续而不是同时运行请求。我想一次实现以下一个。
Thread 1 - Create Product
Create Product
Create Product
Create Product
Create Product
Create Product
Create Product
Create Product
Create Product
Create Product
Create Product
Thread 2 - Get Product by Id
Get Product By Id
Get Product By Id
Get Product By Id
Get Product By Id
Get Product By Id
Get Product By Id
Get Product By Id
Get Product By Id
Get Product By Id
Get Product By Id
Thread 3 - Get All Products
Get Products
Get Products
Get Products
Get Products
Get Products
Get Products
Get Products
Get Products
Get Products
Get Products
我已经意识到我正在使用一种非常糟糕的方法,我该如何实现呢?这就是我所做的:
解决方案
建议是使用 ONE 线程配置 TG,并使用循环(在 TG 内)连续执行请求,无论您需要什么请求。
推荐阅读
- sql - 随机化主键与字符值
- javascript - 带有 D3 图表的 React 组件渲染次数过多
- java - 澄清将并行性应用于计算目标单词出现次数的程序意味着什么
- apache-kafka - Kafka Producer 重试尝试
- amazon-web-services - 将 EC2 实例移动到不同的 VPC
- reactjs - 反应使用列表中的 FullCalender
- php - php 函数默认参数传递 bool
- python - 在找到第 n 个完美幂数时优化运行时间
- c# - 如何使用 FluentMigrator 将值更新为 null
- google-assistant-sdk - Google Assistant Action 无需语音触发即可向 Assistant 发送消息