Re: Bean Shell Preprocessor query

2011-09-23 Thread ZK
bshFoo = (vars.get(Foo)); bshFoo = Four; vars.put(Foo, +bshFoo); ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Bean-Shell-Preprocessor-query-tp4831233p4832617.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: Bean Shell Preprocessor query

2011-09-23 Thread Bruce Ide
You don't need to use + to convert bshFoo into a String! It's already a String! And using + to convert something to a String is the wrong way to do that, anyway! God! ;-) -- Bruce Ide flyingrhenqu...@gmail.com

How many loop controlers ?

2011-09-23 Thread mkt
I was wondering if there is a limit on how many loop controllers can go in one Test Plan or Thread? I am looking to put 500-2000, but in past I've only done around 100. Anyone know if this is going to be a problem? Thanks -- View this message in context:

Re: How many loop controlers ?

2011-09-23 Thread sebb
On 23 September 2011 15:11, mkt michaelkturner...@gmail.com wrote: I was wondering if there is a limit on how many loop controllers can go in one Test Plan or Thread?  I am looking to put 500-2000, but in past I've only done around 100.  Anyone know if this is going to be a problem? I don't

Re: How many loop controlers ?

2011-09-23 Thread mkt
I will running from the command line so Module is out. I started with variables, but ran into an issue. There are some users that get pages returned that others don't but the logic is done in PL/SQL and I don't see a way to use any logic controller to key off of this. There are no javascript

Re: How many loop controlers ?

2011-09-23 Thread sebb
On 23 September 2011 15:32, mkt michaelkturner...@gmail.com wrote: I will running from the command line so Module is out.  I started with The Module Controller does work in non-GUI mode (and client-server); the JMeter unit test file BatchTestLocal.jmx includes an example. variables, but ran

Re: Bean Shell Preprocessor query

2011-09-23 Thread Bruce Ide
Heh, I'm a programmer. I have to admit though, that I very rarely check my return value for null after vars.get. I figure if my BSF sampler fails with a null pointer exception, I should know what's going on. Using + for string conversion is probably a little less efficient than

Re: How many loop controlers ?

2011-09-23 Thread mkt
How are the variables used? Are they HTTP Parameters? Are you using GET or POST? If using GET, then parameters are ignored if the name is blank, so that may be one way to do it. *Using POST and this is Oracle forms.* Also, the Switch Controller might be useful; add child samples with 1,2,3 etc.

Re: How many loop controlers ?

2011-09-23 Thread Deepak Shetty
http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.html for an example on how to add a variable number of parameters to the sampler (you will have to change to read from CSV) regards deepak On Fri, Sep 23, 2011 at 8:21 AM, mkt michaelkturner...@gmail.com wrote: How are the