On Sat, Dec 5, 2009 at 1:57 AM, chaitanya bhatt
<
bhatt.c...@gmail.com> wrote:
>
> There is another workaround if you do not have exp using vts table: Combine
> script 1,2,3,4 into one script by placing each script into different
> "actions" of the same script. Now correlate the data from each action to the
> next action( i.e. from 1st to 2nd and so on and so forth).Then again, if
> action 1 fails action 2,3,4 would fail and the virtual user would fail
> during execution.
I actually prefer this approach to the others. Resort to VTS only when
absolutely needed.
The reasoning about this is simple: If step 1 fails to generate data,
it would do so in real life as well. So why try to 'work around' what
happens on a real server too?
Of course that presumes there are no scripting errors getting in the
way, but my scripts tend to be fairly robust ;-)
You may have to use some coding to reset your caches and such in
between steps though, if you have multiple login/logout procedures
linked in sequence ..
Regards,
Floris
---
'What does it mean to say that one is 48% slower? That's like saying
that a squirrel is 48% juicier than an orange - maybe it's true, but
anybody who puts the two in a blender to compare them is kind of
sick.'
--- Linus Torvalds