jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Change datasource during test
Date Thu, 01 Dec 2011 14:40:19 GMT
On 1 December 2011 14:22, Mathieu Seillier <stieuma@gmail.com> 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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message