Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use csv parameters in jmeter httprequest path

I want to use CSV Data Set Config to modify the path of a HTTP Request.

  • My CSV file:
    120,120
    121,121
    
  • My CSV variable names: paraa, parab.
  • My http request path: /my/path/with/?{paraa}/?{parab}/.

I tried and I failed.

Is there anyway to work this around?

like image 849
tdihp Avatar asked Dec 01 '22 01:12

tdihp


1 Answers

Seems that you incorrectly refer jmeter variables.
Try

/my/path/with/${paraa}/${parab}/

instead,
where ${paraa}, ${parab} refer corresponding values extracted in CSV Data Set Config:

enter image description here

like image 89
Aliaksandr Belik Avatar answered Dec 19 '22 13:12

Aliaksandr Belik