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/10/29 04:23:10 UTC

[Bug 55717] New: Error in Redirect URL for GET

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

            Bug ID: 55717
           Summary: Error in Redirect URL for GET
           Product: JMeter
           Version: 2.10
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: john_natsioulas@yahoo.com.au

Upgraded to the latest package however when running a test plan for the app, a
NullPointerException is received in the UI and test fails. 

The jmeter log has the following exception: 

2013/10/23 17:20:30 INFO  - jmeter.engine.StandardJMeterEngine: All thread
groups have been started 
2013/10/23 17:20:30 INFO  - jmeter.threads.JMeterThread: Thread started: NTG
Browse Group 1-1 
2013/10/23 17:20:30 INFO  - jmeter.services.FileServer: Stored:
../testdata/username_sit_ntg.csv Alias:
../testdata/username_sit_ntg.csv@1408643709 
2013/10/23 17:20:31 ERROR - jmeter.protocol.http.sampler.HTTPHC4Impl: Error in
redirect URL for GET
https://XXXXX.XXXX.dev/obrar.cgi?encreply=Xn6LAHN93bO81vHLGrz6wH9hte82bJnPye388W2XAxzFQJRs%2F%2BTuhrOyJ6wESml5AfMsPQ9BNEF9c77RpQOkHuSVba6Hp%2FpjDAcWbAKPwFVPywMvWhD4nbsTcnGwUiX8HaGtgsOEXv5uocU7OLF9rlRMWtMTw4u0gcPTy%2FzrPCpXiAPGIEx%2BmFCGnscNdYnlxuGuVdCljjdv0YOZuIaaVx%2Bs4dREIipHjj9cWMK5hC9kIt99%2Fs5CmwDd5o5vvUxBeojZglT4CcQSyPM3Mp0faAcj51iVSYQDbhYCcAIYQmkDnm6sy%2BV9XnWmS%2B4YQi1rumAWFOYUZA47UJrerdbt71PeeQO%2BWOEyTTWvlLoSMFLY5C%2F255lL1BNLgOdx%2BVcTiJcgGGGS%2BVoWfAC2y5OfVrZIfFAwtUxZfnQQahNoLEwkLVOBbBT6TrPqv3itEQtIOFLxsR0VzIPxfTcW2jdEKS8YAQSMkHoUm%2Foy0j4hs0nuldroQCmB8WYBPUm8%2BSm7oeZQfohpuDrOjiyXIafVehSRepsF3KtCRyRm8acprudxYQyzkrjTwyfW4SsJqLSeKJ6x9DKS75Kb3NyZrfMHp414a6blBszDqMGgYR7sjP%2BjnAVE7Z3w9jOs2D0OW%2FAhBpguHKUTadvkfef%2BAVfhDw9C%2BWSp4tn42DwU%2BIFdZVw2X17Lv8DaOL96LveNO4RRdpf7jlZhqjWpB0FMPDAjG5NBbAi2a2cqau%2BSzZLh%2FKJexnplM5E7Ibll3Kwbm8SBYsLeASsBnWD4zINteVthjSQ1o2nxNKUFgicv2oHGUlg%3D
HTTP/1.1
        Could not sanitize URL: /portal/c/portal/login?loginredirect=true 
         java.net.MalformedURLException: no protocol:
/portal/c/portal/login?loginredirect=true 
        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.followRedirects(HTTPSamplerBase.java:1411) 
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1482) 
        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:662) 

2013/10/23 17:20:31 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.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:662) 

2013/10/23 17:20:31 INFO  - jmeter.threads.JMeterThread: Thread finished: NTG
Browse Group 1-1 
2013/10/23 17:20:31 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test
listeners of end of test

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #7 from John <jo...@yahoo.com.au> ---
Hi, 
Can confirm that the nightly build (& JAVA Implementation workaround) resolve
this issue. 

Regards
John

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

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

Posted by bu...@apache.org.
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.

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #10 from John <jo...@yahoo.com.au> ---
Comment on attachment 31013
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31013
jmeter log from nightly build

