Send Parameters With the Request for Java Request is not saving any user added variables

2011-01-24 Thread Barrie Treloar
When I click Add in the Send Parameters With the Request panel for my Java Request the new variable disappears if I save, or select another element in the explorer and come back. I haven't noticed anything in the documentation that tells me how JavaSamplerClient can get passed arguments. (Only

Re: Send Parameters With the Request for Java Request is not saving any user added variables

2011-01-25 Thread Barrie Treloar
On Tue, Jan 25, 2011 at 10:49 AM, sebb seb...@gmail.com wrote: On 24 January 2011 23:56, Barrie Treloar baerr...@gmail.com wrote: When I click Add in the Send Parameters With the Request panel for my Java Request the new variable disappears if I save, or select another element

Re: Send Parameters With the Request for Java Request is not saving any user added variables

2011-01-25 Thread Barrie Treloar
On Tue, Jan 25, 2011 at 10:43 PM, sebb seb...@gmail.com wrote: Why isn't this provided out of the box via the framework? They are different from all the other samplers in that they (theoretically) allow one to provide additional parameters via the GUI. All other samplers define the

Advice: How to test a stateful client/server application (is the client the thread or threadgroup)

2011-03-30 Thread Barrie Treloar
I'm looking for advice on how to design JMeter tests so I can test a stateful client/server application. The confusion is around whether the client (or user) is the Thread or ThreadGroup. This is made a little bit more complicated in that we are simulating a Java client communicating to a server.

Re: Advice: How to test a stateful client/server application (is the client the thread or threadgroup)

2011-03-30 Thread Barrie Treloar
On Wed, Mar 30, 2011 at 10:12 PM, sebb seb...@gmail.com wrote: The problem in that your case is your client makes concurrent requests. What you need is nested thread groups. However JMeter does not support nested thread groups. [del] Generally what is important is ensuring that the load on

JavaSamplerContext has no access to the JMeterContext - is this by design?

2011-04-13 Thread Barrie Treloar
I was looking for a way to find out the ThreadGroup name and google shows that you can pull this out of BeanShell via ${__BeanShell(ctx.getThreadGroup().getName())} Is there a reason why JavaSamplerContext doesn't have access to the JMeterContext? Is it because Java can call the methods

Re: JavaSamplerContext has no access to the JMeterContext - is this by design?

