jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: _javaScript() function in Jmeter
Date Wed, 30 May 2007 12:08:21 GMT
On 30/05/07, Lenin Basheer <LeninB@ibsplc.com> wrote:
>
> Hi Sebb,
>
> My objective in short is this.
> flightdate =1;
> while( flightnumber <10)
> {
>         list flight for (flightnumber, flightdate);
>         if (flghtnumber == 10){

The above can never be true.

>                 flightdate++;
>         }
> // increment filght date  if value is 10 else retain the same value for flight date ..
>
> flightnumber ++;
> }


> This way i want to achive a unique pattern of flights on all dates ... say f1 on Jan
1,  f2 on Jan 1 etc f10 in 1 and then it creates the set f1 on Jan 2 , f2 on jan 2 etc.
>
> i cant have two counters because it creates the pattern  f1 on 1 , f2 on 2 etc.
>
> please help.

Since flightDate remains at 1 according to the pseudo-code, you only
need one counter.

[Please don't use HTML]

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message