Hi, I need to test a SOAP application using SlowSocket to simulate real users links. So I modified jmeter.properties to use HTTPSampler2 and setted the cps property.
Last, to get it work I had to overwrite in a custom library SlowHttpClientSocketFactory because the createSocket method returned always a null value. public Socket createSocket(String arg0, int arg1, InetAddress arg2, int arg3, HttpConnectionParams arg4) throws IOException, UnknownHostException, ConnectTimeoutException { return new SlowSocket(JMeterUtils.getPropDefault("httpclient.socket.http.cps", 0),arg0,arg1); } That's not really the best solution... but works better than a null socket :) Is there a nicer way to get slow connection simulation working with the SOAP Sampler (and maybe other samplers...)? Thank you in advance. Luca --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]