https://issues.apache.org/bugzilla/show_bug.cgi?id=46437
Summary: JMeter Proxy: Https spoofing with absolute urls
Product: JMeter
Version: Nightly (Please specify date)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Hi,
I'm using JMeter r723926 (
https://svn.apache.org/viewcvs.cgi?view=rev&rev=723926 )(Version of 6 Dec 08)
and noticed the following:
When using the JMeter Http Proxy Server with "Attempt Https spoofing" enabled,
urls in the Meta tags (see example further down) are not rewritten.
--------------------------
examble index.html:
<HTML>
<HEAD>
<meta HTTP-EQUIV="REFRESH" CONTENT="0;
URL=https://my.web.host.tld:443/hp/index.php?id=30&L=0" /></head>
</html>
--------------------------
See also Bug 7378 Comment 10.
At the moment, a PHP file (index.php) is returned with the following content:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:278)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:162)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:433)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1016)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195)
Thanks for your great work.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]