jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gomes Rodrigues <ra0...@gmail.com>
Subject Space in URI
Date Sat, 11 Nov 2017 21:42:18 GMT
Hi,

According to
https://stackoverflow.com/questions/2593214/android-howto-parse-url-string-with-spaces-to-uri-object
and https://stackoverflow.com/questions/5442658/spaces-in-urls I understand
that no space are allowed in URI

IN JMeter if in HTTP Request Defaults I put a Server name with a space
(e.g. "httpbin.org ") and I execute a HTTP request (e.g http://httpbin.org
/ip) I have this error

Response code: Non HTTP response code: java.net.URISyntaxException
Response message: Non HTTP response message: Illegal character in authority
at index 7: http://httpbin.org /ip

Do we need to trim URI or replace space by %20 ?

If yes, is it ok to performance?

Antonio

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message