2

I am a Load Runner tester and would like to know how below requirements can be done in Jmeter.

  • Data parameterization - How can we implement unique and random data parameterization in Jmeter.

  • how do we get vuser id value for each virtual users in a Thread group?

  • If we need to initialize/load any data during vuser initialization (vuser_init() in load Runner) , how can we do it? Also, how do we call any function when vuser is ending, like vusr_end() in LoadRunner.

RKM
  • 47
  • 1
  • 5

2 Answers2

1

In Core JMeter:

  • For Data parameterization, use CSV DataSet , it will pick columns from CSV file and expose them as JMeter Variables you can use with ${varName}

  • To get user id, use jmeter function __threadNum()

  • There is no strict equivalent, for vuser_init you can use a Once Only Controller. For vuser_end, there is no equivalent

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116
-1
  1. For parameterization:

  2. __threadNum()
  3. Normally it is being done in:

Dmitri T
  • 159,985
  • 5
  • 83
  • 133