connection refused ????? any idea why did this happend

2009-05-07 Thread gpub
Hi friends, I ran the script and then for the 2nd thread request it got failed.. ran ok with 1st thread java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source)

Re: Increasing Memory Usage

2009-05-07 Thread drubix
I've got 3 HTTPClient Samplers which make the requests then I've got 2 test actions (for think times), a couple of simple controllers to signify grouping (I cut this small section out of a much larger test plan), a loop controller and a few config elements (User Defined Variables, HTTP Request Def

Re: Increasing Memory Usage

2009-05-07 Thread sebb
On 08/05/2009, drubix wrote: > > Sorry for the double post, edits don't get sent to the mailing list. > > I've removed to the Response Assertion in case that was the cause of the > large memory use (it's the only "non-standard" component I'm using) but that > doesn't change the memory usage. >

Re: Increasing Memory Usage

2009-05-07 Thread drubix
Sorry for the double post, edits don't get sent to the mailing list. I've removed to the Response Assertion in case that was the cause of the large memory use (it's the only "non-standard" component I'm using) but that doesn't change the memory usage. I've also tried running the test on a Window

Re: Increasing Memory Usage

2009-05-07 Thread drubix
Hi Sebb, I do actually, just ran it when I got into work with a single instance and its memory usage started at about 22MB and seemed to be growing at about 1MB every 2 seconds or so until a plateau at about 132MB after 15mins. This test had a single thread and was launched using the command: j

Re: basic newbie question

2009-05-07 Thread sebb
Or see here: http://jakarta.apache.org/jmeter/usermanual/listeners.html#sample_variables On 07/05/2009, Deepak Shetty wrote: > Hi > have it included within the Name text field of your Test. > e.g. > In an HTTP request sampler you would have Request Page with ${Value_1} > regards > > deepak >

Re: basic newbie question

2009-05-07 Thread Deepak Shetty
Hi have it included within the Name text field of your Test. e.g. In an HTTP request sampler you would have Request Page with ${Value_1} regards deepak On Thu, May 7, 2009 at 1:27 PM, Otwell, Christopher E (N-SAIC) < christopher.e.otw...@lmco.com> wrote: > Hi, I'm very new to JMeter and trying to

basic newbie question

2009-05-07 Thread Otwell, Christopher E (N-SAIC)
Hi, I'm very new to JMeter and trying to learn it. Under the Test Plan (top) section, If I create a bunch of User Defined Variables such as: Value_1${__Random(500,1000,,)} Value_2${__Random(1000,1500,,)} Value_3${__Random(1500,2000,,)} Then latest, I use Constant Timer with a Thread

Re: getting a TCP Sampler's socket port number

2009-05-07 Thread Jean-Louis.Pasturel
sebb a écrit : On 06/05/2009, Ed Young wrote: In the TCP Sampler Config node, I specify the target ip and port for my request. JMeter must be instantiating a socket for this request. How can I get a handle to the socket or the port number for the socket? If I could get a handle to the sock

Re: Java Request Sample. static initialization

2009-05-07 Thread Jean-Louis.Pasturel
sebb a écrit : On 05/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On 04/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On 01/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On

Re: Java Request Sample. static initialization

2009-05-07 Thread Jean-Louis.Pasturel
Viet : It was what I desired, thanks for the idea. Regards JL Pasturel viet nguyen a écrit : If I understand you correctly as part of the setup you want to initialize some Java resources and make them available to other java sampler threads. You can create a dummy Java sampler whose purpos

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
I meant that if I use two different thread groups I can have the module controller have the same name. (but just 1 per thread group with the same name) regards deepak On Thu, May 7, 2009 at 11:38 AM, sebb wrote: > On 07/05/2009, Deepak Shetty wrote: > > Hi > > ok , it doesn't happen across Thr

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread sebb
On 07/05/2009, Deepak Shetty wrote: > Hi > ok , it doesn't happen across Thread Groups. Not sure what you mean by that. > I have raised Bug > 47165and > attached a sample script Thanks. > regards > > deepak > > > On Thu, May 7, 20

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
Hi ok , it doesn't happen across Thread Groups. I have raised Bug 47165and attached a sample script regards deepak On Thu, May 7, 2009 at 9:37 AM, sebb wrote: > Now I see the NPE. > > The Transaction Controller is not relevant and can be

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread sebb
Now I see the NPE. The Transaction Controller is not relevant and can be omitted. On 07/05/2009, Deepak Shetty wrote: > D'oh I forgot to tell you the most important part, this only happens when I > run in command line mode > regards > > deepak > > > On Thu, May 7, 2009 at 9:15 AM, sebb wrote

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
D'oh I forgot to tell you the most important part, this only happens when I run in command line mode regards deepak On Thu, May 7, 2009 at 9:15 AM, sebb wrote: > In that case, please file a Bugzilla issue and attach the JMX file and > the jmeter.log file. > > I've tried, and cannot reproduce the

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread sebb
In that case, please file a Bugzilla issue and attach the JMX file and the jmeter.log file. I've tried, and cannot reproduce the fault. On 07/05/2009, Deepak Shetty wrote: > Hi > just tried it out , it fails in both cases. > regards > > deepak > > > On Thu, May 7, 2009 at 8:56 AM, sebb wrote

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
Hi just tried it out , it fails in both cases. regards deepak On Thu, May 7, 2009 at 8:56 AM, sebb wrote: > And are you using "Generate parent sample" or not on the Transaction > Controller? > > On 07/05/2009, Deepak Shetty wrote: > > Hi > > Its 2.3.2 r665936 > > regards > > deepak > > > > >

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread sebb
And are you using "Generate parent sample" or not on the Transaction Controller? On 07/05/2009, Deepak Shetty wrote: > Hi > Its 2.3.2 r665936 > regards > deepak > > > On Thu, May 7, 2009 at 7:47 AM, sebb wrote: > > > Which version of JMeter are you using? > > > > On 07/05/2009, Deepak She

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread Deepak Shetty
Hi Its 2.3.2 r665936 regards deepak On Thu, May 7, 2009 at 7:47 AM, sebb wrote: > Which version of JMeter are you using? > > On 07/05/2009, Deepak Shetty wrote: > > Hi > > I have the following structure > > Disabled Thread Group > > Simple Controller > >HTTP Request > > Thread Gr

Re: Bug when Module Controllers are named the same in the same transaction controller

2009-05-07 Thread sebb
Which version of JMeter are you using? On 07/05/2009, Deepak Shetty wrote: > Hi > I have the following structure > Disabled Thread Group > Simple Controller >HTTP Request > Thread Group > Transaction Controller >Module Controller named Test --> Using Simple Controller D

Re: JDBC Connection Config

2009-05-07 Thread kirk
Himanshu Ghai wrote: :-) i am yet to see an app that worked so well in first go.. I have on a couple of occasions but in those cases performance was taken seriously from the beginning and integrated into the development process. i'd still contend it's not irrelevant..how do you know when it bre

