jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: Space in URI
Date Sat, 11 Nov 2017 21:44:43 GMT
Hi Antonio,
My questions below.

On Sat, Nov 11, 2017 at 10:42 PM, Antonio Gomes Rodrigues <ra0077@gmail.com>
wrote:

> 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 ?
>
Why do you want to trim ?  To ease  users work ?

>
> If yes, is it ok to performance?
>
> Antonio
>



-- 
Cordialement.
Philippe Mouawad.

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