Skip to content

FlyingRhenquest/JmeterThreadGlobal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project sets up a jmeter data config element which allows data
to be shared across threads. There are three components to this:

1) The config element will bind an object to a jmeter variable when the
   test starts.

2) A postprocessor that allows you to write the result of a sampler to
   the variable.

3) A sampler that takes the results of the aforementioned postprocessor
   and writes them into an array.

How this works is the object contains a HashMap which keys off the
ID of the curent thread to store the value. This ID is unique, so we don't
have to worry about clobbering data.

So you'll just write something you're interested to into the variable
while your test is running and then pull all the results out and examine
them later in some validation thread, before declaring your results.

----- Installation -----

Drop the jar file in your jmeter lib/ext directory

----- Building -----

I use maven, so if you want to build it yourself you'll need to edit
my pom.xml file and change the location of the jmeter install directory.
Then go "mvn package". That oughta do it.

About

Thread-Global storage for Jmeter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages