Hello All,

I'd like to simulate latency in my upload service  for test purpose ( I send
message using MTOM mechanism).

I have just added Thread.sleep(latency) to service implementation method
and everything works till I send small request. However when I send 20 MB
message then inovcation does not times out, even when server simulate 5
minutes latency and client has following configuration:

<http:conduit
                name="{http://x.y.z/uploader}UploadServicePort.http-conduit";>

                <http:client AutoRedirect="true" ConnectionTimeout="10000"
                        ReceiveTimeout="10000" AllowChunking="false" />

 </http:conduit>


One more thing I've been testing it on my localbox ( client and server are
hosted on the same box)

Please let me know what should be changed in order to get timeouts for BIG
message.
I hope it is not a bug in CXF itself.


Regards,
Maciej
-- 
View this message in context: 
http://www.nabble.com/How-to-simulate-service-latency--tp23175136p23175136.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to