Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I'm receiving the following error in jmeter 'Non HTTP response message: Illegal character in path at index 38:'

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/ /

like image 252
Rajesh G Avatar asked Oct 24 '25 17:10

Rajesh G


1 Answers

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.

like image 74
Dmitri T Avatar answered Oct 26 '25 18:10

Dmitri T