2011-04-13 Thread Barrie Treloar
On Wed, Apr 13, 2011 at 9:14 PM, sebb seb...@gmail.com wrote: On 13 April 2011 08:02, Barrie Treloar baerr...@gmail.com wrote: I was looking for a way to find out the ThreadGroup name and google shows that you can pull this out of BeanShell via ${__BeanShell(ctx.getThreadGroup().getName

Re: Bulk JMX reconversion to 2.4 format

2011-05-02 Thread Barrie Treloar
On Mon, May 2, 2011 at 1:24 PM, Sonam Chauhan son...@gmail.com wrote: == # Compile ConvertJMX.java. # Previously setup  dummy directory hierarchy for saveservice.properties # (as setting JMETER_HOME did not work) # $ javac -cp lib/*;lib/ext/*  

Re: Advice

2011-05-05 Thread Barrie Treloar
On Thu, May 5, 2011 at 11:06 PM, Felix Frank f...@mpexnet.de wrote: [del] What will I be using the User Defined Variable for? How will a particular thread know which packets belong to it? In the UDV, you can assign an arbitrary value unique to each thread (you need not do this if you can take

Re: Advice

2011-05-05 Thread Barrie Treloar
On Fri, May 6, 2011 at 12:50 AM, Felix Frank f...@mpexnet.de wrote: [del] I cannot be much more helpful without knowing more specifics about your Test Plan. Most people just test HTTP. A common idea is to either have each thread use a distinct set of URLs from a CSV file, or read some specific

Re: Advice

2011-05-06 Thread Barrie Treloar
On Sat, May 7, 2011 at 12:29 AM, Thom Hehl t...@pointsix.com wrote: OK, I think I have this working. Yeah! Can someone tell me how to read the chart produced by graph results? I don't understand what all of the values mean. It is *VERY* important, for you to post your solution in detail so

Re: Out of memory error

2011-05-06 Thread Barrie Treloar
On Sat, May 7, 2011 at 6:41 AM, Bruce Ide flyingrhenqu...@gmail.com wrote: The jmeter startup script passes java its parameters for all that stuff. Edit that script and search for JVM_ARGS. You could try -Xmx1024m or -Xmx2048m if you have a few gigabytes of RAM to play with. Some listeners

How to handle subresults?

2011-06-07 Thread Barrie Treloar
I expect I'm doing something wrong here. My Java Sampler Client does the following: * Send Async Logon Request * Receive Async Logon Response * Send Async Ack I currently have my SampleResult setup like this: LogonRequest * LogonResponse * AckRequest But if my LogonResponse fails because of a

Re: How to handle subresults?

2011-06-08 Thread Barrie Treloar
On Wed, Jun 8, 2011 at 2:05 PM, Barrie Treloar baerr...@gmail.com wrote: I expect I'm doing something wrong here. My Java Sampler Client does the following: * Send Async Logon Request * Receive Async Logon Response * Send Async Ack I currently have my SampleResult setup like

Re: Custom Sampler Tutorial

2011-06-15 Thread Barrie Treloar
On Wed, Jun 15, 2011 at 3:41 PM, Bruce Ide flyingrhenqu...@gmail.com wrote: I've written a couple of data elements, a sampler and a post-processor. Most of what I picked up came from reading the jmeter source code itself. That's probably the best place to start. I'm still not clear on how some

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.

Re: determining ramp-up period

2011-06-21 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 9:38 AM, jsheth jsh...@src-solutions.com wrote: I would get 500 response from the web code for random threads. some threads would finish while others would fail on certain pages Chances are this is showing you peak load issues with your web server - which you didn't

Re: determining ramp-up period

2011-06-21 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 10:31 AM, jsheth jsh...@src-solutions.com wrote: So for 200 threads I should set my ramp up time to be 6000? Ramp up time = 6000 seconds. This will start a new thread, on average, every 6000/200 = 30 seconds where all threads will be running after 6000/60 = 100 minutes

Re: determining ramp-up period

2011-06-21 Thread Barrie Treloar
Also see http://jakarta.apache.org/jmeter/usermanual/test_plan.html#thread_group and http://www.google.com/search?q=jmeter+calculate+ramp+up+time - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For

Re: advice on setup

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 3:48 PM, Andrej van der Zee andrejvander...@gmail.com wrote: Hi, I am asked to mimic a pre-set transaction-mix with load, i.e. I received a list of transactions with there frequencies like this: transaction    freq (per sec) A                  4.06 B                

Re: advice on setup

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 4:29 PM, Andrej van der Zee andrejvander...@gmail.com wrote: Have you read the docs? U, which part are you referring to? I have read the docs that describes many different controllers, samplers etc. There are many and I wonder which ones to use together. Either

Re: Odd problem with performance of JMeter

2011-06-22 Thread Barrie Treloar
On Thu, Jun 23, 2011 at 5:32 AM, Deepak Shetty shet...@gmail.com wrote: you can load the resultant jtl file in any of the standard listeners to see the same output that you see You can specify in jmeter.properties whatever you need to be saved in the jtl file The constant throughput timer

Re: determining ramp-up period

2011-06-23 Thread Barrie Treloar
On Thu, Jun 23, 2011 at 8:31 PM, sebb seb...@gmail.com wrote: On 23 June 2011 11:06, Kirk kirk.pepperd...@gmail.com wrote: One has to really be careful with JMeter's threading model. It has the potential to act as the bottleneck in your load test. I've seen a few teams chasing all kinds of

Re: determining ramp-up period

2011-06-23 Thread Barrie Treloar
On Fri, Jun 24, 2011 at 2:50 AM, Kirk kirk.pepperd...@gmail.com wrote: If I'm expecting an incoming tx rate of 200 requests per second and JMeter doesn't have the threads to sustain it.. then I would consider JMeter to be a bottleneck in the test. This is because the artificially throttling

Re: jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: GC overhead limit exceeded

2011-06-24 Thread Barrie Treloar
On Fri, Jun 24, 2011 at 5:56 AM, jsheth jsh...@src-solutions.com wrote: This is the value from my bat file set HEAP=-Xms512m -Xmx1024m set NEW=-XX:NewSize=128m -XX:MaxNewSize=512m set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% set TENURING=-XX:MaxTenuringThreshold=2 set

Re: Datas inserted unordered while using CSV file for load testing in J Meter.

2011-07-08 Thread Barrie Treloar
On Fri, Jul 8, 2011 at 4:44 PM, Nermin Caluk ner...@atlantbh.com wrote: Saravanan, Can you show us few lines from your CSV file and list of variables that you configured in JMeter? Could it be problem with delimiter appearing in your values? JMeter reads the CSV in the order you expect - top

Re: Delaying a thread

2011-07-31 Thread Barrie Treloar
On Mon, Aug 1, 2011 at 8:11 AM, rats123 r...@tester.co.nz wrote: Hi all, I use a Uniform Random Timer at the Thread level for delays between pages to mimic real-life delays when a user is stepping through a website. However I would like to now put a thread level delay so as to mimic a work

Re: [ANNOUNCE] JMeter 2.5 is released

2011-08-18 Thread Barrie Treloar
On Fri, Aug 19, 2011 at 4:05 AM, Milamber milam...@apache.org wrote: The Apache JMeter team announces the availability of Apache JMeter 2.5 r1158837. This is a new release which adds many new features and corrects a lot of bugs. JMeter 2.5 requires Java 1.5 or later to run. Are library

Upgrading of libraries (was Re: [ANNOUNCE] JMeter 2.5 is released)

2011-08-18 Thread Barrie Treloar
On Fri, Aug 19, 2011 at 10:59 AM, sebb seb...@gmail.com wrote: Are library version increments noted in the change log? Generally, but we might have missed some. Its possible I missed them at http://jakarta.apache.org/jmeter/changes.html And I really have trouble grokking bugzilla :) e.g.

Re: V2.5 - Additional arguments not kept in JavaSamplers

2011-08-19 Thread Barrie Treloar
On Fri, Aug 19, 2011 at 12:26 PM, Heinz Drews heinz.dr...@gmail.com wrote: Hi Sebb, the version I'm using preserves the arguments, it shows V2.4 R961953. I have own JavaSamplers, which method I have to overwrite to get the arguments in V 2.5 also? I'm using v2.4 r961953 too and it

Re: Upgrading of libraries (was Re: [ANNOUNCE] JMeter 2.5 is released)

2011-08-19 Thread Barrie Treloar
On Sat, Aug 20, 2011 at 12:07 AM, sebb seb...@gmail.com wrote: JMeter does not use much of the XStream functionality. Can't you upgrade to use 1.3.1 ? Unfortunately no. We are deploying our application into cars that are scattered all over the state over a slow network (~14.4kbps) So they need