【发布时间】:2019-08-19 01:47:47
【问题描述】:
I would like to achieve transactions per minutes at request level, what would be approach and how the script structure should look like ?
要求:
我总共有 67 个并发用户。
I need to achieve transaction per minute at each request level, all under same thread group. As per my requirement, my each HTTP sampler is a transaction. This is for API testing.
6 API requests under 6 simple controller.
My Script structure:
1. Test Plan
2. Thread Group
3. Simple Controller
i. HTTP Sampler
ii. Response Assertion.
iii. Boundary value Extractor
iv. Results Action Set Handler
4. View Results Tree
5. Summary Report
I have tried 2 ways:
Instead of simple controller, i have used throughput controller and used percent Executions.
I also had constant throughput timer.
Requirement:
In total i have 67 concurrent users.
I need to achieve transaction per minute at each request level, all under same thread group.
6 API requests under 6 simple controller.
My Script structure:
1. Test Plan
2. Thread Group
3. Simple Controller
i. HTTP Sampler
ii. Response Assertion.
iii. Boundary value Extractor
iv. Results Action Set Handler
4. View Results Tree
5. Summary Report
Example:
All API requests / http sampler falls under the same thread group and request should execute in the given sequence as correlation is in place.
API 请求 1 - 每分钟 152 个请求。 API 请求 2 - 每分钟 56 个请求。 API 请求 3 - 每分钟 32 个请求。 API 请求 4 - 每分钟 12 个请求。 API 请求每分钟 5 - 12 个请求。 API 请求每分钟 6 - 12 个请求。
Were i need to perform a load test and soak test as well with the above workload model.
【问题讨论】:
标签: transactions jmeter httprequest throughput jmeter-4.0