0

In Jmeter, i need to send the JDBC Response from one thread group to another thread group Request URL, but without JDBC i can able to send the response from one thread to another thread,but if use the JDBC then 2nd Thread is failed. could you please help me to resolve this.

0

It is not possible to provide comprehensive answer without seeing

  • your Test Plan snapshot (Tools -> Generate Schematic View)
  • what you are trying to send
  • how you're going to use it in 2nd Thread Group
  • jmeter.log file

Normally when you specify "Variable Names" and/or "Result Variable Name" in the JDBC Request sampler

enter image description here

it generates some JMeter Variables which can be observed using Debug Sampler and View Results Tree listener combination

for example:

given this database structure:

enter image description here

and the following JDBC Request sampler results:

enter image description here

if you define JDBC Results Variables like:

enter image description here

you will get the following variables created:

enter image description here

Once you see the JMeter Variable(s) you want to transfer to another Thread Group in the Debug Sampler it shouldn't be a problem to perform the transition using __setProperty() function or Inter-Thread Communication Plugin

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.