Re: Concurrent HTTP requests to simulate AJAX client

2011-06-16 Thread E S
Thanks for the advice. I did implement a test using the CSV Data Set in the manner you speak of. That was a good first step, but I'm having trouble getting it to model exactly what I'm looking for. I agree that from the app's perspective, it doesn't know/care which thread is sending which request,

Help with JDBC Connection Configuration

2011-06-16 Thread Alexander Guzman
JMeter Version: 2.4 r961953 I’m attempting to load the connection information from an external CSV file. I’ve attached a Debug Sampler and can see that the variables are making it into memory as seen below. JMeterVariables:

Re: Concurrent HTTP requests to simulate AJAX client

2011-06-16 Thread sebb
On 16 June 2011 16:59, E S electric.or.sh...@gmail.com wrote: Thanks for the advice. I did implement a test using the CSV Data Set in the manner you speak of. That was a good first step, but I'm having trouble getting it to model exactly what I'm looking for. I agree that from the app's

Re: Help with JDBC Connection Configuration

2011-06-16 Thread sebb
In 16 June 2011 17:12, Alexander Guzman aguz...@tlcdelivers.com wrote: JMeter Version:  2.4 r961953 I’m attempting to load the connection information from an external CSV file. Sorry, does not work, because the JDBC Config needs to read the variables before the CSV Dataset creates them See

Re: Custom Sampler Tutorial

2011-06-16 Thread E S
Barrie, Thanks for sharing your code. I am also currently using the Http Request sampler, but I don't know of an easy way to simulate the required use cases with that sampler in conjunction with other elements like timers. Instead of repeating the whole problem, I'll just point you to another

Re: Help with JDBC Connection Configuration

2011-06-16 Thread Deepak Shetty
Use properties. See user.properties On Jun 16, 2011 9:13 AM, Alexander Guzman aguz...@tlcdelivers.com wrote: JMeter Version: 2.4 r961953 I’m attempting to load the connection information from an external CSV file. I’ve attached a Debug Sampler and can see that the variables are making it

Re: Help with JDBC Connection Configuration

2011-06-16 Thread sebb
On 16 June 2011 17:21, Konstantin S. mko...@gmail.com wrote: Response message: java.sql.SQLException: No suitable driver found for ${databaseUrl} It looks like sample ( whichever  you use) can not obtain value of variable Yes, because the JDBC Config reads the variable before CSV Dataset has

Re: Help with JDBC Connection Configuration

2011-06-16 Thread Konstantin S.
Ok, so, Xander you can select Test Plan and add user defined variable for example name jss_id and value ${__CSVRead(jsession.txt,0)} this will read value from file jsession.txt from 1st column or you can use properties as Deepak suggested On Thu, Jun 16, 2011 at 7:26 PM, sebb seb...@gmail.com

GWT RPC Sampler?

2011-06-16 Thread Bruce Ide
Hey All, Is there a request sampler for GWT RPC calls? These can be encoded as an HTTP request, but all the variables are scrunched into one line in the http request. I could probably code one up over the weekend, but I thought I'd check and see if there were already one out there before I went

Re: Concurrent HTTP requests to simulate AJAX client

2011-06-16 Thread Deepak Shetty
Hi I played around with this awhile ago - perhaps you may get some hints http://theworkaholic.blogspot.com/2010/11/jmeter-and-ajax-part-i.html regards deepak On Thu, Jun 16, 2011 at 8:59 AM, E S electric.or.sh...@gmail.com wrote: Thanks for the advice. I did implement a test using the CSV

Re: Custom Sampler Tutorial

2011-06-16 Thread E S
Barrie, How did you deploy your sampler so you could actually use it in the JMeter GUI? I've seen that the guys who wrote jmeter-plugins got it to the point where you could just drop a jar file into the lib/ext directory and it just worked. Did you get to the point? Dave On Thu, Jun 16, 2011 at

Re: Custom Sampler Tutorial

2011-06-16 Thread Bruce Ide
You just roll 'em up in a Jar file. I use maven for my builds and it puts a jar together for me. As long as you implemented the interfaces correctly and conform to (what I assume are) the bean standards, jmeter just picks your object up and you get new menu entries in the correct locations and

Re: Custom Sampler Tutorial

2011-06-16 Thread E S
Okay, well I got something to deploy and show up in the GUI, but I'm a little confused on the methodology. The tutorial ( http://jakarta.apache.org/jmeter/extending/jmeter_tutorial.pdf) talks about defining GUI classes using swing, but then gives an example in which no GUI classes are defined.

Re: Custom Sampler Tutorial

2011-06-16 Thread Bruce Ide
I usually make a class BeanInfo class with the bean information. I haven't yet needed to make a more complex UI than just Enter a string here. I might have to soon, though! -- Bruce Ide flyingrhenqu...@gmail.com

Re: Custom Sampler Tutorial

2011-06-16 Thread Barrie Treloar
On Fri, Jun 17, 2011 at 9:15 AM, E S electric.or.sh...@gmail.com wrote: Okay, well I got something to deploy and show up in the GUI, but I'm a little confused on the methodology. The tutorial ( http://jakarta.apache.org/jmeter/extending/jmeter_tutorial.pdf) talks about defining GUI classes

Re: Custom Sampler Tutorial

2011-06-16 Thread Barrie Treloar
On Fri, Jun 17, 2011 at 7:04 AM, E S electric.or.sh...@gmail.com wrote: Barrie, How did you deploy your sampler so you could actually use it in the JMeter GUI? I've seen that the guys who wrote jmeter-plugins got it to the point where you could just drop a jar file into the lib/ext directory

Constant Throughput timer and using Calculate throughput based on all active threads (shared)

2011-06-16 Thread Barrie Treloar
We have a bunch of ThreadGroups each with a Constant Throughput Timer using the mode Calculate throughput based on all active threads (shared) We are finding that if you start a large number of threads then they all get to run once before the throughput will influence when to run the threads.