2
votes

I'm trying to run a distributed test with JMeter 2.9 with:

  • 1 client (master JMeter to start test and collect results)
  • 2 servers (slaves that execute the actual requests and send data back to client)

The question is about the sampler sender mode configuration: I want to use DiskStore to store results in each slave and collect them after test is over. I've already tested this successfully.

But I would like to have some data during the execution to see how the test is going, before the end of it.

My first attempt was to configure sample_sender_client_configured=false which is supposed to force the use of slave configuration. And then configure one slave with DiskStore and the other with Standard mode. I understood that with this configuration slave in Standard would send data to master during the test and slave with DiskStore would send data after the test was finished.

During the execution though, no data was shown in listeners. And when the test finished results where plotted correctly (from both slaves I assume).

Any ideas on how to approach this issue? is it possible to have mutiple sample sender modes in distributed testing? is there any other option to have a DiskStore mode for distributed testing and still have some data during the test?

Thanks.

1

1 Answers

1
votes

You shouldn't mix modes. Last 2.9 version ships with optimal config.

To have results during test add this to user.properties in client:

 summariser.name=summary 
 # 
  # interval between summaries (in seconds) default 3 minutes 
  summary.interval=20 
  # 
  # Write messages to log file 
  summariser.log=false 
  # 
  # Write messages to System.out 
  summariser.out=true