these are personal notes created for my reference
add >> CSV Data Set Config
how to call csv value in to variable ${UserName}
Generate random number in to variable ${__Random(0,79)}
can add Loop Controller to loop a request certain time
Use logic controller >> Trnsaction controller to group requests { if one request failed , controller shows as failed }
use logic controller >> simple controller to just organise requests
Add timer >> constant timer to create a delay in execution
Add logic controller >> IF controller to add logics ex :this will take calue of NumberOfOpenTasks and validate if it is equal to 1. if it is 1 then inside of the if controller will execute, else it will exit.
${__javaScript(${NumberOfOpenTasks} == 1)}
Post processor > Boundry extractor to extract values from response
in the request header values use Header manager.
if has form parameters add inside request body parameters , else use data body for things like json
--------------------------------------
get jmeter updates to influx db
1) install influx DB by executing the command in power shell command.
2) run the service by : C:\influxdb2\influxdb2_windows_amd64> .\influxd.exe
3) access server by http://localhost:8086/
4) Create a new bucket
5) Download and install Grafana , it start automatically
6) it runs in http://localhost:3000/login
-----------------
Open Jmater Project
7 ) Add Back End Listner
8 )
Add Parameter : influxdbUrl = http://localhost:8086/api/v2/write?org=local&bucket=Jmeter
Add Parameter {bucket token} : influxdbToken = nrGmU8pPHW_GvkOxQu4OqYEcmQDpzBCt7x1y_w98WigaN7x5tSmSv9JsP6C5y2QtaLBGZbyA8tiqbxTIIaTlMg
Influx DB Organization name
Generate a token for a bucket.
9) execute jmeter script and validate if data come to influx db
10) Log in to Graphana > Influx DB
Configure DB
Graphana >> Home >> Explore >> Sample Query > [Show buckets ( check bucket exists) ]
0 comments:
Post a Comment