On 1 December 2011 14:22, Mathieu Seillier <[email protected]> wrote:
> Hi all,
> I have currently a test plan that simulates 1000 SOAP requests to a web
> service (with 100 users each doing 10 iterations).
> Each request contains binary data that I get in a datasource with 1000
> lines. This works properly.
> Now, I'd like to run the test plan indefinitely (100 users, infinite number
> of iterations), using multiple datasources successively.
> I have enough datasources to simulate such 500,000 requests (I have 500
> files with 1000 lines).
> What I want is to launch once the test plan, it runs using the datasource
> file1, then when the 1000 lines are used, it moves on the datasource file2,
> and so on until the datasource file500, and then the test plan stops when
> there is no more available datasource.
> Is that such behavior possible? If so, how

The StringFromFile function was developed for exactly such a scenario.

http://jmeter.apache.org/usermanual/functions.html#__StringFromFile

> ? otherwise, do you have an idea
> to try to behave approaching?
>
> My first idea was to concatenate all datasources but each file weighs
> 150Mb, so it would result in a 75 Gb file ... :(
>
> Thank you in advance
> stieuma

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to