Hi,
Similar thing is happening for me.
I implemented the sampler…but if I take uncheck the “simulate slow server”, the window is frozen and I cant see the progress bar at all.
ut, when Simulate Slow server" is checked, then Thread.sleep works and I can see what I am supposed to see.
IS there any solution to this?
Hi,
I’m not sure if I understood your problem, but you have too fast network connection (and the file upload is completed before the progress indigator shows up)?
In mac os x and other bsd unixes I have often used following commands to simulate slow network to test servers:
#!/usr/bin/sh
/sbin/ipfw add 100 pipe 1 ip from any to any 8080 out
/sbin/ipfw add 200 pipe 2 ip from any to any 8080 in
/sbin/ipfw pipe 1 config bw 1500Kbit/s queue 100Kbytes delay 90ms
/sbin/ipfw pipe 2 config bw 1500Kbit/s queue 100Kbytes delay 90ms
cheers,
matti
Sorry Matti, if I was not clear to communicate my problem.
.
What I understand “Simulate slow server” is basically force the thread to sleep after say reading every 1000 bytes.
But, when I comment out the Thread.sleep line, then the progress bar indicator is not showing up.
The Browser just goes to freeze mode, till the upload completes.
And, When I am testing with a big file, it remained frozen for 20 seconds.