Auto KBT configuration using JMeter
Auto KBT configuration using JMeter
Click below link to download ReadMe document:
https://www.dropbox.com/s/kb199dqqj6g44s0/Auto%20KBT%20configuration%20using%20JMeter.docx?dl=0
Following steps are used to create auto KBT config using jmeter:
- Download jmeter from https://jmeter.apache.org/download_jmeter.cgi
- Right click on Test Plan and add Thread Group.
Test Plan -> add -> Threads (Users) -> Thread Group
- Both users and loop count should be 1 to create KBT configuration at once.
- Right click on Thread Group and HTTP Request
Thread Group -> add -> Sampler -> HTTP Request
- Enter protocol, IP address, port number, path like below to which URL you want to add as KBT.
And you should add the parameter ‘autoKBTName’ and value as what name you want to set as KBT name. (Note: Name should be <= 20 characters)
- Right click on Thread Group and View Results Tree
Thread Group -> add -> Listener -> View Results Tree
- Click Run -> Start to run jmeter.
Before run jmeter: number of key business transactions = 1
After ran jmeter: number of key business transactions = 2
- Once KBT is created, you can do load run by setting up users count and loop count.
- End
-
Official comment
Hi Rajitha,
It is just a path of the url which we want to add as KBT.Example
URL: localhost:8082/JPetStore/shop/viewCategory.shtml?categoryId=FISH
Path: /JPetStore/shop/viewCategory.shtml?categoryId=FISH
In the above case it a path of the url from our sample application.Comment actions
Please sign in to leave a comment.
Comments
2 comments