Phanix

Just writing

Jmeter increase the user defined variable in loop 迴圈中遞增使用者自定變數

發布於

直接看圖說故事…

<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
首先在loop外增加一個 user defined variable,並在迴圈內最後一個 http request 內加一個 BeanShell PostProcessor

<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
給定value

<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
做increament

<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
使用 user defined variable

<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
兩次迴圈看 request 驗證

發布評論

看不過癮?

一鍵登入,即可加入全球最優質中文創作社區