1
votes

I want to perform load testing, so need to access atleast 30 user names and password stored in excel or csv file, so how to do this using webdriver sampler in Jmeter.

1
Welcome to StackOverflow! Be sure to take the tour and visit the help center. What have you tried? Please post your code that doesn't work, SO isn't a 'write my code for me' service. - Michail

1 Answers

2
votes
  1. You can load a CSV file normally using CSV Data Set Config, JMeter will read the CSV file entries into JMeter Variables
  2. In the WebDriver Sampler you have WDS.vars shorthand for JMeterVariables class instance so if you defined username and password variables in the CSV Data Set Config you should be able to use them as WDS.vars.get('username') and WDS.vars.get(password') in the WebDriver Sampler correspondingly

    enter image description here