Ask a Question

Can you extract JDBC Query Results (columns and values) and Save to Properties For Later Use?

SOLVED
richie
Community Hero

Can you extract JDBC Query Results (columns and values) and Save to Properties For Later Use?

Hey!

 

I'm waiting for DB access to try this out - but my available time is limited so I want to try and get a head start on my approach  - hence the reason I'm asking rather than waiting until I get access and then trying it out.

 

Simple question - can I execute a JDBC step (e.g. select * from table) to retrieve all columns in a table and pass them into a Properties test step for later use?

 

Thanks guys - hope I've been clear!

 

rich

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
21 REPLIES 21
richie
Community Hero

Capture.PNG

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
nmrao
Community Hero

Will you please add another Script assertion for the same test step with just below statement and show the screens shot?

assert context.response


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: