jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fulvio Guglielmelli <fulvio_guglielme...@yahoo.it>
Subject while condition doesn't work
Date Fri, 09 May 2008 10:12:49 GMT
Hi
  i need to use while Condition verifing if var1<var2
   
  i tryed to use:
  ${__javaScript(${var1}<${var2})}
   
  i tryed to set a variable (superato ) in  a BeanShell Assertion and test:
  while condition  ${superato} or ${__P(superato,)}
  
     String  totale = vars.get("totale");
     String lim= vars.get("limit");

       int limIntero = new Integer(lim).intValue();
     int totaleIntero = new Integer(totale).intValue();
     if (limIntero>totaleIntero)
        {
          print("SUPERATO");     
          vars.put("superato","false");
       }

   
  but NOTHING
   
  Can any one help me? 
   
   Fulvio

       
---------------------------------
Scopri il  Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message