>2013/11/06 18:24:40 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_AU 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: Loading user properties from: D:\software\jmeter\apache-jmeter-nightly\bin\user.properties 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: Loading system properties from: D:\software\jmeter\apache-jmeter-nightly\bin\system.properties 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: Copyright (c) 1998-2013 The Apache Software Foundation 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: Version r1538742 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: java.version=1.7.0_45 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: os.name=Windows 8 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: os.arch=amd64 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: os.version=6.2 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: file.encoding=Cp1252 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: Default Locale=English (Australia) 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: JMeter  Locale=English (Australia) 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: JMeterHome=D:\software\jmeter\apache-jmeter-nightly 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: user.dir  =D:\software\jmeter\apache-jmeter-nightly\bin 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: PWD       =D:\software\jmeter\apache-jmeter-nightly\bin 
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: IP: xxxxxxxx Name: xxxxxx FullName: xxxxxxxxx
>2013/11/06 18:24:40 INFO  - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 
>2013/11/06 18:24:41 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.' 
>2013/11/06 18:24:41 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 
>2013/11/06 18:24:41 INFO  - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform] 
>2013/11/06 18:24:42 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could not create com.googlecode.jmeter.plugins.webdriver.sampler.gui.WebDriverSamplerGui. java.lang.NoClassDefFoundError: jsyntaxpane/DefaultSyntaxKit 
>2013/11/06 18:24:42 INFO  - jmeter.gui.util.MenuFactory: Skipping kg.apc.jmeter.config.VariablesFromCSVFile 
>2013/11/06 18:24:42 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 
>2013/11/06 18:24:42 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default 
>2013/11/06 18:24:42 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is  
>2013/11/06 18:24:42 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is  
>2013/11/06 18:24:42 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is  
>2013/11/06 18:24:42 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is  
>2013/11/06 18:24:42 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
>2013/11/06 18:24:42 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui 
>2013/11/06 18:24:42 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui 
>2013/11/06 18:24:42 INFO  - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file D:\software\jmeter\apache-jmeter-nightly\bin\proxyserver.jks 
>2013/11/06 18:24:43 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 
>2013/11/06 18:24:43 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 
>2013/11/06 18:24:43 INFO  - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 
>2013/11/06 18:24:43 INFO  - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000 
>2013/11/06 18:24:47 INFO  - jmeter.services.FileServer: Default base='D:\software\jmeter\apache-jmeter-nightly\bin' 
>2013/11/06 18:24:47 INFO  - jmeter.gui.action.Load: Loading file: D:\software\jmeter\artefacts\tests\Portal_JMETER_210.jmx 
>2013/11/06 18:24:47 INFO  - jmeter.services.FileServer: Set new base='D:\software\jmeter\artefacts\tests' 
>2013/11/06 18:24:47 INFO  - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 
>2013/11/06 18:24:47 INFO  - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8 
>2013/11/06 18:24:47 INFO  - jmeter.save.SaveService: Using SaveService properties version 2.5 
>2013/11/06 18:24:47 INFO  - jmeter.save.SaveService: Using SaveService properties file version 1519088 
>2013/11/06 18:24:47 INFO  - jmeter.save.SaveService: All converter versions present and correct 
>2013/11/06 18:24:47 INFO  - jmeter.protocol.http.control.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_ 
>2013/11/06 18:24:47 INFO  - jmeter.services.FileServer: Set new base='D:\software\jmeter\artefacts\tests' 
>2013/11/06 18:24:57 INFO  - jmeter.engine.StandardJMeterEngine: Listeners will be started after enabling running version 
>2013/11/06 18:24:57 INFO  - jmeter.engine.StandardJMeterEngine: To revert to the earlier behaviour, define jmeterengine.startlistenerslater=false 
>2013/11/06 18:24:57 INFO  - jmeter.engine.StandardJMeterEngine: Running the test! 
>2013/11/06 18:24:57 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: [] 
>2013/11/06 18:24:57 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: [] 
>2013/11/06 18:24:57 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*) 
>2013/11/06 18:24:58 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : NTG Browse Group 
>2013/11/06 18:24:58 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group NTG Browse Group. 
>2013/11/06 18:24:58 INFO  - jmeter.engine.StandardJMeterEngine: Thread will start next loop on error 
>2013/11/06 18:24:58 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 30 perThread 30000.0 delayedStart=false 
>2013/11/06 18:24:58 INFO  - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties) 
>2013/11/06 18:24:58 INFO  - jmeter.threads.JMeterThread: Running PostProcessors in forward order 
>2013/11/06 18:24:58 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1 
>2013/11/06 18:24:58 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started 
>2013/11/06 18:24:58 INFO  - jmeter.threads.JMeterThread: Thread started: NTG Browse Group 1-1 
>2013/11/06 18:24:58 INFO  - jmeter.services.FileServer: Stored: ../testdata/username_sit_ntg.csv Alias: ../testdata/username_sit_ntg.csv@129757895 
>2013/11/06 18:24:58 INFO  - jmeter.protocol.http.sampler.HTTPHCAbstractImpl: Local host = john-tpc 
>2013/11/06 18:24:58 INFO  - jmeter.protocol.http.sampler.HTTPHC4Impl: HTTP request retry count = 0 
>2013/11/06 18:24:58 INFO  - jmeter.protocol.http.sampler.HTTPHC4Impl: Setting up HTTPS TrustAll scheme 
>2013/11/06 18:24:58 INFO  - jmeter.util.JsseSSLManager: Using default SSL protocol: TLS 
>2013/11/06 18:24:58 INFO  - jmeter.util.JsseSSLManager: SSL session context: per-thread 
>2013/11/06 18:24:58 INFO  - jmeter.util.SSLManager: JmeterKeyStore Location:  type JKS 
>2013/11/06 18:24:58 INFO  - jmeter.util.SSLManager: KeyStore created OK 
>2013/11/06 18:24:58 WARN  - jmeter.util.SSLManager: Keystore file not found, loading empty keystore 
>2013/11/06 18:24:58 INFO  - jmeter.protocol.http.parser.HTMLParser: Created org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
>2013/11/06 18:25:04 INFO  - jmeter.threads.JMeterThread: Thread finished: NTG Browse Group 1-1 
>2013/11/06 18:25:04 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 
>2013/11/06 18:25:04 INFO  - jmeter.services.FileServer: Close: ../testdata/username_sit_ntg.csv@129757895 
>2013/11/06 18:25:04 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)

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

