DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22372>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22372

After Recording with Proxy  get an error because of double hostnames and hosts in the 
URLs

           Summary: After Recording with Proxy  get an error because of
                    double hostnames and hosts in the URLs
           Product: JMeter
           Version: 1.9.RC2
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HTTP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Environment:
Win2K (Recording Workstation)
Linux (Remote Server1)
AIX  (Remote Server1)
j2sdk1.4.1_03 (Recording Workstation)
j2sdk1.4.1 (Remote Server1)
jdk  1.3.0.3 (Remote Server2)
Jmeter 1.9 Final 
Internet Explorer 5.5 

1. I record my Testcase with the proxy.
2. I run the Testcase against the server via an Remote Server and the Testcase
produces a lot of Errors in the Remote Server jmeter.log because of double
Hostnames and Ports in the Querys.
3. The i tried with the Local Workstation and the Testcase started good and i
saw only a few 404 in the jmeter.log (no debug). I tested the 404 URL with an
Browser and got the Content.
4. After this i set the Workstation Loglevel to Debug and i saw the Exceptions
in jemter.log.

Log snippet double port entry:

      08/13/2003 7:44:51 AM DEBUG - jmeter.protocol.http.sampler.HTTPSampler:
End : sample2 
      08/13/2003 7:44:51 AM DEBUG - jmeter.protocol.http.sampler.HTTPSampler:
Start : sample2 
      08/13/2003 7:44:51 AM DEBUG - jmeter.protocol.http.sampler.HTTPSampler:
#4, encoded path = /css_crm/standard.css 
      08/13/2003 7:44:51 AM DEBUG - jmeter.protocol.http.sampler.HTTPSampler:
sample2 : sampling url - http://www.mindjuggler.de:77787778/css_crm/standard.css 
      08/13/2003 7:44:51 AM WARN  - jmeter.protocol.http.sampler.HTTPSampler:
port out of range:77787778 java.lang.IllegalArgumentException: port out of
range:77787778
        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:103)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
        at sun.net.www.http.HttpClient.New(HttpClient.java:336)
        at sun.net.www.http.HttpClient.New(HttpClient.java:317)
        at sun.net.www.http.HttpClient.New(HttpClient.java:312)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481)
        at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.connect(HTTPSampler.java:889)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:961)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:445)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:277)
        at java.lang.Thread.run(Thread.java:536)

     
Log snippet double host entry:

08/13/2003 7:44:52 AM DEBUG - jmeter.protocol.http.sampler.HTTPSampler: #4,
encoded path = /images_crm/topbar_back.gif 
08/13/2003 7:44:52 AM DEBUG - jmeter.protocol.http.sampler.HTTPSampler: sample2
: sampling url -
http://www.mindjuggler.dewww.mindjuggler.de:7778/images_crm/topbar_back.gif 
08/13/2003 7:44:52 AM DEBUG - jmeter.protocol.http.sampler.HTTPSampler:
Connection failed, giving up 
08/13/2003 7:44:53 AM WARN  - jmeter.protocol.http.sampler.HTTPSampler:
rias24.esb.eur.deuba.comrias24.esb.eur.deuba.com java.net.UnknownHostException:
rias24.esb.eur.deuba.comrias24.esb.eur.deuba.com
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
        at java.net.Socket.connect(Socket.java:434)
        at java.net.Socket.connect(Socket.java:384)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
        at sun.net.www.http.HttpClient.New(HttpClient.java:336)
        at sun.net.www.http.HttpClient.New(HttpClient.java:317)
        at sun.net.www.http.HttpClient.New(HttpClient.java:312)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481)
        at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.connect(HTTPSampler.java:889)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:961)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:445)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:277)
        at java.lang.Thread.run(Thread.java:536)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to