Sunday, December 15, 2013

ZK JMeter: Loop Controller with AURequest


Simple Note

This script is modified from TestSimpleRecord.jmx at https://github.com/benbai123/ZK_Practice/tree/master/General/JMeter/jmeterTestingScript

* Counter Increment: 2, since there are 2 au requests under loop controller
 (i.e., Increment should match the amount of au requests under loop controller)

* Use ${ZSID_C} for ZK-SID of the 1st au request under loop controller,

* Use ${__intSum(${ZSID_C},1,ZSID_C)} for ZK-SID of the 2nd (and after if any) au requests under loop controller.

Pre-Request

Record JMeter Testing Script for ZK
http://ben-bai.blogspot.tw/2013/12/record-jmeter-testing-script-for-zk.html

Modify Demo

http://screencast.com/t/Uut8mUa3b0G

Download

Testing Project
https://github.com/benbai123/ZK_Practice/tree/master/General/JMeter/TestProjForJMeter

Demo Flash
https://github.com/benbai123/ZK_Practice/blob/master/General/JMeter/demo/AURequestLoop.swf

Jmeter Script
TestLoopAURequest.jmx at https://github.com/benbai123/ZK_Practice/tree/master/General/JMeter/jmeterTestingScript

No comments:

Post a Comment