[Bug 55717] Error in Redirect URL for GET

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

John <jo...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #8 from John <jo...@yahoo.com.au> ---
Created attachment 31013
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31013&action=edit
jmeter log from nightly build

Jmeter log from nightly build  - resolved

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

John <jo...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31014|0                           |1
        is obsolete|                            |

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #14 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
No problem, your feedback on nightly build is welcome :)

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 31001
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31001&action=edit
JSP to reproduce issue

Put this jsp in /examples/jsp/ of a Tomcat 6 installation

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

shmulikk@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shmulikk@gmail.com

--- Comment #16 from shmulikk@gmail.com ---
*** Bug 56462 has been marked as a duplicate of this bug. ***

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

[Bug 55717] Error in Redirect URL for GET

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
According to this:
http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-17.html#rfc.section.9.5

We do not handle correctly absolute URL not starting with http://host:port/...

See also :
http://stackoverflow.com/questions/19636282/jmeter-error-in-redirect-url-for-get/19649780#19649780

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

John <jo...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31013|0                           |1
        is obsolete|                            |

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

[Bug 55717] Error in Redirect URL for GET

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Could you provide the full jmeter.log showing null pointer exception ? 
Thank you

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #15 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Thu Dec 12 21:53:53 2013
New Revision: 1550547

URL: http://svn.apache.org/r1550547
Log:
Bug 55717 - Bad handling of Redirect when URLs are in relative format by
HttpClient4 and HttpClient31
Add property to control redirect handling
See:
http://mail-archives.apache.org/mod_mbox/jmeter-dev/201312.mbox/%3CCAOGo0VaYNmSw9wEA_jx8qb3g1NTAOHsF360aWGyevAsGXJ7D6Q%40mail.gmail.com%3E
Bugzilla Id: 55717

