Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now you can fire up JMeter and open the JMX file containing the test plan.

Generating random file sizes with a gaussian distribution

When you want to create a different input file for the file sizes this can be done in Octave/Matlab:

octave:1> x = round((stdnormal_rnd(1,100) * 128) + 256);

octave:2> save "file_sizes.txt" x;

The data file needs some postprocessing (remove comments, insert line breaks). This can be achieved with some standard GNU tools:

sed '/^\#/d'file_sizes.txt | tr " " "\n" | sed '/^$/d' > tmp.txt

mv tmp.txt file_sizes.txt

 

Fig. 1: Histogram of the current data set

...