https://bz.apache.org/bugzilla/show_bug.cgi?id=60714

--- Comment #11 from Frederic Girard <youri.andro...@gmail.com> ---
jmeter 3.1 :

GET
https://falcon-usr-rest.lotsys.corp/usr-gateway/oauth/authorize?client_id=xxx&response_type=code

GET data:


[no cookies]

Request Headers:
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like
Gecko
Accept-Language: fr-FR
Accept: text/html, application/xhtml+xml, */*
Accept-Encoding: gzip, deflate
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
Host: falcon-usr-rest.lotsys.corp

Response :

java.nio.charset.MalformedInputException: Input length = 1
        at java.nio.charset.CoderResult.throwException(CoderResult.java:281)
        at
org.apache.http.impl.io.AbstractSessionInputBuffer.handleDecodingResult(AbstractSessionInputBuffer.java:374)
        at
org.apache.http.impl.io.AbstractSessionInputBuffer.appendDecoded(AbstractSessionInputBuffer.java:361)
        at
org.apache.http.impl.io.AbstractSessionInputBuffer.lineFromReadBuffer(AbstractSessionInputBuffer.java:339)
        at
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:258)
        at
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
        at
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
        at
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
        at
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
        at
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:259)
        at
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:209)
        at
org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$MeasuredConnection.receiveResponseHeader(MeasuringConnectionManager.java:212)
        at
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
        at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
        at
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686)
        at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488)
        at
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:654)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:413)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1166)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1155)
        at
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:475)
        at
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:418)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249)
        at java.lang.Thread.run(Thread.java:745)


Thread Name: ITF thread group 2-1
Sample Start: 2017-04-20 10:55:43 CEST
Load time: 384
Connect Time: 12
Latency: 0
Size in bytes: 2730
Sent bytes:0
Headers size in bytes: 0
Body size in bytes: 2730
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: Non HTTP response code: java.nio.charset.MalformedInputException
Response message: Non HTTP response message: Input length = 1

Response headers:


HTTPSampleResult fields:
ContentType: 
DataEncoding: null




jmeter 3.0 :

GET
https://falcon-usr-rest.lotsys.corp/usr-gateway/oauth/authorize?client_id=xxx&response_type=code

[no cookies]

Request Headers:
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like
Gecko
Accept-Language: fr-FR
Accept: text/html, application/xhtml+xml, */*
Accept-Encoding: gzip, deflate
Host: falcon-usr-rest.lotsys.corp

No response, but a redirection :

Response headers:
HTTP/1.1 302 Déplacé Temporairement
Server: Apache-Coyote/1.1
Cache-Control: no-store
Location:
https://vip-falcon-gtw-itf.lotsys.corp/itf-gateway/rest/itf/session?lottery=falcon-usr&code=XXX
Content-Language: fr-FR
Content-Length: 0
Date: Thu, 20 Apr 2017 08:48:25 GMT


HTTPSampleResult fields:
ContentType: 
DataEncoding: null


I can hardly be more explicite.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to