How do I use JDBC Request/Debug Sampler results match with HTTP Response in JMeter using response assertions?

Can you provide me with an example?

1 Answer 1


General recommendation: there are Variable names and Result variable name fields under JDBC Request sampler:

JMeter JDBC Variable Names

Using them you can get "interesting" parts of the JDBC response (or whole response) stored into JMeter Variables. See Debugging JDBC Sampler Results in JMeter article to learn how to work with the JDBC test elements results.

The variable(s) from the JDBC request can be used in the Response Assertion, i.e. you can check if the response of the HTTP Request sampler contains the reqired value or not.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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