Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad handling of Redirect when URLs are in relative format by HttpClient4 and HttpClient31 #3260

Closed
asfimport opened this issue Oct 29, 2013 · 15 comments

Comments

@asfimport
Copy link
Collaborator

John (Bug 55717):
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

Severity: normal
OS: All

@asfimport
Copy link
Collaborator Author

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Could you provide the full jmeter.log showing null pointer exception ?
Thank you

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Date: Sat Nov 2 21:53:49 2013
New Revision: 1538291

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

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

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Put this jsp in /examples/jsp/ of a Tomcat 6 installation

Created attachment BUG_55717.jsp: JSP to reproduce issue

BUG_55717.jsp
<%@ page session="false"  contentType="text/html"  buffer="8kb" %>
<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<html>
<body>

<%
//response.sendRedirect("http://stackoverflow.com/search?[jmeter]");
//response.sendRedirect("http://localhost:8080/toto?titi=[]!@$%^*()#");
//response.sendRedirect("http://localhost:8080/%5B%5D");
// http://localhost:8080/?%5B%5D%21%40%24%25%5E*%28%29
//response.sendRedirect("http://localhost:8080/?%25%5B%5D!@$%^*()#");
//response.sendRedirect("http://localhost:8080/?toto=titi&trte=titi");
//response.sendRedirect("http://localhost:8080/%5B%5D?[]!@$%^*()#");
//response.sendRedirect("http://localhost:8080/[]");
//response.sendRedirect("/Pub/Login.aspx");
response.setStatus(302);
response.setHeader("Location", "Pub/Login.aspx");

%>

</body>
</html>````

</details>

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Created attachment BUG_55717.jmx: JMeter Test Plan

