I wonder if it's possible to work around that by bsh script.
Then a testplan would consist of an bsh sampler
that loads the httpclient libs
and manages different http proxy authentications for each thread.

Something like this:

HttpClient client = new HttpClient();
client.getParams().setAuthenticationPreemptive(true);
Credentials defaultcreds = new UsernamePasswordCredentials("${username}",
"${password}");
client.setProxyCredentials(new AuthScope("proxy.gosys.test", 8080,
AuthScope.ANY_REALM), defaultcreds);

HttpMethod method = new GetMethod("http://intranet.gosys.test";);

Is there anything special which I need to consider
when I start 600 threads that use a bsh script like that above?
-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/how-to-stress-test-a-http-proxy-server-tp1044992p1045291.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to