Thursday, February 2, 2012

JMETER: using parameters from csv file

I wanted to parameterize my requests, like the login for example, to be able to use different users
looking for some help from the web I found this useful article
http://ivetetecedor.com/192/how-to-use-a-csv-file-with-jmeter
I followed the article, created users.csv file with user names and password like the below
user1, password
user2, password
etc…
Then added CSV Dataset Config to my requests, set it like below
image
Next i went to the request and changed the login info to ${user} and ${password}

No comments:

Post a Comment