Ok i found :
public long nextUniform(int min, int max)
{
return min + nextInt(max);
}
max isn't the maximum value ...
Erf,
An other problem
I use a random generator to produce a number in the range [401;500]
<control use="userid" name="setUniform">
<params>
<param name="min" value="401"></param>
<param name="max" value="500"></param>
</params>
</control>
this is used to construct an uri for the httpInjector :
<param name="uri" value="