Re: JDBC Connection Config

2009-05-07 Thread Himanshu Ghai
:-) i am yet to see an app that worked so well in first go..i'd still contend it's not irrelevant..how do you know when it breaks at 6000, if after 5000 it degraded drastically or after 50? for when you're testing what is expected to have more noise 5000/500 or 50? what if it didn't even like 5 use

Re: Recording requests with JMeter

2009-05-07 Thread sebb
That means that the browser was ignoring the proxy when using localhost. On 07/05/2009, Carlos B. wrote: > > Hi Pramod! That's it, I was going crazy! I put my ip instead of localhost and > it works fine! > Thanks to everybody for your help! > > > > Pramod_bambore wrote: > > > > Hi, > > >

Re: Recording requests with JMeter

2009-05-07 Thread Carlos B.
Hi Pramod! That's it, I was going crazy! I put my ip instead of localhost and it works fine! Thanks to everybody for your help! Pramod_bambore wrote: > > Hi, > > Instead of putting localhost in address bar put the actual IP address, I > also faced this issue and it worked for me. Make sure th

Re: Recording requests with JMeter

2009-05-07 Thread sebb
On 07/05/2009, Carlos B. wrote: > > I tried this Adrian, the application runs but JMeter doesn't record anything. > I think the browser is configured well, address:localhost and port:9090 and > bypass proxy server for local addresses is unchecked. JMeter proxy is > configured at 9090 too. If I

