Test Plan:用来描述一个性能测试,包含与本次性能测试所有相关的功能。相当于一个solution
Tread Group:相当于一个Test case。分为1) setup thread group 2)teardown thread group 3)thread group
Test Fragment:测试片段,【右键 Test Plan - Add - Test Fragment - Test Fragment】,相当于一个公共的类
Module Controller:右键 Thread Group - Add - Logic Controller - Module Controller】,在Module To Run下面选择需要的Test Fragment 即可,以此来对Test Fragment进行调用。
Http Request:相当于一次对API的调用。
Tread Group下的View Result Tree来查看结果。具体结果在响应数据中。
CSV中的变量:
Recycle on EOF:数据读取结束的时候是否循环。
Stop thread on EOF:数据读取结束时是否停止线程。
JMeter文件路径结构:
bin下jmeter.bat是Windows的启动文件。
jmeter.sh是Linux和mac系统的启动文件。
docs下的api文件夹下有jmeter对外开放的接口,供二次开发使用。
lib下是jmeter这个软件使用的一些jar包。