Well, if you're testing site registration, it would be nice to have another
test case for REMOVING those users that you just registered, if that's
possible.

I was doing the exact same thing you're doing, and the old
HTTPUserParameterModifier does retrieve the values randomly.  I have an
update from Mark Walsh that returns the values from users.xml sequentially
instead of randomly, and I'll forward it to you in a separate email.

To "unregister" users, I had to create a 'special' URL in our application,
enabled only in development, that removes a user based on a userName request
parameter.  That way, I could create a test case to remove all the users
using the SAME users.xml file that I used to add them.  I found this to be
easier than anything else.

> -----Original Message-----
> From: Mason Jones [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2002 10:48 AM
> To: JMeter Users List
> Subject: RE: Newbie Questions
>
>
>
> > > From: David Corbin [mailto:[EMAIL PROTECTED]]
> > >
> > > I'm just starting to look at JMeter, and I have two questions (so far)
> > > 1) Is there no way to rearrange elements of the tree?  I can't find
> > > anything like this.  Not even Cut/Copy/Paste
> > > 2) Is there any support for sending an argument value that is
> one random
> > > value from from this set of values?  How about instead of a random
> > > value, sequentiall choose the next value form this lists of values?
>
> Actually, #2 is a big question that I'm trying to figure out right now.
> We've got a file containing a large number of users and their data for
> testing site registration. Every time we run the test case, it seems to
> randomly grab one of the users. Often it will grab the same one
> twice in a
> row, which fails because of course the first one is already registered.
> What I'd like, ideally, is for JMeter to use the first one in the
> file, and
> remember that. Then when I run the test again, it would use the
> second one
> in the file, and so on. Basically sequential use of the users.xml
> file with
> a marker to tell it where to start the next time the test is run. How
> possible is this? And if it's not possible, is there some other trick to
> prevent it from trying to re-use the users?
>
> Thanks for any suggestions.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to