>And the user ID is not specified in the URL or in any variable..I
Again. if a user is using your site with a browser, does he ever enter his
ID? if not , then the browser does get this information somehow. if you cant
figure it out, you can ask any of the developers in your team.

>I have to do this for more than one user
Variables are scoped to the thread. So if u have one user to a thread then
you are done since each thread will get its own value for the variable. if
you have multiple users for the thread then you just need to work out some
scheme for the key under which your variable is stored (e,g id_${username}).
A variable once defined is available till the end of the test. if you need
it in some other test then the easiest is to use sample_variables in
jmeter.properties , so that Jmeter will write out the variable to its result
file and you post process this file to extract out the data you need.

regards
deepak


On Fri, Sep 2, 2011 at 4:20 AM, bisbis <aspat...@avaya.com> wrote:

> Hello,
>
> First, I need to do this without a database.
>
> And the user ID is not specified in the URL or in any variable..I can only
> find the ID when I am creating the user - the ID is returned- or when I
> make
> a request that send me back some data about the user, including his ID. I
> was planning to extract the ID by using a regex, but I also need to store
> the ID - I have to do this for more than one user - and use it after
> ...That's why I was wondering how can I save the ID's in a file...
>
> Regards
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Store-extracted-data-in-a-file-tp4757868p4761988.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

Reply via email to