You should be able to do this in Jmeter. But don't be fooled, you will
likely be rebuilding your application logic in Jmeter, which may be a
huge hassle.
What you need to do is define appropriate RequestSamplers and Loops to
implement the same logic the client side uses when run from, say, the
browser.

I'm not sure it will be worth the hassle, but then, I recently found
myself spending some 10 hours tuning my test plan to work with all the
little special cases in the web shop I was stressing.

So, go ahead and build a plan to do all that jazz if it is worth the
effort to you.

One word about the chunking: I very much doubt that Jmeter can make
chunks from a given file. But could you fool your server into accepting
the same chunk dozens of times over? Because it sounds as if the easiest
thing would be to just use a pre-made chunk in a single file you define.
Then again, BeanShell might be able to do something for you. But I
cannot advise you on that.

HTH,
Felix

On 09/04/10 21:21, tripgaurav wrote:
> 
> AAh.. n 1 more thing... after every chunk upload succeeds (as in when server
> receives 1 MB data), it gives a response and the client calls another
> servlet... this other servlet has a check in it to see if the total video
> has been uploaded and if not, it asks the client to call the first servlet n
> send another chunk... this goes on n on till the file is uploaded...
> 
> PS: Please dont ask me why this application is architected in this way... I
> have no control on the design and I just need to perform load tests for it
> :)))

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

Reply via email to