I'm attempting to do load testing for Azure, and in doing so, I need to create a an 'EH Client' Object. I want this object to be reusable by all threads, since otherwise, the load testing happens a lot slower. I'm running into the following issues:
From my knowledge of JMeter, I believe that the only way I can do this is through props, not variables. However, I have found limited documentation and support on passing normal Java Objects as props, and have even heard that it is discouarged.
I'm not sure about where to put my JSR223 Sampler (which is using Java on Beanshell Engine) for this to happen. Ideally, I'd want this to be outside my main thread group, but doing so doesn't seem to work, as any attempts to access the object fail.
TL;DR: I want to create ONE Java Object using a JRS223 Sampler which can be used by all of my threads.