You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/12/04 17:54:54 UTC

[Bug 55717] Bad handling of Redirect when URLs are in relative format by HttpClient4 and HttpClient31

https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

Nicholas Jasieniecki <ni...@orbitz.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #11 from Nicholas Jasieniecki <ni...@orbitz.com> ---
This still seems broken in my 2.10 installation? 

2013/12/04 10:49:48 INFO  - jmeter.JMeter: Copyright (c) 1998-2013 The Apache
Software Foundation
2013/12/04 10:49:48 INFO  - jmeter.JMeter: Version 2.10 r1533061
2013/12/04 10:49:48 INFO  - jmeter.JMeter: java.version=1.6.0_35
2013/12/04 10:49:48 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit
Server VM
2013/12/04 10:49:48 INFO  - jmeter.JMeter: os.name=Mac OS X
2013/12/04 10:49:48 INFO  - jmeter.JMeter: os.arch=x86_64
2013/12/04 10:49:48 INFO  - jmeter.JMeter: os.version=10.7.5
2013/12/04 10:49:48 INFO  - jmeter.JMeter: file.encoding=MacRoman
2013/12/04 10:49:48 INFO  - jmeter.JMeter: Default Locale=English (United
States)
2013/12/04 10:49:48 INFO  - jmeter.JMeter: JMeter  Locale=English (United
States)
2013/12/04 10:49:48 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties
2013/12/04 10:49:50 INFO  - jmeter.engine.util.CompoundVariable: Note: Function
class names must contain the string: '.functions.'
2013/12/04 10:49:50 INFO  - jmeter.engine.util.CompoundVariable: Note: Function
class names must not contain the string: '.gui.'
2013/12/04 10:49:50 INFO  - jmeter.gui.action.LookAndFeelCommand: Using look
and feel: com.apple.laf.AquaLookAndFeel [Mac OS X, System]
2013/12/04 10:49:51 INFO  - jmeter.util.BSFTestElement: Registering JMeter
version of JavaScript engine as work-round for BSF-22
2013/12/04 10:49:51 INFO  - jmeter.save.SaveService: Testplan (JMX) version:
2.2. Testlog (JTL) version: 2.2
2013/12/04 10:49:51 INFO  - jmeter.save.SaveService: Using SaveService
properties file encoding UTF-8
2013/12/04 10:49:51 INFO  - jmeter.save.SaveService: Using SaveService
properties version 2.5
2013/12/04 10:49:51 INFO  - jmeter.save.SaveService: Using SaveService
properties file version 1519088
2013/12/04 10:49:51 INFO  - jmeter.save.SaveService: All converter versions
present and correct
2013/12/04 10:49:51 INFO  - jmeter.protocol.http.control.CookieManager:
Settings: Delete null: true Check: true Allow variable: true Save: false
Prefix: COOKIE_
2013/12/04 10:49:51 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Cannot find .className property for htmlParser, using default
2013/12/04 10:49:51 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for text/html is
2013/12/04 10:49:51 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for application/xhtml+xml is
2013/12/04 10:49:51 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for application/xml is
2013/12/04 10:49:51 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for text/xml is
2013/12/04 10:49:51 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2013/12/04 10:49:52 INFO  - jmeter.gui.util.MenuFactory: Skipping
org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui
2013/12/04 10:49:52 INFO  - jmeter.gui.util.MenuFactory: Skipping
org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
2013/12/04 10:49:52 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times
2013/12/04 10:49:52 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1
2013/12/04 10:49:52 INFO  - jmeter.samplers.SampleResult:
sampleresult.useNanoTime=true
2013/12/04 10:49:52 INFO  - jmeter.samplers.SampleResult:
sampleresult.nanoThreadSleep=5000
Dec  4 10:49:53 njasieniecki-mbp java[11337] <Error>: CGContextGetCTM: invalid
context 0x0
Dec  4 10:49:53 njasieniecki-mbp java[11337] <Error>: CGContextSetBaseCTM:
invalid context 0x0
Dec  4 10:49:53 njasieniecki-mbp java[11337] <Error>: CGContextGetCTM: invalid
context 0x0
Dec  4 10:49:53 njasieniecki-mbp java[11337] <Error>: CGContextSetBaseCTM:
invalid context 0x0
2013/12/04 10:49:59 INFO  - jmeter.engine.StandardJMeterEngine: Listeners will
be started after enabling running version
2013/12/04 10:49:59 INFO  - jmeter.engine.StandardJMeterEngine: To revert to
the earlier behaviour, define jmeterengine.startlistenerslater=false
2013/12/04 10:49:59 INFO  - jmeter.engine.StandardJMeterEngine: Running the
test!
2013/12/04 10:49:59 INFO  - jmeter.samplers.SampleEvent: List of
sample_variables: []
2013/12/04 10:49:59 INFO  - jmeter.samplers.SampleEvent: List of
sample_variables: []
2013/12/04 10:49:59 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,*local*)
2013/12/04 10:49:59 INFO  - jmeter.engine.StandardJMeterEngine: Starting
ThreadGroup: 1 : Thread Group
2013/12/04 10:49:59 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
threads for group Thread Group.
2013/12/04 10:49:59 INFO  - jmeter.engine.StandardJMeterEngine: Thread will
continue on error
2013/12/04 10:49:59 INFO  - jmeter.threads.ThreadGroup: Starting thread group
number 1 threads 1 ramp-up 0 perThread 0.0 delayedStart=false
2013/12/04 10:49:59 INFO  - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties)
2013/12/04 10:49:59 INFO  - jmeter.threads.JMeterThread: Running PostProcessors
in forward order
2013/12/04 10:49:59 INFO  - jmeter.threads.JMeterThread: Thread started: Thread
Group 1-1
2013/12/04 10:49:59 INFO  - jmeter.threads.ThreadGroup: Started thread group
number 1
2013/12/04 10:49:59 INFO  - jmeter.engine.StandardJMeterEngine: All thread
groups have been started
2013/12/04 10:49:59 INFO  - jmeter.protocol.http.sampler.HTTPJavaImpl: Maximum
connection retries = 10
2013/12/04 10:50:00 INFO  - jmeter.protocol.http.parser.HTMLParser: Created
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2013/12/04 10:50:02 INFO  - jmeter.protocol.http.sampler.HTTPHCAbstractImpl:
Local host = njasieniecki-mbp
2013/12/04 10:50:02 INFO  - jmeter.protocol.http.sampler.HTTPHC4Impl: HTTP
request retry count = 0
2013/12/04 10:50:02 INFO  - jmeter.protocol.http.sampler.HTTPHC4Impl: Setting
up HTTPS TrustAll scheme
2013/12/04 10:50:02 INFO  - jmeter.util.JsseSSLManager: Using default SSL
protocol: TLS
2013/12/04 10:50:02 INFO  - jmeter.util.JsseSSLManager: SSL session context:
per-thread
2013/12/04 10:50:02 INFO  - jmeter.util.SSLManager: JmeterKeyStore Location: 
type JKS
2013/12/04 10:50:02 INFO  - jmeter.util.SSLManager: KeyStore created OK
2013/12/04 10:50:02 WARN  - jmeter.util.SSLManager: Keystore file not found,
loading empty keystore
2013/12/04 10:50:06 ERROR - jmeter.protocol.http.sampler.HTTPHC4Impl: Error in
redirect URL for GET
http://ctix8.cheaptickets.com/dcsgcczd110000ggzyk1yj91s_7c7u/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.6.2
HTTP/1.1
    Could not sanitize URL:
