Use database table as CSV dataset for JMeter -


i doing performance testing jmeter application in company. application requires login , have use multiple users. way done in jmeter seems via csv dataset, have access database , can read credentials there directly.

since test environment, users have same password, can hardcode it, need list of usernames. jmeter can jdbc requests, wondering if there way use results such request dataset.

the ideal way me query database usernames , use input login test.

does know if possible?

sure, possible.

  1. follow steps the real secret building database test plan jmeter establish jdbc connection , execute query.
  2. define variable in "variable name" input of jdbc request sampler

variable name 3. query results available in form of

actor_1=john actor_2=doe etc. 

results

if need deal several columns, approach same. see official documentation on jdbc request sampler example


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -