Forum Discussion

shrik18's avatar
Occasional Contributor
7 years ago

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


    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.