/dcsgcczd110000ggzyk1yj91s_7c7u/njs.gif?dcsredirect=126&dcstlh=0&dcstlv=0&dcsuri=/nojavascript&WT.js=No&WT.tv=8.6.2
     java.net.MalformedURLException: no protocol:
/dcsgcczd110000ggzyk1yj91s_7c7u/njs.gif?dcsredirect=126&dcstlh=0&dcstlv=0&dcsuri=/nojavascript&WT.js=No&WT.tv=8.6.2
    at java.net.URL.<init>(URL.java:567)
    at java.net.URL.<init>(URL.java:464)
    at java.net.URL.<init>(URL.java:413)
    at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:337)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:1224)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1501)
    at
org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(HTTPAbstractImpl.java:306)
    at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:381)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:1224)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1501)
    at
org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(HTTPAbstractImpl.java:306)
    at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:381)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1105)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1094)
    at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Thread.java:680)

2013/12/04 10:50:06 ERROR - jmeter.samplers.SampleResult: sampleEnd called
twice java.lang.Throwable: Invalid call sequence
    at
org.apache.jmeter.samplers.SampleResult.sampleEnd(SampleResult.java:1033)
    at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:390)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:1224)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1501)
    at
org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(HTTPAbstractImpl.java:306)
    at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:381)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:1224)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1501)
    at
org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(HTTPAbstractImpl.java:306)
    at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:381)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1105)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1094)
    at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Thread.java:680)

2013/12/04 10:50:08 INFO  - jmeter.gui.action.Start: Stopping test
2013/12/04 10:50:08 INFO  - jmeter.threads.JMeterThread: Stopping: Thread Group
1-1
2013/12/04 10:50:08 WARN  - jmeter.threads.JMeterThread: Interrupting: Thread
Group 1-1 sampler: Delay
2013/12/04 10:50:08 INFO  - jmeter.threads.JMeterThread: Thread finished:
Thread Group 1-1
2013/12/04 10:50:08 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test
listeners of end of test
2013/12/04 10:50:08 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*)

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