jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gomes Rodrigues <ra0...@gmail.com>
Subject Re: Space in URI
Date Sat, 11 Nov 2017 21:51:37 GMT
2017-11-11 22:44 GMT+01:00 Philippe Mouawad <philippe.mouawad@gmail.com>:

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

Yes

Last time I have accidentally put a space and I need use View Results Tree
to find it (it was easy and quick, but a newbee will make more time to find
it)

>
> >
> > If yes, is it ok to performance?
> >
> > Antonio
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>

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