1. Thread rate is distributed in Ultimate Thread Group
2. Iteration rate is distributed in Free-Form Arrivals Thread Group
3. Request (Samples) rate is distributed in Throughput Shaping Timer
How to download “Throughput Shaping Timer” plug-in?
1. Click on the link to download Throughput Shaping Timer
2. Unzip the folder
3. Copy the file jmeter-plugins-cmn-jmeter-<version>.jar to lib folder of Apache JMeter
apache-jmeter-<version> –>lib –> Paste jmeter-plugins-cmn-jmeter-<version>.jar
4. Copy the files jmeter-plugins-tst-<version>.jar and jmeter-plugins-manager-<version>.jar to ext folder of Apache JMeter
apache-jmeter-<version> –>lib –>ext -> Paste jmeter-plugins-tst-<version>.jar and jmeter-plugins-manager-<version>.jar
2. Unzip the folder
3. Copy the file jmeter-plugins-cmn-jmeter-<version>.jar to lib folder of Apache JMeter
apache-jmeter-<version> –>lib –> Paste jmeter-plugins-cmn-jmeter-<version>.jar
4. Copy the files jmeter-plugins-tst-<version>.jar and jmeter-plugins-manager-<version>.jar to ext folder of Apache JMeter
apache-jmeter-<version> –>lib –>ext -> Paste jmeter-plugins-tst-<version>.jar and jmeter-plugins-manager-<version>.jar
That’s it!
Please note .jar file version may change as per plug-in update.
How to open/add “Throughput Shaping Timer” in Test Plan?
1. Select "Test Plan" node
2. Right click on "Test Plan" node
3. Mouse hover "Add"
4. Mouse hover "Timer"
5. Click "jp@gc - Throughput Shaping Timer"
How to configure Work Load using "Throughput Shaping Timer"?
1. Let's consider, the requirement is to create a spike test to check 150 requests and 300 requests load at the different time. The average load is 100 RPS.
2. Click on Add Row button to add rows to prepare the scenario.
2. Click on Add Row button to add rows to prepare the scenario.
3. Please refer to the configuration given below:
How to remove “Throughput Shaping Timer”?
2. Right click on "jp@gc - Throughput Shaping Timer" node
3. Click "Remove" (Mouse) or "Delete" button from keyboard
4. Click "Yes"
What are the attributes of “Throughput Shaping Timer”?
a. Name: To provide Timer name.
b. Comments: To provide an arbitrary comments
c. Requests Per Second (RPS) Schedule: To simulate the scenario as per requirement.
d. Start RPS: The start count of requests per second.
e. End RPS: The end count of request per second.
f. Duration, sec: The holding period in second.
g. Add Row: To add a new row.
h. Copy Row: To copy the selected row.
i. Delete Row: To delete the selected row.
Previous Topic:Apache JMeter - "Constant Throughput Timer" Element
Related Topics:
No comments:
Post a Comment