Forum Discussion

abhishek813's avatar
abhishek813
Frequent Contributor
13 years ago

JDBC Request step to push data into db

Hi,

i was wondering if someone can tell me if the following is possible.

Using the DataSource step to read data in properties and then use those properties in the JDBC request step to run different queries like select, update, insert, etc?

and ofcourse this process should run for all rows in the DataSource.

Any Suggestions??

-Abhishek

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Abhishek!

    This is certainly possible.
    As you said you can create a DataSource TestStep, a JDBC TestStep and a DataLoop TestStep to iterate over the DataSource and query a database using the JDBC TestStep and the GetData right click option to get the current data from the DataSource.

    --
    Regards

    Erik
    SmartBear Sweden