use csv parameters in jmeter httprequest path

2019-01-27 01:40发布

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条回答
闹够了就滚
2楼-- · 2019-01-27 02:00

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

查看更多
登录 后发表回答