BUG_55717.jmx
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.5" jmeter="2.10-SNAPSHOT.20131102">
  <hashTree>
    <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
      <stringProp name="TestPlan.comments"></stringProp>
      <boolProp name="TestPlan.functional_mode">false</boolProp>
      <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
      <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
        <collectionProp name="Arguments.arguments"/>
      </elementProp>
      <stringProp name="TestPlan.user_define_classpath"></stringProp>
    </TestPlan>
    <hashTree>
      <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
        <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
        <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
          <boolProp name="LoopController.continue_forever">false</boolProp>
          <stringProp name="LoopController.loops">1</stringProp>
        </elementProp>
        <stringProp name="ThreadGroup.num_threads">1</stringProp>
        <stringProp name="ThreadGroup.ramp_time">1</stringProp>
        <longProp name="ThreadGroup.start_time">1383425002000</longProp>
        <longProp name="ThreadGroup.end_time">1383425002000</longProp>
        <boolProp name="ThreadGroup.scheduler">false</boolProp>
        <stringProp name="ThreadGroup.duration"></stringProp>
        <stringProp name="ThreadGroup.delay"></stringProp>
      </ThreadGroup>
      <hashTree>
        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP HC4" enabled="true">
          <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
            <collectionProp name="Arguments.arguments"/>
          </elementProp>
          <stringProp name="HTTPSampler.domain"></stringProp>
          <stringProp name="HTTPSampler.port"></stringProp>
          <stringProp name="HTTPSampler.connect_timeout"></stringProp>
          <stringProp name="HTTPSampler.response_timeout"></stringProp>
          <stringProp name="HTTPSampler.protocol"></stringProp>
          <stringProp name="HTTPSampler.contentEncoding"></stringProp>
          <stringProp name="HTTPSampler.path"></stringProp>
          <stringProp name="HTTPSampler.method">GET</stringProp>
          <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
          <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
          <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
          <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
          <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
          <boolProp name="HTTPSampler.monitor">false</boolProp>
          <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
        </HTTPSamplerProxy>
        <hashTree/>
        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP Java" enabled="true">
          <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
            <collectionProp name="Arguments.arguments"/>
          </elementProp>
          <stringProp name="HTTPSampler.domain"></stringProp>
          <stringProp name="HTTPSampler.port"></stringProp>
          <stringProp name="HTTPSampler.connect_timeout"></stringProp>
          <stringProp name="HTTPSampler.response_timeout"></stringProp>
          <stringProp name="HTTPSampler.protocol"></stringProp>
          <stringProp name="HTTPSampler.contentEncoding"></stringProp>
          <stringProp name="HTTPSampler.path"></stringProp>
          <stringProp name="HTTPSampler.method">GET</stringProp>
          <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
          <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
          <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
          <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
          <stringProp name="HTTPSampler.implementation">Java</stringProp>
          <boolProp name="HTTPSampler.monitor">false</boolProp>
          <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
        </HTTPSamplerProxy>
        <hashTree/>
        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP HC3" enabled="true">
          <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
            <collectionProp name="Arguments.arguments"/>
          </elementProp>
          <stringProp name="HTTPSampler.domain"></stringProp>
          <stringProp name="HTTPSampler.port"></stringProp>
          <stringProp name="HTTPSampler.connect_timeout"></stringProp>
          <stringProp name="HTTPSampler.response_timeout"></stringProp>
          <stringProp name="HTTPSampler.protocol"></stringProp>
          <stringProp name="HTTPSampler.contentEncoding"></stringProp>
          <stringProp name="HTTPSampler.path"></stringProp>
          <stringProp name="HTTPSampler.method">GET</stringProp>
          <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
          <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
          <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
          <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
          <stringProp name="HTTPSampler.implementation">HttpClient3.1</stringProp>
          <boolProp name="HTTPSampler.monitor">false</boolProp>
          <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
        </HTTPSamplerProxy>
        <hashTree/>
      </hashTree>
      <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
        <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
          <collectionProp name="Arguments.arguments"/>
        </elementProp>
        <stringProp name="HTTPSampler.domain">localhost</stringProp>
        <stringProp name="HTTPSampler.port">8080</stringProp>
        <stringProp name="HTTPSampler.connect_timeout"></stringProp>
        <stringProp name="HTTPSampler.response_timeout"></stringProp>
        <stringProp name="HTTPSampler.protocol"></stringProp>
        <stringProp name="HTTPSampler.contentEncoding"></stringProp>
        <stringProp name="HTTPSampler.path">/examples/jsp/redirect2.jsp</stringProp>
        <stringProp name="HTTPSampler.concurrentPool">4</stringProp>
      </ConfigTestElement>
      <hashTree/>
      <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
        <boolProp name="ResultCollector.error_logging">false</boolProp>
        <objProp>
          <name>saveConfig</name>
          <value class="SampleSaveConfiguration">
            <time>true</time>
            <latency>true</latency>
            <timestamp>true</timestamp>
            <success>true</success>
            <label>true</label>
            <code>true</code>
            <message>false</message>
            <threadName>true</threadName>
            <dataType>false</dataType>
            <encoding>false</encoding>
            <assertions>true</assertions>
            <subresults>false</subresults>
            <responseData>false</responseData>
            <samplerData>false</samplerData>
            <xml>false</xml>
            <fieldNames>true</fieldNames>
            <responseHeaders>false</responseHeaders>
            <requestHeaders>false</requestHeaders>
            <responseDataOnError>false</responseDataOnError>
            <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
            <assertionsResultsToSave>0</assertionsResultsToSave>
            <bytes>true</bytes>
            <hostname>true</hostname>
            <threadCounts>true</threadCounts>
            <sampleCount>true</sampleCount>
          </value>
        </objProp>
        <stringProp name="filename"></stringProp>
      </ResultCollector>
      <hashTree/>
    </hashTree>
  </hashTree>
</jmeterTestPlan>

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
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.

@asfimport
Copy link
Collaborator Author

John (migrated from Bugzilla):
Hi,
Can confirm that the nightly build (& JAVA Implementation workaround) resolve this issue.

Regards
John

@asfimport
Copy link
Collaborator Author

John (migrated from Bugzilla):
Jmeter log from nightly build - resolved

Created attachment jmeter_20131106182440.log: jmeter log from nightly build

jmeter_20131106182440.log
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: 10.250.250.117 Name: john-tpc FullName: 10.250.250.117 
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*) 

@asfimport
Copy link
Collaborator Author

John (migrated from Bugzilla):

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

Created attachment jmeter_20131106180927.log: jmeter log with error - version 2.10

@asfimport
Copy link
Collaborator Author

John (migrated from Bugzilla):

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)

@asfimport
Copy link
Collaborator Author

Nicholas Jasieniecki (migrated from Bugzilla):
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)

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
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

@asfimport
Copy link
Collaborator Author

Nicholas Jasieniecki (migrated from Bugzilla):
Apologies. I read the Version + fixed as the fix version, rather than the reported in version.

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
No problem, your feedback on nightly build is welcome :)

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Date: Thu Dec 12 21:53:53 2013
New Revision: 1550547

URL: http://svn.apache.org/r1550547
Log:
#3260 - 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
#3260

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant