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?
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
General recommendation: there are
Variable names and
Result variable name fields under JDBC Request sampler:
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.