Modified:
    jmeter/trunk/bin/jmeter.properties
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
    jmeter/trunk/xdocs/changes.xml

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sat Nov  2 21:53:49 2013
New Revision: 1538291

URL: http://svn.apache.org/r1538291
Log:
Bug 55717 - Bad handling of Redirect when URLs are in relative format by
HttpClient4 and HttpClient31
Bugzilla Id: 55717

Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/ConversionUtils.java
    jmeter/trunk/xdocs/changes.xml

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Error in Redirect URL for   |Bad handling of Redirect
                   |GET                         |when URLs are in relative
                   |                            |format by HttpClient4 and
                   |                            |HttpClient31

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #13 from Nicholas Jasieniecki <ni...@orbitz.com> ---
Apologies. I read the Version  + fixed as the fix version, rather than the
reported in version.

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

[Bug 55717] Error in Redirect URL for GET

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #9 from John <jo...@yahoo.com.au> ---
Created attachment 31014
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31014&action=edit
jmeter log with error - version 2.10


Jmeter log containing the error in version 2.10 (MalformedURLException not
nullpointer as initial comment).

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

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

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Could you give nightly build a try to check issue is fixed for you ?:
see:

http://jmeter.apache.org/nightly.html

 Installing JMeter runtime
Download the _bin and _lib files
Unpack the archives into the same directory structure
The other archives are not needed to run JMeter.

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

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

Posted by Philippe Mouawad <ph...@gmail.com>.
Note issue affects Redirects that use relative URLS.

Tomcat for example when using :
response.sendRedirect("/Pub/Login.aspx");

returns the full URL (like http://host:port/Url).
But it seems according to RFC that it is possible to send this relative
URLs, that's what I did in JSP


On Sat, Nov 2, 2013 at 11:03 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hello,
> Could you review throughly the following commited code .
>
> Thed reported bug is a regression introduced by 2.10 version fixing
> Bug 54482 <https://issues.apache.org/bugzilla/show_bug.cgi?id=54482>
> Bug 54293 <https://issues.apache.org/bugzilla/show_bug.cgi?id=54293>
>
>
> Do you think we should release a 2.10.1 ?
>
> I tend to think we should .
>
> Regards
> Philippe
>
> On Sat, Nov 2, 2013 at 10:58 PM, <bu...@apache.org> wrote:
>
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=55717
>>
>> --- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
>> Created attachment 31002
>>   -->
>> https://issues.apache.org/bugzilla/attachment.cgi?id=31002&action=edit
>> JMeter Test Plan
>>
>> --
>> You are receiving this mail because:
>> You are the assignee for the bug.
>>
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>


-- 
Cordialement.
Philippe Mouawad.

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

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
Could you review throughly the following commited code .

Thed reported bug is a regression introduced by 2.10 version fixing
Bug 54482 <https://issues.apache.org/bugzilla/show_bug.cgi?id=54482>
Bug 54293 <https://issues.apache.org/bugzilla/show_bug.cgi?id=54293>


Do you think we should release a 2.10.1 ?

I tend to think we should .

Regards
Philippe

On Sat, Nov 2, 2013 at 10:58 PM, <bu...@apache.org> wrote:

> https://issues.apache.org/bugzilla/show_bug.cgi?id=55717
>
> --- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
> Created attachment 31002
>   -->
> https://issues.apache.org/bugzilla/attachment.cgi?id=31002&action=edit
> JMeter Test Plan
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
>



-- 
Cordialement.
Philippe Mouawad.

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 31002
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31002&action=edit
JMeter Test Plan

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

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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55717

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

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

--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Issue affects 2.10 (Full name : 2.10 r1533061).
So it is regular that it does not work as bug is fixed in nightly build.
To see if it is fixed you need to use nightly build:
http://jmeter.apache.org/nightly.html

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