RE: Recording requests with JMeter

2009-05-07 Thread Carlos B.
I tried this Adrian, the application runs but JMeter doesn't record anything. I think the browser is configured well, address:localhost and port:9090 and bypass proxy server for local addresses is unchecked. JMeter proxy is configured at 9090 too. If I don't specify the port the browser can't reac

Re: Recording requests with JMeter

2009-05-07 Thread Pramod_bambore
Hi, Instead of putting localhost in address bar put the actual IP address, I also faced this issue and it worked for me. Make sure that browser is using the same port as configured in the Jmeter. Thanks, Pramod. Carlos B. wrote: > > I followed all the steps of "jmeter_proxy_step_by_step.pdf" >

Re: JDBC Connection Config

2009-05-07 Thread kirk
Himanshu Ghai wrote: "Why take the low road. If the requirement is for 6000, test for 6000. If it works, you're done without all the extra testing." i differ, if the system isn't deployed yet and breaks at 6000, it is advisable to see if it scales a lower load.. How do you know that it will b

Re: getting a TCP Sampler's socket port number

2009-05-07 Thread sebb
On 06/05/2009, Ed Young wrote: > In the TCP Sampler Config node, I specify the target ip and port for my > request. JMeter must be instantiating a socket for this request. How can I > get a handle to the socket or the port number for the socket? > > If I could get a handle to the socket, I coul

Re: Recording requests with JMeter

2009-05-07 Thread sebb
As Adrian says, you don't change the browser URL. You just need to change the browser proxy to point to the JMeter proxy. As I wrote before, what happens if you change the browser proxy, but you don't start the JMeter proxy? If th browser still works OK, then it is not using the proxy (or there

Re: Increasing Memory Usage

2009-05-07 Thread sebb
On 07/05/2009, drubix wrote: > > Hi, > > I'm running a distributed test all on one system (to take advantage of IP > aliasing) with one thread per instance of JMeter. When I watch the > processes with top on my RH Linux box, the memory usage of each JMeter > instance seems to be rising drama

EventValidation

2009-05-07 Thread maturideepu
Hi All, I am working with a .NET Application, i have used Regular Expression for _ViewState and i was unable to handle _EventValidation. Can any one tell how to handle _eventValidation. Thanks in Advance, Regards, Pradeep -- View this message in context: http://www.nabble.com/EventValidation-

RE: Recording requests with JMeter

2009-05-07 Thread Fitzpatrick, Adrian
Hi, You should not need to change how you open your webapp in the browser. I.e. you should still go to localhost:8080 in the address bar. - Adrian -Original Message- From: Carlos B. [mailto:carlosb...@gmail.com] Sent: 07 May 2009 08:52 To: jmeter-user@jakarta.apache.org Subject: Re: Re

Re: Recording requests with JMeter

2009-05-07 Thread Carlos B.
I think the problem is that my webapp is running in a Tomcat (http://localhost:8080/) and JMeter proxy is configured in the port 9090. JMeter proxy is catching the requests of the browser but it doesn't know how to redirect these requests. I suppose I have to call my webapp via port 9090 (http

Increasing Memory Usage

2009-05-07 Thread drubix
Hi, I'm running a distributed test all on one system (to take advantage of IP aliasing) with one thread per instance of JMeter. When I watch the processes with top on my RH Linux box, the memory usage of each JMeter instance seems to be rising dramatically over time. The same number of threads