jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Proxing only HTTP traffic.
Date Fri, 02 Aug 2013 09:24:05 GMT
On 2 August 2013 09:24, sebb <sebbaz@gmail.com> wrote:
> On 2 August 2013 06:13, Stas Obydionnov <stasik.ob@gmail.com> wrote:
>> Thank you all!
>> What I'm trying to do is load the proxy server we are developing, sometimes
>> proxy intercepts the request and redirects it to some other HTTP server,
>> and this redirection is to HTTPS. What I need is that this request will go
>> directly, not through proxy.
>> The problem is, that I do not access this HTTP server directly from
>> Jmeter's HTTP request, but as a result of redirection (302).
>>
>> So the only possible solution maybe the use of the Java native proxy
>> proposed by Deepak.
>
> I don't think that's what he meant.
>
> The JMeter -H and -P parameters set both http.proxyHost/Port and
> https.proxyHost/Port system properties.
> So if you only want to set the http ones, just define them in system.properties.

The HTTP Samplers also have per-sampler proxy settings, but I suspect
those won't be suitable as the redirect would be processed using the
same settingsas the original connection.

>> I'll try it.
>> Another question is, whether it's possible to overwrite the HTTP Request
>> proxy behavior using plugin or something?
>>
>> Thanks,
>> Stas.
>>
>>
>> On Fri, Aug 2, 2013 at 1:31 AM, Deepak Shetty <shettyd@gmail.com> wrote:
>>
>>> All options are here
>>> http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html
>>> https is separate to http so what problem are you facing?
>>>
>>>
>>> On Thu, Aug 1, 2013 at 9:57 AM, Stas Obydionnov <stasik.ob@gmail.com>
>>> wrote:
>>>
>>> > Hi all,
>>> > I'm a new to Jmeter and I have a question:
>>> > Jmeter allows to configure proxy for HTTP Request (not proxy for
>>> recording,
>>> > regular one).
>>> > This proxy apply for both protocols, HTTP and HTTPS, I need it to apply
>>> > only to HTTP, but HTTPS should go directly.
>>> > Is it possible?
>>> > Thanks.
>>> > Stas.
>>> >
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message