Intermountain_H_3
15 years agoContributor
Runtime selection of DataSource file
Using the 3/19/10 build of soapUI-Pro
In the first step of my script, using Groovy, I allow the user to select the 'File' type DataSource file & place that file path as the filename in my DataSource step.
However, when the DataSource step is executed, it still reads data from the file path it contained when the script was started (before my re-assignment), ignoring the file I dynamically entered, and executing the remainder of the script with the wrong data.
In the first step of my script, using Groovy, I allow the user to select the 'File' type DataSource file & place that file path as the filename in my DataSource step.
However, when the DataSource step is executed, it still reads data from the file path it contained when the script was started (before my re-assignment), ignoring the file I dynamically entered, and executing the remainder of the script with the wrong data.