Select a variable as jdbc connection (instead of the actual jdbc connection) on a perform jdbc query assertion

Idea created by res13 on Jun 3, 2016
    New
    Score5
    • chagr04
    • CBertagnolli
    • RemcoDekker
    • MichielHelder
    • res13

    As a similiar idea was mentioned before: (Select a variable as private key (instead of the actual private key) on a routing or signing assertion ) we would like to have the same when choosing a jdbc connection in the "Perform JDBC Query" assertion.

     

    Background: We have a service which returns data from a specific database based on the service input. Now this is a big if-else structure which is difficult to maintain. For each possible database we have an own "Perform JDBC Query" assertion, but the queries in each assertions are the same.