Does this give you extra (unwanted) space?:
String authString = Basic 2: + ${newDate2} + : + ${timehash};
vars.put(authorizationString,authString);
zK
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Colon-in-string-concatenation-inserts-a-space-tp4457644p4457989.html
Yes, it gives a space after the first colon. I'm using the Jmeter Rest
Sampler. Maybe there is a parse issue in the Header.
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Colon-in-string-concatenation-inserts-a-space-tp4457644p4459014.html
Sent from the JMeter - User
I couldn't reproduce your issue, so I hard coded the problem!!
This is the solution I came up with (maybe it helps?):
String authString = Basic 2 + : +
${__jexl(vars.get(newDate2).replace( \,))} + : + ${timehash};
vars.put(authorizationString,authString);
zK
--
View this message in context:
On 6 June 2011 16:37, testerinCO cmola...@comcast.net wrote:
Yes, it gives a space after the first colon. I'm using the Jmeter Rest
Sampler. Maybe there is a parse issue in the Header.
The Rest Sampler is a 3rd party add-on; it is not released with Apache
JMeter, so please report any issues
or even deliberate feature
I think thats likely to be the case
http://www.faqs.org/rfcs/rfc2616.html
Each header field consists of a name followed by a colon (:) and the
field value. Field names are case-insensitive.
*The field value MAY be preceded by any amount of LWS, though a single
SP is
Thank you for your help.
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Colon-in-string-concatenation-inserts-a-space-tp4457644p4460675.html
Sent from the JMeter - User mailing list archive at Nabble.com.
6 matches
Mail list logo