On 10 February 2012 17:09, Eric Olson wrote:
> It's alright if two threads share a token, in fact it's probably preferable
> for that to be part of my test since I'd expect to see that from real users.
If you say so - seems odd to me.
How can you tell the sessions apart?
Would a real user login
Jmeter variables are essentially just key/value pairs stored in a big hash
table. There's nothing magical about arrays in jmeter, they just get a
_number extension on them. You can very easily write one of these with a
BSF sampler You just need to keep in mind that they start at one.
int i;
for(i
It's alright if two threads share a token, in fact it's probably preferable
for that to be part of my test since I'd expect to see that from real users.
I still don't see how I can write to a CSV, however. I was able to get it
to write 1 CSV file per token, but I'm not really interested in having
On 10 February 2012 16:26, Bruce Ide wrote:
> In the same thread you can use vars.putObject in a bsf or beanshell sampler
> to store an array in a variable. Or you can just iteratively create a
> jmeter array.
>
> I wrote an addon to allow sharing across threads, see
> https://github.com/FlyingRhe
In the same thread you can use vars.putObject in a bsf or beanshell sampler
to store an array in a variable. Or you can just iteratively create a
jmeter array.
I wrote an addon to allow sharing across threads, see
https://github.com/FlyingRhenquest/JmeterThreadGlobal. It's a pretty simple
addon an
Eric,
Write a customized function to JMeter and manipulate a map of values inside
it.
Store it in JMeter properties scope.
Regards.
Flavio Cysne
2012/2/10 Eric Olson
> Thanks for the swift reply, Deepak.
>
> I had a similar thought about the CSV thing, but I'm still running into the
> issue of
Thanks for the swift reply, Deepak.
I had a similar thought about the CSV thing, but I'm still running into the
issue of not being able to store the tokens long enough to even put them in
a CSV. I hadn't considered serializing the array into a string - that may
work for me as well.
As for the CS
Hi
variables are scoped to the thread.
a. Use properties (but you'd have to represent the array as a delimited
string (also described in same link s step c)
b. Do you need randomness (or will sequential work) - if sequential works
then in a setup threadgroup write these values to a CSV , which is t
Hi,
I'm having a terrible time figuring out how to share an array of strings
between different parts of my test plan. The problem I'm trying to solve
is that i want to "log in" all of my users up front to get a big list of
tokens (using OAuth 2.0), and then when I move on to the actual load
testi