确定性能测试场景

Identify Performance Test Scenarios

我计划为教育领域相关应用程序执行性能测试场景。 它有一些主要功能如下 - 创建学校,配置学校设置 - 创建课程课程计划并创建和发布课程和资格 - 有时间表的老师和学生 - 教师教学功能 - 学生学习功能

我对教师教学和学生学习场景进行了大约 5000 个用户请求的负载测试。但是我不知道如何进行性能测试。测试场景是什么。请任何人都可以分享任何性能测试计划或指导来执行负载测试+性能测试场景

行为良好的负载测试必须尽可能接近真实(或预期)的应用程序使用情况,因此您需要询问学校的数量,每所学校 teachers/students 的数量,[=17 的数量=],想想 "peak" times (for example the system unlikely to be actively used during nights or weekends but on Monday morning pretty much everyone will log in and start doing/checking something). It is better to reach out to stakeholders for non-functional requirements 澄清,企业主应该比来自 Internet 的匿名人士更清楚如何使用他们的产品

JMeter 的 Thread Group represents a logical (or business) independent group of users, for example you can have one Thread Group for teachers and another Thread Group for students. As their behavior and footprint are different they should be separated. Students in their turn can be split into sub-groups like technical or applied arts or whatever. You can check Running JMeter Samplers with Defined Percentage Probability 文章了解更多详细信息。