Forum Discussion

shrik18's avatar
shrik18
Occasional Contributor
7 years ago
Solved

Clone Datasource using groovy script

I have a datasource using internal datagen and another datasource using groovy. I want to trasnfer complete datasource 1 to datasource 2. Baiscally make a copy. How can I achieve this using groovy?
  • shrik18's avatar
    7 years ago

    Hi,

    I found a work around for this. I used groovy script to set data in property step. Added a property "rows" in property step which would determine the number of rows in datasource. Used this propery in number of rows field of datasource. This let me manipulate the datasource upto some extent.