jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Cysne <flaviocy...@gmail.com>
Subject Re: data share in distributed test
Date Tue, 29 Oct 2013 12:37:16 GMT
I have to warn you about what you're doing.
Reading the same file from many remote machines will negatively impact your
test performance and may affect network, mainly your JMeter master machine.

One possible solution, similarly to a JUnit Test class, is to add another
Thread Group that will run only 1 thread and only once.
This Thread Group (Setup Thread Group) will run an OS Process Sampler
executing a copy of the CSV file from the remote machine to the JMeter
slave machine.
This approach has a con: you can't use CSV Dataset Config because the file
might not exists in JMeter slave machine and if it exists will be outdated
when loaded.
To overcome this you could use
__CSVRead<http://jmeter.apache.org/usermanual/functions.html#__CSVRead>function.

My opinion is that this kind of "configuration" should be done before the
test is executed, not during the test.
May be one step more, but you can easily automate this step with a shell
script.


2013/10/29 ZK <stevesenior69@gmail.com>

> Hi,
> would it not be easier to have 2 different yyfile files?
>
> the 1 on the master only having UserA data
> the 1 on the slave only having UserB data
>
>
> ZK
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/data-share-in-distributed-test-tp5718569p5718572.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message