If you're doing it in multiple threads you're likely to run into synchronization problems unless you put some variable that is unique into the filenames that you write out. That's why I suggested writing a new file, and consider your original file to be a template.
The code you suggested should work fine. DSId should be unique in each thread, so you just have one test in a thread group with 1000 users and it should all just work out. Again, lots of maybes, but give it a try and see what happens! Jmeter is great for that. You'll probably want to delete all those files you made at the end of the test, too... -- Bruce Ide flyingrhenqu...@gmail.com