4

I'm passing the url from the csv config to http request, I'm facing the following error message - 'Non HTTP response message: Illegal character in path at index 38:'

In the view results tree - Response code: Non HTTP response code: java.net.URISyntaxException Response message: Non HTTP response message: Illegal character in path at index 38: http://my.referrer.com/sweet/referral/ /

Rajesh G
  • 473
  • 3
  • 6
  • 20
  • Add more details. Screen shot of CSV File, CSV Data Config, HTTP Sampler, View Results Tree. – SAIR Aug 31 '19 at 08:18

1 Answers1

2

Most probably you're using the wrong location for the URL variable, you should place the variable under "Path" section of the HTTP Request sampler

enter image description here

"Server Name or IP" section is only for DNS hostname or IP address, you cannot have anything else there.

Check out Using Regular Expressions in JMeter article for example of parameterization of URL path.

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