title: User Beanshell processor to write code so that data driven testing performed rather than using csv
body: <p>I want to test a Get Request with list of values. I dont want to use CSV ,</p>
  <p>so i started using Beanshell Preprocessor  and has those values in Array. Then used for loop to use those values and send to Get Request in HTTP Request. Every this was Successful except sending values to Get request. It is reading all values and sending the last read value to Get request.</p>
  <p>Question : I want my request to run for each value when code reads the data one by one.</p>
  <pre><code>                var TtValuedetails;
                  int i;
                  n=22;
                  String[] ttvalue = {&quot;34324324224&quot;,&quot;fdadsfadsf&quot;,&quot;dfdsfdsfds&quot;,&quot;dafadsfa&quot;, 
                  &quot;45435435&quot;,&quot;dfadsfads&quot;
                    };
            for(int i=0;i&lt;n;i++)
             {
      
              if(i==0)
              {
                  TtValuedetails=ttvalue[i];
                      
              if(ttvalue[0]==&quot;34324324224&quot;)
                  { 
                      vars.put(&quot;TtValuedetails&quot;,TtValuedetails);
                      log.info(TtValuedetails);
                      log.info(&quot;first value is executed&quot; );
                      Org.Apache.......startRequest();
                  }
              }
  }   ;
  </code></pre>