跳至主要内容

[Note] JMeter 筆記

user manual @ jmeter

使用 function

Functions and Variables @ jmeter

在 request 中可以透過 ${} 來帶入 JMeter 中提供的 function 或帶入自訂的變數。例如使用內建的 __counter() 函式:

# request
http://localhost:8080/ping?id=${__counter(false)}

Screen Shot 2020-11-12 at 2.22.31 PM