Forum Discussion
omatzura
17 years agoSuper Contributor
Hi Shashi,
If I understand this correctly you want to run a request for each of the 3 values in name1. I'm not sure if you really need the Properties step, as far as I can see you will need to do as follows:
1) Change the file to contain one row for each set of data, where columns are separated with ','. In your case there seems to be only one column, so the file should be
2) Create a DataSource step with the DataSource type set to File and pointed at the above created file
3) Define one property in your DataSource step named mesLotName
4) Add a request after this DataSource step containing
${#mesLotName}
5) And finally a DataSourceLoop that loops back to the request step for each row in the DataSource
When running this, the DataSource will read the comma-separated file one row at a time and assign the only value on each row to its mesLotName. The request will "use" this value and the DataSourceLoop will loop back until there are no more rows..
Ok.. hope I got it right, let me know!
regards,
/Ole
eviware.com
If I understand this correctly you want to run a request for each of the 3 values in name1. I'm not sure if you really need the Properties step, as far as I can see you will need to do as follows:
1) Change the file to contain one row for each set of data, where columns are separated with ','. In your case there seems to be only one column, so the file should be
data1
data2
data3
etc..
2) Create a DataSource step with the DataSource type set to File and pointed at the above created file
3) Define one property in your DataSource step named mesLotName
4) Add a request after this DataSource step containing
${
5) And finally a DataSourceLoop that loops back to the request step for each row in the DataSource
When running this, the DataSource will read the comma-separated file one row at a time and assign the only value on each row to its mesLotName. The request will "use" this value and the DataSourceLoop will loop back until there are no more rows..
Ok.. hope I got it right, let me know!
regards,
/Ole
eviware.com
Related Content
- 3 years agoMoUddin
- 3 years agoLucian
- 3 years agoprasath_2k
Recent Discussions
- 21 hours agoKLWallace
- 7 days agoruchisingh