-->

use csv parameters in jmeter httprequest path

2019-01-27 01:34发布

问题:

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?

回答1:

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: