fshutdown / JMeter-WebSocketSampler

JMeter - WebSocket Sampler
Apache License 2.0
309 stars 191 forks source link

can I get thread scope variables? #53

Open FraserHutch opened 8 years ago

FraserHutch commented 8 years ago

I need to do something like this for my websocket tests:

The system information is the app id, a unique UUID. I can randomize that easily with a User Defined Variable via the UUID function, however, user defined variables are apparently calculated once at the start of the test whereas I need them to be generated at thread group scope.Is there a way to do that? If now, how can I achieve this?

In other words, I need a randomly generated UUID for each thread (acting as a user) which is accessible to each sample in the thread group.

Thanks in advance!