Apache Jmeter incremental variable(自動產生變數)

starzodiac
Sep 30, 2021

--

最近在做 Java AP 的壓測,需要自動產生變數(incremental variable)來當作 DB query 的 input,查了一些作法,最簡單的方式如下:

1. 選擇計數器

2. 設定計數器的內容,例如變數名稱 -> counter

3. 使用變數

4. 執行!!(懶的截圖了XD)

另外,也有使用 user define parameter 的作法(但我自己沒有試成功),參考點這

ref:

https://www.blazemeter.com/blog/how-use-counter-jmeter-test

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response