Jmeter arguments detailed

Detailed thread group parameters: 
1. Number of threads: number of virtual users. A virtual user occupies one process or thread. How many virtual users set up where the number of threads is set. 
2. Ramp-Up Period (in seconds ) to prepare a long time: the number of virtual users to set how long it takes all started. If the number of threads is 10, when preparing length of 2, you need 2 seconds to start 10 threads, that is, five threads per start. 
3 cycles: each thread transmission request times. If the number of threads 10, 100 cycles, each thread 100 requests the transmission. The total number of requests is 10 * 100 = 1000. If you check the "Always", then all threads will always send a request to opt out of running a script. 
4. Delay Thread creation until needed: when you need to create a thread until the delay. 
5. Scheduler: thread group start time and end time of startup (when configuring a scheduler always need to check the number of cycles) 
Duration (sec): The duration of the test, the end time will cover the 
start delay (seconds): Test delayed start time, start time will cover the 
start-up time: test start time, start delay will cover it. When the start time has passed, just manually test the current time will be covered by it. 
End time: end of the test period, the duration will cover it.

=======================================================================================================================================

Http request main arguments detailed:

    1. Web服务器 
      协议:向目标服务器发送HTTP请求协议,可以是HTTP或HTTPS,默认为HTTP 
      服务器名称或IP :HTTP请求发送的目标服务器名称或IP 
      端口号:目标服务器的端口号,默认值为80 
      2.Http请求 
      方法:发送HTTP请求的方法,可用方法包括GET、POST、HEAD、PUT、OPTIONS、TRACE、DELETE等。 
      路径:目标URL路径(URL中去掉服务器地址、端口及参数后剩余部分) 
      Content encoding :编码方式,默认为ISO-8859-1编码,这里配置为utf-8
    2. 同请求一起发送参数 
      在请求中发送的URL参数,用户可以将URL中所有参数设置在本表中,表中每行为一个参数(对应URL中的 name=value),注意参数传入中文时需要勾选“编码”

=====================================================================================================================================

聚合报告参数详解: 

1. Label:每个 JMeter 的 element(例如 HTTP Request)都有一个 Name 属性,这里显示的就是 Name 属性的值 
2. #Samples:请求数——表示这次测试中一共发出了多少个请求,如果模拟10个用户,每个用户迭代10次,那么这里显示100 
3. Average:平均响应时间——默认情况下是单个 Request 的平均响应时间,当使用了 Transaction Controller 时,以Transaction 为单位显示平均响应时间 
4. Median:中位数,也就是 50% 用户的响应时间 
5. 90% Line:90% 用户的响应时间 
6. Min:最小响应时间 
7. Max:最大响应时间 
8. Error%:错误率——错误请求数/请求总数 
9. Throughput:吞吐量——默认情况下表示每秒完成的请求数(Request per Second),当使用了 Transaction Controller 时,也可以表示类似 LoadRunner 的 Transaction per Second 数 
10. KB/Sec:每秒从服务器端接收到的数据量,相当于LoadRunner中的Throughput/Sec

一般而言,性能测试中我们需要重点关注的数据有: #Samples 请求数,Average 平均响应时间,Min 最小响应时间,Max 最大响应时间,Error% 错误率及Throughput 吞吐量。

Guess you like

Origin www.cnblogs.com/zhaoyq/p/10944080.html