On 10 November 2010 14:31, Andrei Ghimus <[email protected]> wrote: > Good day! > > I'm using JMeter to load test a search webapp. > I have a Sampler in a 100x Loop that sends a search query to the > application and I need the search query to be different from the > previous one. > > What I've tried so far: > - __StringFromFile() - does not work because it only moves to the next > line at the start of each Thread/Iterarion, not at the start of each > Loop,
That's not the case. SFF does work; however it depends where you reference it - if it is in a Config element then the file will be read when the Config element is processed. If you reference it directly in the sampler, or in the UDV Pre-Processor it will work as you want. > - __FileToString() - does not work because I can't __split() the file > by newline, > - CSV Data Set Config - does not work, not even nested inside the > Loop, same as for __StringFromFile(), > - __CSVRead() - does not work, same as for __StringFromFile(). > > I'm running out of ideas/options. If anyone has done anything similar, > please share how you went about it. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

