RE: java heap error

2006-12-28 Thread Lincoln, Adym
I.B.,

I'm stumped...There's nothing I see in XP sp2 and JDK 1.5.0_xx that
would indicate a problem.

The next steps would be...
- Check the failing machine processes.  If the failing machine has lots
of processes that have utilized all the RAM memory, then it won't matter
what -Xms and -Xmx are set to, the JVM will only be allocating what it
can get.  Put another way, just because -Xms1024m and -Xmx1024m are
passed into the JVM, does NOT mean it will actually get 1024m.
- If the above checks out, make sure Garbage collection on both machines
is managed by the JVM...i.e. even if you did not tinker with this, you
should probably check the failing machine to make sure it didn't get
turned off by accident.  I forget how this check is done, but a quick
Google should turn up the answer.  I believe it's also controlled via a
command line parameter.
- If the above doesn't work, as a last ditch effort you'll need to
monitor how garbage collection is managed.  Go get jvmstat off the Sun
Microsystems's web site.  Install, setup, configure and run jmeter thru
it to graphically monitor garbage collection.  I used jvmstat under
1.4.2 and it worked pretty good...
[
http://java.sun.com/docs/hotspot/gc1.4.2/#4.1.When%20to%20Use%20the%20Th
roughput%20Collector|outline ]

There should be a similar article for the 1.5.0 JDK...

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
Basic Math : Music * Audio = Emotion
Adym Math  : Green Day * JBL = Happiness ...
...
 
-Original Message-
From: I.B. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 1:33 PM
To: JMeter Users List
Subject: Re: java heap error

working system:

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

failing system:

java version "1.5.0_04"
Java  2 Runtime Environment, Standard Edition 
Java HotSpot Client VM 


~i


On 12/28/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> Nothing wrong with that...
>
> What version of the JDK are you running then?
>
>
>
> Adym Lincoln
> I/S Corporate - I/S Internal Applications
> 603-245-3744
> Ext : 53744
> [EMAIL PROTECTED]
>
> ...
> Basic Math : Music * Audio = Emotion
> Adym Math  : Green Day * JBL = Happiness ...
> ...
>
> -Original Message-
> From: I.B. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 28, 2006 1:23 PM
> To: JMeter Users List
> Subject: Re: java heap error
>
> both systems are XP Pro sp2
>
> ~ig
>
> On 12/28/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> > What's the OS on both systems?
> >
> >
> > Adym Lincoln
> > I/S Corporate - I/S Internal Applications
> > 603-245-3744
> > Ext : 53744
> > [EMAIL PROTECTED]
> >
> > ...
> > Basic Math : Music * Audio = Emotion
> > Adym Math  : Green Day * JBL = Happiness ...
> > ...
> >
> > -Original Message-
> > From: I.B. [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, December 28, 2006 1:16 PM
> > To: JMeter Users List
> > Subject: Re: java heap error
> >
> > Xms and Xmx values set to 1024m
> > but the issue persists
> >
> > ~i
> >
> >
> > On 12/28/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> > > ~I.B.,
> > >
> > > First thing, solve the issue:
> > > - Try to bump up the HEAP size on the system where it does NOT
work.
> > > - Depending on whether you are using Windoze or *nix, there should
> be
> > a
> > > BAT or Shell script file called jmeter.bat/jmeter.
> > > - Edit the script and locate the HEAP parameter...should have
> -Xms256m
> > > -Xmx256m.
> > > - Change this to something like -Xms512m -Xmx1024m.
> > > - Then try it again...
> > >
> > > hth,
> > >
> > > Adym Lincoln
> > > I/S Corporate - I/S Internal Applications
> > > 603-245-3744
> > > Ext : 53744
> > > [EMAIL PROTECTED]
> > >
> > > ...
> > > Basic Math : Music * Audio = Emotion
> > > Adym Math  : Green Day * JBL = Happiness ...
> > > ...
> > >
> > > -Original Message-
> > > From: I.B. [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, December 28, 2006 1:03 PM
> > > To: jmeter-user@jakarta.apache.org
> > > Subject: java heap error
> > >
> > > Hi,
> > >
> > > i have LP scenario that runs well on my machine,
> > > but on another system jmeter complains with :
> > >

RE: java heap error

2006-12-28 Thread Lincoln, Adym
Nothing wrong with that...

What version of the JDK are you running then?
 


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
Basic Math : Music * Audio = Emotion
Adym Math  : Green Day * JBL = Happiness ...
...
 
-Original Message-
From: I.B. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 1:23 PM
To: JMeter Users List
Subject: Re: java heap error

both systems are XP Pro sp2

~ig

On 12/28/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> What's the OS on both systems?
>
>
> Adym Lincoln
> I/S Corporate - I/S Internal Applications
> 603-245-3744
> Ext : 53744
> [EMAIL PROTECTED]
>
> ...
> Basic Math : Music * Audio = Emotion
> Adym Math  : Green Day * JBL = Happiness ...
> ...
>
> -Original Message-
> From: I.B. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 28, 2006 1:16 PM
> To: JMeter Users List
> Subject: Re: java heap error
>
> Xms and Xmx values set to 1024m
> but the issue persists
>
> ~i
>
>
> On 12/28/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> > ~I.B.,
> >
> > First thing, solve the issue:
> > - Try to bump up the HEAP size on the system where it does NOT work.
> > - Depending on whether you are using Windoze or *nix, there should
be
> a
> > BAT or Shell script file called jmeter.bat/jmeter.
> > - Edit the script and locate the HEAP parameter...should have
-Xms256m
> > -Xmx256m.
> > - Change this to something like -Xms512m -Xmx1024m.
> > - Then try it again...
> >
> > hth,
> >
> > Adym Lincoln
> > I/S Corporate - I/S Internal Applications
> > 603-245-3744
> > Ext : 53744
> > [EMAIL PROTECTED]
> >
> > ...
> > Basic Math : Music * Audio = Emotion
> > Adym Math  : Green Day * JBL = Happiness ...
> > ...
> >
> > -Original Message-
> > From: I.B. [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, December 28, 2006 1:03 PM
> > To: jmeter-user@jakarta.apache.org
> > Subject: java heap error
> >
> > Hi,
> >
> > i have LP scenario that runs well on my machine,
> > but on another system jmeter complains with :
> >
> > "" java.lang.OutOfMemoryError: Java heap space""
> >
> > in jmeter.log file
> >
> > both systems have the same:
> > jmeter 2.2
> > jmeter.bat
> > java -version
> > memory
> > cpu
> >
> >
> > what else can give me this error?
> > thank you
> > ~i
> >
> >
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java heap error

2006-12-28 Thread Lincoln, Adym
What's the OS on both systems? 


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
Basic Math : Music * Audio = Emotion
Adym Math  : Green Day * JBL = Happiness ...
...
 
-Original Message-
From: I.B. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 1:16 PM
To: JMeter Users List
Subject: Re: java heap error

Xms and Xmx values set to 1024m
but the issue persists

~i


On 12/28/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> ~I.B.,
>
> First thing, solve the issue:
> - Try to bump up the HEAP size on the system where it does NOT work.
> - Depending on whether you are using Windoze or *nix, there should be
a
> BAT or Shell script file called jmeter.bat/jmeter.
> - Edit the script and locate the HEAP parameter...should have -Xms256m
> -Xmx256m.
> - Change this to something like -Xms512m -Xmx1024m.
> - Then try it again...
>
> hth,
>
> Adym Lincoln
> I/S Corporate - I/S Internal Applications
> 603-245-3744
> Ext : 53744
> [EMAIL PROTECTED]
>
> ...
> Basic Math : Music * Audio = Emotion
> Adym Math  : Green Day * JBL = Happiness ...
> ...
>
> -Original Message-
> From: I.B. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 28, 2006 1:03 PM
> To: jmeter-user@jakarta.apache.org
> Subject: java heap error
>
> Hi,
>
> i have LP scenario that runs well on my machine,
> but on another system jmeter complains with :
>
> "" java.lang.OutOfMemoryError: Java heap space""
>
> in jmeter.log file
>
> both systems have the same:
> jmeter 2.2
> jmeter.bat
> java -version
> memory
> cpu
>
>
> what else can give me this error?
> thank you
> ~i
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java heap error

2006-12-28 Thread Lincoln, Adym
~I.B.,

First thing, solve the issue:
- Try to bump up the HEAP size on the system where it does NOT work.
- Depending on whether you are using Windoze or *nix, there should be a
BAT or Shell script file called jmeter.bat/jmeter.
- Edit the script and locate the HEAP parameter...should have -Xms256m
-Xmx256m.
- Change this to something like -Xms512m -Xmx1024m.
- Then try it again...

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
Basic Math : Music * Audio = Emotion
Adym Math  : Green Day * JBL = Happiness ...
...
 
-Original Message-
From: I.B. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 1:03 PM
To: jmeter-user@jakarta.apache.org
Subject: java heap error

Hi,

i have LP scenario that runs well on my machine,
but on another system jmeter complains with :

"" java.lang.OutOfMemoryError: Java heap space""

in jmeter.log file

both systems have the same:
jmeter 2.2
jmeter.bat
java -version
memory
cpu


what else can give me this error?
thank you
~i

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: hi can anyone tell me which profiling tools is the best tool(open source)

2006-10-03 Thread Lincoln, Adym
Check out Eclipse 3.2 and the TPTP 4.2 plug-in.  They are fairly large
at 103MB and 60MB, but they are a complete solution for profiling server
based applications, Tomcat in particular...

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
Basic Math : Music * Audio = Emotion
Adym Math  : Green Day * JBL = Happiness ...
...
 
-Original Message-
From: Ravi Kiran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 03, 2006 1:29 PM
To: JMeter Users List
Subject: hi can anyone tell me which profiling tools is the best
tool(open source)

hi guys,

 can anyone advice me which is the best tool for tomcat profiling
(open source) ? and also i believe there is an profiler that comes
within JDK1.5.how to use it or send me if u have any manual or
documentation regarding that.

Thanks In Advance
BEST
kiran 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Calling Stored Procedure on Oracle 10

2006-09-19 Thread Lincoln, Adym
Try putting a "/" (along with the ";") after the entire anonymous
block...:

DECLARE
var1 VARCHAR(256);
var2 VARCHAR(256);
var3 VARCHAR(256);
var4 VARCHAR(256);
var5 NUMBER;
var6 NUMBER;
BEGIN
SPname ('[EMAIL PROTECTED]', '127.0.0.66', 'brand',
var5,var1,var6);
DBMS_OUTPUT.PUT_LINE(var5);
DBMS_OUTPUT.PUT_LINE(var1);
DBMS_OUTPUT.PUT_LINE(var6);
END;
/

It probably is an issue with ODBC.  You just have to figure out what the
specific ODBC driver is expecting with regards to anonymous block
execution...

hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
[EMAIL PROTECTED]

...
Basic Math : Music * Audio = Emotion
Adym Math  : Green Day * JBL = Happiness ...
...
 
-Original Message-
From: Jelmer de Haas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 19, 2006 11:09 AM
To: JMeter Users List
Subject: RE: Calling Stored Procedure on Oracle 10

Unfortunately getting rid of the  ;  doesn't help. I tried it (earlier)
but then JMeter returns no results at all. 

Could it be ODBC-driver related? 

-Original Message-
From: Aycock, Glenn W. (JSC-IS)[TES] [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 19 september 2006 17:02
To: JMeter Users List
Subject: RE: Calling Stored Procedure on Oracle 10


Get rid of the ; at the end of your JDBC statement.


-Original Message-
From: Jelmer de Haas [mailto:[EMAIL PROTECTED]
Sent: Tue 9/19/2006 9:01 AM
To: jmeter-user@jakarta.apache.org
Subject: Calling Stored Procedure on Oracle 10
 
I am trying to call a Stored Procedure (SP) from a JMeter JDBC request
to an Oracle 10 database. 

The SP has the following form:

DECLARE
var1 VARCHAR(256);
var2 VARCHAR(256);
var3 VARCHAR(256);
var4 VARCHAR(256);
var5 NUMBER;
var6 NUMBER;
BEGIN
SPname ('[EMAIL PROTECTED]', '127.0.0.66', 'brand',
var5,var1,var6);
DBMS_OUTPUT.PUT_LINE(var5);
DBMS_OUTPUT.PUT_LINE(var1);
DBMS_OUTPUT.PUT_LINE(var6);
END

I have configured the JDBC request to query as 'Callable Statement'.
When I run the script I get an SQLexception:

Load time: 31
HTTP response code: 
HTTP response message: java.sql.SQLException: ORA-06550: line
26, column 0:
PLS-00103: Encountered the symbol "end-of-file" when expecting
one of the following:

   ; 
   
The symbol ";" was substituted for "end-of-file" to continue.


HTTP response headers:


When running a simple ' SELECT * FROM ;' statement I get an
'java.sql.SQLException: ORA-00911: invalid character' error.

So the connection with the database is working. It seems that there may
be some issue concerning charactersets between JMeter and Oracle 10.
Anyone has any clue on this and how to fix this?

[Also referring to perhaps similar thread
http://www.nabble.com/Calling-stored-procedures-tf881735r1.html]

Thanks, 
Jelmer de Haas



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Looping through different users on login

2006-04-20 Thread Lincoln, Adym
I would try the CSV Data File element.  Don't let the CSV mis-lead you
as you can use any text delimiter you wish.

I had good luck with CSV to pass userid and password values into a test
plan.



Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
You might be a redneck if...at least one of your bumper stickers is
spray painted on.
...
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 20, 2006 11:43 AM
To: jmeter-user@jakarta.apache.org
Subject: Looping through different users on login

I've googled for an answer to my question, and I've found similar 
questions, but not much guidance.

I've written a Test Plan that has a large amount of failures (150
threads 
with only 26 going through).  We're thinking that perhaps if we use 
different users to login each time, it may increase the successes.

I've read and heard that JMeter can use variables when logging into a
form 
authenticated site.  Currently, I have the username/password coded into 
the script but have no clue as to how I would pull in other 
username/password combinations.  I have a total of 10 different users
that 
I can loop through, and assume that 10 should be enough to seperate the 
sessions with the ramp up I'm using.

Ideas?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Jmeter problems 2h into perf test

2006-04-18 Thread Lincoln, Adym
Oliver,

Any chance your JDK/JRE is doing a large garbage collection?  

Sometimes a java driven application (jmeter) that is kept constantly
busy over a long period has little to no time to go thru and do garbage
collection.  At some point that GC will become mandatory, especially as
the JVM instance approaches the max allocated memory...aka -Xmx command
line parameter.

Could also be something simple like an additional program that kicks on
like a virus scan or some maintenance program.  I know we had a series
of batch jobs that had the same "bump" in time...turned out that a virus
scan was coming on partway thru the batch cycle.


Hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
You might be a redneck if...at least one of your bumper stickers is
spray painted on.
...
 
-Original Message-
From: Oliver Erlewein (DSLWN) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 18, 2006 1:04 AM
To: JMeter Users List
Subject: Jmeter problems 2h into perf test

Hi @ all,

I run a 3h perf test on production and after a constant amount of
samples (~5000 i.e. ~2h into the test). I get a huge bump in my return
times. This does not seem to be the application but jmeter/java getting
into a tangle. After about 12min the results normalise again. Now I've
run the same test in 3 parts of 1h directly back to back and I don't see
the bump. The Jmeter machine has more than enough grunt to handle the
test run. There are parameters in the jmeter and jmeter.bat that I'm
trying to configure. Tests this evening will show whether that will do
any change but maybe someone has played around with the parameters and
has some values that allow for long running big tests. 

The "bump" looks something like this:

60s  +
 +
30s  ++  +
 ++ +++
 +++
6s  ++ + ++ + + + +   + +  + + 
2s  ++

Regards & Thank you
Oliver

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Ant Memory in Eclipse

2006-03-29 Thread Lincoln, Adym
Scratch that.

I just tried it on my Eclipse 3.1.2...but the Ant should be the same
across all Eclipse 3.0, 3.1 distos.

When you right-click on your build.xml file
- Select Run As -> Ant Build...  This brings up the Ant dialog.
- Click on the JRE Tab.
- Put -Xmx384M on the VM arguments: textbox.

Adym

-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:34 PM
To: JMeter Users List
Subject: RE: Ant Memory in Eclipse

Check.

In that dialog, you probably don't need the -vmargs portion.

Hth,

Adym


-Original Message-
From: Hoffman, Matthew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:34 PM
To: JMeter Users List
Subject: RE: Ant Memory in Eclipse

Adym,

I don't see anything in the ANT preferences relating to this.  I am not
that familiar with ANT and the arguments.  If I right-click on build.xml
and go to External Tools, etc..  Where do I add the arguments?  I added
them to the arguments block and got the error "Unknown argument: -vmargs
-Xmx512M"

Thanks for the help!

Matt Hoffman
100 CTC Dr.
Johnstown, PA  15904
(814) 269-2528
[EMAIL PROTECTED]

 

-Original Message-----
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:23 PM
To: JMeter Users List
Subject: RE: Ant Memory in Eclipse

Matthew,

For some 3rd party Java products (like Ant and Eclipse) I usually put
the following at the end of the command line... -vmargs -Xmx384M

This should bump up the memory usage for a given java program...

Since you're running Ant thru Eclipse, did you search around in the
Eclipse Windows -> Preferences -> Ant stuff.  Depending on what version
of Eclipse, the preferences shift around some...but you should be able
to control Ant somewhere in those preference dialogs...

Hth,

Adym

-Original Message-
From: Hoffman, Matthew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:18 PM
To: JMeter Users List
Subject: Ant Memory in Eclipse

Can someone tell me how to up the memory of the ANT task in eclipse?  I
am seeing OutOfMemory errors in my Jmeter log when I run the ANT task in
eclipse.  If I just run this through the Jmeter GUI, I don't see the
errors.

Thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Ant Memory in Eclipse

2006-03-29 Thread Lincoln, Adym
Check.

In that dialog, you probably don't need the -vmargs portion.

Hth,

Adym


-Original Message-
From: Hoffman, Matthew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:34 PM
To: JMeter Users List
Subject: RE: Ant Memory in Eclipse

Adym,

I don't see anything in the ANT preferences relating to this.  I am not
that familiar with ANT and the arguments.  If I right-click on build.xml
and go to External Tools, etc..  Where do I add the arguments?  I added
them to the arguments block and got the error "Unknown argument: -vmargs
-Xmx512M"

Thanks for the help!

Matt Hoffman
100 CTC Dr.
Johnstown, PA  15904
(814) 269-2528
[EMAIL PROTECTED]

 

-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:23 PM
To: JMeter Users List
Subject: RE: Ant Memory in Eclipse

Matthew,

For some 3rd party Java products (like Ant and Eclipse) I usually put
the following at the end of the command line... -vmargs -Xmx384M

This should bump up the memory usage for a given java program...

Since you're running Ant thru Eclipse, did you search around in the
Eclipse Windows -> Preferences -> Ant stuff.  Depending on what version
of Eclipse, the preferences shift around some...but you should be able
to control Ant somewhere in those preference dialogs...

Hth,

Adym

-Original Message-
From: Hoffman, Matthew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:18 PM
To: JMeter Users List
Subject: Ant Memory in Eclipse

Can someone tell me how to up the memory of the ANT task in eclipse?  I
am seeing OutOfMemory errors in my Jmeter log when I run the ANT task in
eclipse.  If I just run this through the Jmeter GUI, I don't see the
errors.

Thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Ant Memory in Eclipse

2006-03-29 Thread Lincoln, Adym
Matthew,

For some 3rd party Java products (like Ant and Eclipse) I usually put
the following at the end of the command line... -vmargs -Xmx384M

This should bump up the memory usage for a given java program...

Since you're running Ant thru Eclipse, did you search around in the
Eclipse Windows -> Preferences -> Ant stuff.  Depending on what version
of Eclipse, the preferences shift around some...but you should be able
to control Ant somewhere in those preference dialogs...

Hth,

Adym

-Original Message-
From: Hoffman, Matthew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:18 PM
To: JMeter Users List
Subject: Ant Memory in Eclipse

Can someone tell me how to up the memory of the ANT task in eclipse?  I
am seeing OutOfMemory errors in my Jmeter log when I run the ANT task in
eclipse.  If I just run this through the Jmeter GUI, I don't see the
errors.

Thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Remote testing with JMeter

2006-03-13 Thread Lincoln, Adym
Oliver,

Just so we're clear...You're going thru 2 (two) proxy servers?  Are both
proxy servers using the same user/pwd parameters?  Also, I might change
the -H parameter from localhost to the actual name of the server, even
though jmeter is running on it as a localhost...not knowing the network
configuration, we have no idea which servers/proxies are hitting your
DNS domain server and which aren't.

If the -H server name doesn't work, try putting the actual tcp/ip
address in...


thx,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Oliver Erlewein (DSLWN) [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 12, 2006 10:33 PM
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Hi

What am I doing?
Jmeter runs on a Linux server that connects to an internal proxy server
(on port 5865), which intern connects to the exterior internet proxy
server.

So I run "./jmeter -n -t openbc.jmx -l test.txt -H localhost -P 5865"
and that works just excellent!
Tcpdump gives me a whole lotta lines like this:

03:20:22.071691 IP 172.17.2.32.33156 > 172.25.10.102.http: . ack
18875

Now I start "./jmeter-server -H localhost -P 5865" and runthe same
script via remote. Tcpdump does this:

03:20:53.815486 IP 172.17.2.32.43208 > 213.238.59.20.http: S
180175323:180175323(0) win 5840

213.238.59.20 is www.openbc.com, which is the destination address. This
times out because jmeter is not using the proxy. 

Any ideas why "jmeter -s" would not regard the -H and -P parameters that
set the proxy???

Cheers Oliver

P.S. If nobody knows this I'll rais this as a defect against jmeter. 


-Original Message-
From: Oliver Erlewein (DSLWN) [mailto:[EMAIL PROTECTED] 
Sent: Friday, 10 March 2006 16:16
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Hi Adym,

Ok, looks like I got over my problem connecting to the jmeter-server.
Now something funny's going on. If I start...

./jmeter -n -t openbc.jmx -l test.txt -H localhost -P 5865

All goes well.

If I do...

./jmeter-server -H localhost -P 5865

And run the same test from my client, then it times out. It works if I
run it locally and it works remotely on an XP box.

Any ideas what's different?

Cheers Oliver

P.S. Thank you for all your excellent help! I've really gained a lot.
I'm off to enjoy the weekend now and will continue on Monday.

-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED]
Sent: Friday, 10 March 2006 09:18
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Oliver,

Scratch that idea on /etc/hosts.allow.  That is related to a service
called tcpd which is "optional" on a linux server.  Issue the command
system-config-securitylevel on your Linux server and check/verify
whether the firewall is Enabled/Disabled. 

If the firewall is "Enabled" than TAB to the Customize button and look
in there and verify what settings are checked for the Allow incoming:
and also if there are any ports listed in the Other ports.

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Remote testing with JMeter

2006-03-09 Thread Lincoln, Adym
Oliver,

Scratch that idea on /etc/hosts.allow.  That is related to a service
called tcpd which is "optional" on a linux server.  Issue the command
system-config-securitylevel on your Linux server and check/verify
whether the firewall is Enabled/Disabled. 

If the firewall is "Enabled" than TAB to the Customize button and look
in there and verify what settings are checked for the Allow incoming:
and also if there are any ports listed in the Other ports.

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-----Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 09, 2006 3:02 PM
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Oliver,

The Java exception "java.rmi.ConnectException" suggests that :
a.) The "target" connection service is not up.  You seem to have
verified this so we'll assume it's ok.
b.) The client computer is not being allowed to connect.  This suggests
that you need to register the client's tcp/ip with the Linux server.

For XWindows stuff on my own Linux servers, I have to run a command
called xhost that allows any kind of XWindows client to connect.  If you
are not using XWindows stuff off the Linux server, then there must be a
similar command that allows a given client to connect for all
non-XWindows stuff...I don't know what that command is though.

Start by checking/verifying the file /etc/hosts.allow and make sure your
client desktop device's tcp/ip is in there.  

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Oliver Erlewein (DSLWN) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 09, 2006 2:42 PM
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Hi Adym,

I'm using Fedora Core 4. Did quite a few things yesterday. I reinstalled
Java 1.4.2_11 and installed a deprecated library packet that contained
libXp.so.6. Now jmeter starts ok and can run stuff but I can't get
through on port 1099 to do remote. Firewall on the box is off. Ethereal
(on the client) doesn't show anything  unusual. The RMI connection seems
to be up but the client still throws a "java.rmi.ConnectException" at
the address 127.0.0.1 (???). 

Is there anything apart from the firewall, that needs switching off?

Cheers
Oliver


-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Friday, 10 March 2006 03:18
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Oliver,

What version of Linux are you using?  I know we upgraded a server from
RedHat Linux 3.0 to RedHat 4.0 and ran smack into the new security model
for RedHat 4.0.  We had to go in and disable the new security firewall
stuff to allow external IP requests through.


hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Remote testing with JMeter

2006-03-09 Thread Lincoln, Adym
Oliver,

The Java exception "java.rmi.ConnectException" suggests that :
a.) The "target" connection service is not up.  You seem to have
verified this so we'll assume it's ok.
b.) The client computer is not being allowed to connect.  This suggests
that you need to register the client's tcp/ip with the Linux server.

For XWindows stuff on my own Linux servers, I have to run a command
called xhost that allows any kind of XWindows client to connect.  If you
are not using XWindows stuff off the Linux server, then there must be a
similar command that allows a given client to connect for all
non-XWindows stuff...I don't know what that command is though.

Start by checking/verifying the file /etc/hosts.allow and make sure your
client desktop device's tcp/ip is in there.  

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Oliver Erlewein (DSLWN) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 09, 2006 2:42 PM
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Hi Adym,

I'm using Fedora Core 4. Did quite a few things yesterday. I reinstalled
Java 1.4.2_11 and installed a deprecated library packet that contained
libXp.so.6. Now jmeter starts ok and can run stuff but I can't get
through on port 1099 to do remote. Firewall on the box is off. Ethereal
(on the client) doesn't show anything  unusual. The RMI connection seems
to be up but the client still throws a "java.rmi.ConnectException" at
the address 127.0.0.1 (???). 

Is there anything apart from the firewall, that needs switching off?

Cheers
Oliver


-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Friday, 10 March 2006 03:18
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Oliver,

What version of Linux are you using?  I know we upgraded a server from
RedHat Linux 3.0 to RedHat 4.0 and ran smack into the new security model
for RedHat 4.0.  We had to go in and disable the new security firewall
stuff to allow external IP requests through.


hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Remote testing with JMeter

2006-03-09 Thread Lincoln, Adym
Oliver,

What version of Linux are you using?  I know we upgraded a server from
RedHat Linux 3.0 to RedHat 4.0 and ran smack into the new security model
for RedHat 4.0.  We had to go in and disable the new security firewall
stuff to allow external IP requests through.


hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Oliver Erlewein (DSLWN) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 7:55 PM
To: JMeter Users List
Subject: RE: Remote testing with JMeter

Hi Ven,

As I said, remote testing works for me on the same subnet with XP-boxes.
Just XP to Linux is making problems. I use Java 1.4.2_09 because I
noticed that we have problems with 1.5.x when it comes to our config of
using SSL/HTTPS over our Microsoft ISA Firewalls.

I can't really pinpoint where your problem comes from but my guess would
be a problem with rmi. Make sure to kill all rmi sessions before calling
jmeter-server.bat!

Cheers Oliver 

-Original Message-
From: Ganti, Venkata [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 9 March 2006 12:41
To: JMeter Users List
Subject: RE: Remote testing with JMeter

All,

This remote testing is not working for me... I tried in couple of
machines but of no use. I am using Windows version of JMeter 2.1.1 on
Java 1.5.0.6

Is there anything specific to version of Java/JMeter which works this
feature?

Previously Cookie Manager Feature is not working for me on Java 1.3 but
it works fine on Java 1.5.

I didn't see any errors in my JMeter Client Log.

I am getting the following error message on my JMeter Server Log. 

Please through some light on this...

ERROR - jmeter.samplers.StandardSampleSender:
sampleOccurred java.rmi.ConnectException: Connection refused to host:
x.x.x.x; nested exception is: 
 java.net.ConnectException : Connection timed out: connect  at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)  at
sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)  at
sun.rmi.transport.tcp.TCPChannel.newConnection (Unknown Source)  at
sun.rmi.server.UnicastRef.invoke(Unknown Source)  at
org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(
Unknown Source)

Thanks
Ven


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem while running Distributed test

2006-03-06 Thread Lincoln, Adym
Ven,

I'm guessing you're not using any kind of HTTP web server (Apache, IIS,
Orion, etc...), so I would double-check the Port number you are sending
your requests to...For instance, a typical HTTP Request would send it's
web request to Port number 80.  The port number can be specified with
the HTTP Request Sampler OR also in the HTTP Request Defaults element...

Check both and make sure it's going to the right port...

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Ganti, Venkata [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 06, 2006 3:41 PM
To: JMeter Users List
Subject: Problem while running Distributed test

All,

I am running my test on a remote server. My RMI registry is running fine
and I could able to see log messages saying the request is sent to my
remote server and stuff... I could able to ping to my server IP, I found
Connection Refuse message in my log.

2006/03/06 12:30:58 ERROR - jmeter.samplers.StandardSampleSender:
sampleOccurred java.rmi.ConnectException: Connection refused to host:
x.x.x.x; nested exception is: 
 java.net.ConnectException : Connection timed out: connect
 at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
 at sun.rmi.transport.tcp.TCPChannel.newConnection (Unknown Source)
 at sun.rmi.server.UnicastRef.invoke(Unknown Source)
 at
org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(
Unknown Source)
 at org.apache.jmeter.samplers.StandardSampleSender.SampleOccurred
(StandardSampleSender.java:62)
 at
org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteLi
stenerWrapper.java:86)
 at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
ier.java:225) 
 at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
:467)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException : Connection timed out: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket .(Unknown Source)
 at java.net.Socket.(Unknown Source)
 at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
 at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket (Unknown
Source)

Any thoughts on this???

Thanks
Ven


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Proposal] JMeter and Eclipse...

2006-03-06 Thread Lincoln, Adym
Check.

It's a little involved.  I've written some simple plugins before under
Eclipse 3.1.x, and the approach is to "disassociate" the plugin code
from the Eclipse RCP/IDE as much as possible.  Thus, the "logic" of the
plugin is kept isolated from the GUI piece.  Obviously, there's a great
deal of gray area here as there are a 100 ways to do the same thing.

As for the headless runtime piece.  Should be simple enough to re-use
some or all of the existing JMeter headless stuff and just connect it to
the plugin once it's been developed and packaged.

Just some ideas...

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 06, 2006 1:31 PM
To: JMeter Users List
Subject: JMeter and Eclipse [was Re: [Proposal] Make JMeter depend on
Java 1.4 as a minimum]

No plans.

Sounds like a lot of work. Not sure it would give any benefit.

How would non-GUI and remote modes work?

JMeter can currently run "headless"; I doubt that Eclipse will ever be
able to...

S.
On 06/03/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> Sebb,
>
> Somewhat unrelated, but are there any plans to possibly migrating
JMeter
> under the Eclipse IDE?  I use Eclipse quite a bit and I know it has a
> wealth of GUI and plugins already.  The TPTP (Testing, Performance and
> Tools Platform) that is available might be a good fit, although
speaking
> from experience, TPTP is a daunting and formidable plugin platform.
>
> Another good fit might be the Web Tools Platform though...I could
easily
> see JMeter fit well in this project or even as a standalone project...
>
> thx,
>
> Adym Lincoln
> I/S Corporate - I/S Internal Applications
> 603-245-3744
> Ext : 53744
> [EMAIL PROTECTED]
>
> ...
> It's a bug planet...it's an ugly planet...ever feel like your software
> project is going in the wrong direction.
> ...
>
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 06, 2006 10:38 AM
> To: jmeter-user@jakarta.apache.org
> Subject: AW: [Proposal] Make JMeter depend on Java 1.4 as a minimum
>
> Are there any objections to making JMeter depend on Java 1.4 as a
> minimum?
>
> At present, JMeter will run under Java 1.3.
> However it does not perform well, and there are some features that
don't
> work properly.
>
> I think we should stop supporting Java 1.3 after the next release,
i.e.
> after 2.1.2.
>
> Comments?
>
> S.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Proposal] Make JMeter depend on Java 1.4 as a minimum

2006-03-06 Thread Lincoln, Adym
Sebb,

Somewhat unrelated, but are there any plans to possibly migrating JMeter
under the Eclipse IDE?  I use Eclipse quite a bit and I know it has a
wealth of GUI and plugins already.  The TPTP (Testing, Performance and
Tools Platform) that is available might be a good fit, although speaking
from experience, TPTP is a daunting and formidable plugin platform.

Another good fit might be the Web Tools Platform though...I could easily
see JMeter fit well in this project or even as a standalone project...

thx,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 06, 2006 10:38 AM
To: jmeter-user@jakarta.apache.org
Subject: AW: [Proposal] Make JMeter depend on Java 1.4 as a minimum

Are there any objections to making JMeter depend on Java 1.4 as a
minimum?

At present, JMeter will run under Java 1.3.
However it does not perform well, and there are some features that don't
work properly.

I think we should stop supporting Java 1.3 after the next release, i.e.
after 2.1.2.

Comments?

S.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help function

2006-03-06 Thread Lincoln, Adym
Torsten,

That looks like a JDK exception (javax.swing.*).  I'd check the version
of the JDK you are using and possibly test the GUI part of your JDK with
another app on your machine that uses Java Swing GUI components...If the
same thing happens with the other application, then there's probably
something going on with the JDK.  If not, then you've at least narrowed
it to JMeter.

hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 06, 2006 10:13 AM
To: jmeter-user@jakarta.apache.org
Subject: Help function

Hi,
 
I tried to use the help function but when ein use STRG-H following log
is
writing in the console.
 
Exception occurred during event dispatching:
javax.swing.text.StateInvariantError: GlyphView: Stale view:
javax.swing.text.Ba
dLocationException: Length must be positive
at javax.swing.text.GlyphView.getText(GlyphView.java:95)
at javax.swing.text.GlyphPainter1.getSpan(GlyphPainter1.java:41)
at
javax.swing.text.GlyphView.getPreferredSpan(GlyphView.java:441)
at
javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:
639)
at
javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.jav
a:199)
at
javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(Pa
ragraphView.java:119)
at javax.swing.text.BoxView.checkRequests(BoxView.java:786)
at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:424)
at
javax.swing.text.html.ParagraphView.getMinimumSpan(ParagraphView.java
:236)
at
javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:
..
 
Does anybody now a solution to read the help.
 
Regards Torsten


**
Bitte nutzen Sie die E-Mail-Verbindung mit uns ausschliesslich zum 
Informationsaustausch. Wir koennen auf diesem Wege keine 
rechtsgeschaeftlichen Erklaerungen (Auftraege etc.) entgegennehmen.
Der Inhalt dieser Nachricht ist vertraulich und nur fuer den angegebenen

Empfaenger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe
durch Dritte ist unzulaessig. Sollte diese Nachricht nicht fur Sie
bestimmt
sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in 
Verbindung zu setzen.

Please use your E-mail connection with us exclusively for the exchange 
of information. We do not accept legally binding declarations (orders, 
etc.) by this means of communication. The contents of this message is 
confidential and intended only for the recipient indicated. Taking 
notice of this message or disclosure by third parties is not 
permitted. In the event that this message is not intended for you, 
please contact us via E-mail or phone.

**

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Loading Parameter for Load Test

2006-03-02 Thread Lincoln, Adym
Salman,

Use a CSV Data File element and setup simple variables that capture the
userid and password.  Then use these ${userid}/${passwd} variables in
your login HTTP Sampler element.  I do this all the time with out Mantis
web application tests.

One caveat to a CSV Data file...all threads within a given thread group
use the same CSV Data file, that means any individual thread within the
thread group can't guarantee where the file pointer will be in the CSV
Data file...

Also, you should ensure that the thread group is setup to do the login
only once for a given thread...

hth, 

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: S R [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 5:37 AM
To: jmeter-user@jakarta.apache.org
Subject: Loading Parameter for Load Test

I have a situation where i will have to load test the
application over the HTTP Request for 200 users logins
for J2EE application. 
Need to input data for 200 logins with their different
parameters for each users.

Do i have to input the data manually or there is some
easier way around.

Your help will be appreciated!


Regards

salman



___ 
Yahoo! Photos - NEW, now offering a quality print service from just 8p a
photo http://uk.photos.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to configure when a cluster is using

2006-02-28 Thread Lincoln, Adym
Torsten,

Are there any java exceptions in the JMeter log?  Seems like there should be 
some kind of error/exception coming out somewhere...


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software project 
is going in the wrong direction.
...


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 28, 2006 11:05 AM
To: jmeter-user@jakarta.apache.org
Subject: AW: How to configure when a cluster is using

Hi Bill,

no we havn´t, because when we add a cookie manager the thread stopped after
the first request an we havn´t found the solution.
So we save the sessionid with a regular expression extractor and put it as a
parameter to the url.


-Ursprüngliche Nachricht-
Von: Bill Gosse [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 28. Februar 2006 17:01
An: JMeter Users List
Betreff: RE: How to configure when a cluster is using


Do you have a cookie manager in your thread group?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 28, 2006 10:57 AM
To: jmeter-user@jakarta.apache.org
Subject: How to configure when a cluster is using

Hi together,
 
our Webapplication is on two clustermanaged servers.
We are using BeaWeblogic and BeaWeblogic is using round-robin to spread the
http-request, so that each of both clusters are used in turn. Now after the
second http-request the thread failed. Each of our http-requests is
including the sessionid of the previous http-request. Has anybody an idea
how to configure JMeter correctly so that we can test our application with
the cluster together?
 
Regards
 
Torsten Frehe


**
Bitte nutzen Sie die E-Mail-Verbindung mit uns ausschliesslich zum 
Informationsaustausch. Wir koennen auf diesem Wege keine 
rechtsgeschaeftlichen Erklaerungen (Auftraege etc.) entgegennehmen.
Der Inhalt dieser Nachricht ist vertraulich und nur fuer den angegebenen 
Empfaenger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe
durch Dritte ist unzulaessig. Sollte diese Nachricht nicht fur Sie bestimmt
sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in 
Verbindung zu setzen.

Please use your E-mail connection with us exclusively for the exchange 
of information. We do not accept legally binding declarations (orders, 
etc.) by this means of communication. The contents of this message is 
confidential and intended only for the recipient indicated. Taking 
notice of this message or disclosure by third parties is not 
permitted. In the event that this message is not intended for you, 
please contact us via E-mail or phone.

**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Echo or print out CSV data...

2006-02-28 Thread Lincoln, Adym
Check.

I'll try it both ways, but it's kinda nice having the separate BeanShell
element in the Test Plan.  Makes it easy to copy and paste to other
thread groups...Also, I'm trying to setup a simple "verbose" indicator
in some of the more complicated test plans.  I'm hoping the "verbose"
variable can then be tested within the BeanShell elements and then
either output debugging info or not.

thx, 

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 5:19 PM
To: JMeter Users List
Subject: Re: Echo or print out CSV data...

Just to clarify - you don't need to use BeanShell to use the log
function; you can use it anywhere that a variable can be used, e.g.

CSV Data set - defines VAR1
HTTP Sampler uses ${VAR1}
or you can put
HTTP Sampler uses ${__log(${VAR1})}

S.
On 27/02/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> Yup.  It's working.  I had the log() stuff in there from the example
in
> the docs...I was able to cobble together the following BeanShell
script
> to get what I wanted...
>
> 
> log.info( Thread.currentThread().name + " User [ " +
vars.get("userid")
> + " ] Issue [ " + vars.get("id-bug") + " ]" );
> 
>
> thx,
>
> Adym Lincoln
> I/S Corporate - I/S Internal Applications
> 603-245-3744
> Ext : 53744
> [EMAIL PROTECTED]
>
> ...
> It's a bug planet...it's an ugly planet...ever feel like your software
> project is going in the wrong direction.
> ...
>
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 5:08 PM
> To: JMeter Users List
> Subject: Re: Echo or print out CSV data...
>
> Have you looked at the log()/logn() functions?
>
> http://jakarta.apache.org/jmeter/usermanual/functions.html#__log
>
> On 27/02/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I am trying to figure out a way to "echo/print" the values of my
> > variables in JMeter.  Basically, I have two CSV files that I am
> reading
> > data from.  One CSV data file is read in by the Thread Group, the
> other
> > from a While Controller().  What I would like is a way to echo
and/or
> > print the values of the variables in each to get a basic debugging
of
> > when and where certain values are being processed.
> >
> > I'm currently trying to setup a BeanShell Sampler, but wanted to
know
> if
> > there was a simpler/easier way to do this?
> >
> > thx in advance...
> >
> > Adym Lincoln
> > I/S Corporate - I/S Internal Applications
> > 603-245-3744
> > Ext : 53744
> > [EMAIL PROTECTED]
> >
> > ...
> > It's a bug planet...it's an ugly planet...ever feel like your
software
> > project is going in the wrong direction.
> > ...
> >
> >
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Echo or print out CSV data...

2006-02-27 Thread Lincoln, Adym
Yup.  It's working.  I had the log() stuff in there from the example in
the docs...I was able to cobble together the following BeanShell script
to get what I wanted...


log.info( Thread.currentThread().name + " User [ " + vars.get("userid")
+ " ] Issue [ " + vars.get("id-bug") + " ]" );


thx,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 5:08 PM
To: JMeter Users List
Subject: Re: Echo or print out CSV data...

Have you looked at the log()/logn() functions?

http://jakarta.apache.org/jmeter/usermanual/functions.html#__log

On 27/02/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am trying to figure out a way to "echo/print" the values of my
> variables in JMeter.  Basically, I have two CSV files that I am
reading
> data from.  One CSV data file is read in by the Thread Group, the
other
> from a While Controller().  What I would like is a way to echo and/or
> print the values of the variables in each to get a basic debugging of
> when and where certain values are being processed.
>
> I'm currently trying to setup a BeanShell Sampler, but wanted to know
if
> there was a simpler/easier way to do this?
>
> thx in advance...
>
> Adym Lincoln
> I/S Corporate - I/S Internal Applications
> 603-245-3744
> Ext : 53744
> [EMAIL PROTECTED]
>
> ...
> It's a bug planet...it's an ugly planet...ever feel like your software
> project is going in the wrong direction.
> ...
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Which controller to use with CSV data set config

2006-02-27 Thread Lincoln, Adym
Shih-Chen,

Is your CSV Data file setup as a "child" of the Loop Controller?  What
you describe should be working if the CSV Data file is a child.

I use a While Controller() and my CSV Data file is a child and it works
fine...

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Shih-Chen Chiang [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 3:36 PM
To: JMeter Users List
Subject: Which controller to use with CSV data set config

Hi All,

I am using a CSV data set config to read values into my variables.  This
CSV data set config has 10 rows.  I have one HTTP Request Sampler that
defines those variables.  I tried to use a Loop Controller with the HTTP
Request sampler as its child.  But only the first row of my CSV data
file gets used by all the iterations.  Which controller should I use
with the CSV data set in order to run through each of the 10 rows?

Thanks,
Shirley

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Echo or print out CSV data...

2006-02-27 Thread Lincoln, Adym
Hi all,

I am trying to figure out a way to "echo/print" the values of my
variables in JMeter.  Basically, I have two CSV files that I am reading
data from.  One CSV data file is read in by the Thread Group, the other
from a While Controller().  What I would like is a way to echo and/or
print the values of the variables in each to get a basic debugging of
when and where certain values are being processed.

I'm currently trying to setup a BeanShell Sampler, but wanted to know if
there was a simpler/easier way to do this?

thx in advance...

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Thread number and Ramp-up time relationship?

2006-02-22 Thread Lincoln, Adym
Pavel,

There use to be a simple Windows program call pmon.exe, short for
process monitor.  I just tried it on my Windows 2000 Professional and
couldn't find it.  I use to use it on Windows 95/NT many moons ago when
I was doing Windows/M$ development, but I've since fallen behind with
regards to Windows/Visual Studio development.

Bottom line, pmon.exe is probably still around and it should give you a
clearer picture of processes on your Windows box then Task Manager...

hth,



Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Pavel Gouchtchine [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 22, 2006 12:43 PM
To: JMeter Users List
Subject: Re: Thread number and Ramp-up time relationship?

Thank you for the question.
The threads just start at once. It is  true. Now I understand it.
And I don't know how to monitor the number of started (running) threads.
Does any body know? Please, give an advise.

Pavel


On 2/22/06, sebb <[EMAIL PROTECTED]> wrote:
>
> But do the threads *start* earlier than expected, or is it just that
> the threads are created all at once?
>
> S.
> On 22/02/06, Pavel Gouchtchine <[EMAIL PROTECTED]> wrote:
> > Hi All.
> > I am using JMeter 2.1.1 on Windows XP.
> >
> > According JMeter documentation:
> > " The ramp-up period tells JMeter how long to take to "ramp-up" to
the
> full
> > number of threads chosen. If 10 threads are used, and the ramp-up
period
> is
> > 100 seconds, then JMeter will take 100 seconds to get all 10 threads
up
> and
> > running. Each thread will start 10 (100/10) seconds after the
previous
> > thread was begun. If there are 30 threads and a ramp-up period of
120
> > seconds, then each successive thread will be delayed by 4 seconds."
> >
> > I have started to monitor number of threads using Task Manager and I
see
> > that all threads starts at once, and  ramp-up time doesn't play any
role
> > here.
> > For example, when I have Number of Threads: 1000 and Ramp up time 60
> sec, I
> > am expecting to get all 1000 threads up and running only in 60 sec.
> That  I
> > see is different: all 1000 threads started at once.
> >
> > Is it something, that I am missing in configuration or it is a
problem?
> >
> > Thank you.
> > Pavel Gouchtchine
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: increment in While Controller

2006-02-17 Thread Lincoln, Adym
Absolutely...Any chance you could publish the JMX snippets?  That would
be one nice regex to keep around...

thx, 


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Aliaksandr Yermakovich [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 17, 2006 10:48 AM
To: JMeter Users List
Subject: RE: increment in While Controller

I've found a solution. I downloaded source and updated While Controller
code.
Now it's got one more text filed, which's called Reference Name, just
like in 
several other controls. I just set name of the variable, then it gets 
increased each loop, and I can use :)

I didn't test it properly yet, but it works.

I think that's a good idea to add this functionality permanently, if you
think 
it will be useful for other people.

Thanks.

Best regards,
Alex Y.

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 1:10 PM
To: JMeter Users List
Subject: Re: increment in While Controller

So how do you know when to stop?

S.
On 17/02/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]>
wrote:
>
> I cannot use Loop controller, because I don't know how many steps will
be.
>
> Best regards,
> Alex Y.
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 16, 2006 6:45 PM
> To: JMeter Users List
> Subject: Re: increment in While Controller
>
> On 16/02/06, Richard Gaywood <[EMAIL PROTECTED]> wrote:
> > On 2/16/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]>
> wrote:
> > >
> > > Could somebody tell me, how too create and use a variable and
increase
> it
> > > each
> > > loop in While Controller? Like:
> > >
> > > while ( foo=="true")
>
> BTW, this is not a valid  expression for the While Controller - see
the
> docs...
>
> > >   i++;
> > > );
> >
> >
> >
> > Look at the Counter pre-processor. Try adding it to a While loop.
> >
> >
>
> Or why not use a Loop Controller with a variable count?
>
> Loop N times
> - Counter 1 ... anything > N
> - Sampler
>
> S
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: increment in While Controller

2006-02-17 Thread Lincoln, Adym
Something I've done is I have a While Controller, then inside the While
Controller I have a CSV Data File.  I then have a stub/plug value in the
last record of the CSV Data File.  The stub/plug value is read into a
variable that I test for within the While Controller.

Here's the snippet of the JMX file...


  org.apache.jmeter.control.gui.WhileControll
erGui
  org.apache.jmeter.control.WhileController<
/stringProp>
  While
Controller
  true
  ${__javaScript("${id-bug}"!=&
quot;99",dummy)}


  
|
org.apache.jmeter.testbeans.gui.TestBeanGUI

org.apache.jmeter.config.CSVDataSet
userid-001,passwd-001,id-project,id-bug,access-leve
l
mantis-view-issues
true
projects-issues-001.txt
  
  

And here's a snippet of the CSV Data File...


Brown, Chris||146|18193|55
Brown, Chris||146|24241|55
Brown, Chris||146|24242|55
stub, plug||146|99|55

 
So, checking the WhileController.condition above, you can see I simply
test for the 99 value in the id-bug variable...Also, I use a "|"
delimiter instead of the usual comma...


hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 17, 2006 6:10 AM
To: JMeter Users List
Subject: Re: increment in While Controller

So how do you know when to stop?

S.
On 17/02/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]>
wrote:
>
> I cannot use Loop controller, because I don't know how many steps will
be.
>
> Best regards,
> Alex Y.
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 16, 2006 6:45 PM
> To: JMeter Users List
> Subject: Re: increment in While Controller
>
> On 16/02/06, Richard Gaywood <[EMAIL PROTECTED]> wrote:
> > On 2/16/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]>
> wrote:
> > >
> > > Could somebody tell me, how too create and use a variable and
increase
> it
> > > each
> > > loop in While Controller? Like:
> > >
> > > while ( foo=="true")
>
> BTW, this is not a valid  expression for the While Controller - see
the
> docs...
>
> > >   i++;
> > > );
> >
> >
> >
> > Look at the Counter pre-processor. Try adding it to a While loop.
> >
> >
>
> Or why not use a Loop Controller with a variable count?
>
> Loop N times
> - Counter 1 ... anything > N
> - Sampler
>
> S
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Include controllers and non-gui mode

2006-02-16 Thread Lincoln, Adym
First, just browsing the error messages...I'd say it can't find the file
notes.htm.

Could not fetch
SamplePackage
2006/02/16 11:21:05 ERROR -
jmeter.samplers.SampleResult:


2.) It looks like you're using HTTP to fetch the file given the URL...

file:///X:/travelink/Nov%202006%20load%20testing/notes.htm#


3.) Jmeter seems to want to find it on your "localhost" given the URL
starts with file:///X:...

4.) It looks like you're running it on a Windows box...I'm guessing the
///X:/etc... means it wants to find that file on a disk drive with the
letter X:

That said.
- To address 1, you need to make sure the file exists.  As an added hint
here, I'd make sure the directory path had no spaces in it...it looks
like the URL encoding is occurring correctly, but it makes it a bear to
look thru in Java exception messages.
- To address 2, you need to make sure the web server on your localhost
is running.
- To address 3, you need to verify the path under your web server
"matches" the one in the error.  Again, having no spaces here really
makes life easy...
- To address 4, You need to make sure the disk drive X: is mounted AND
your web server (aka the userid that the web server runs under) has at
least Read access to that disk drive and directory tree as well as the
file.

Start with these and see if the problem gets solved...

hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Richard Gaywood [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 7:24 AM
To: JMeter Users List
Subject: Include controllers and non-gui mode

I have a complex Jmeter test script, in script1.jmx, which calls in a
dozen
or so components via the Include controller. This works fine in the GUI
with
either a relative path in the Include Controller's box (e.g.
'component_foo.jmx') or an absolute one
('d:\jmeter\test\component_foo.jmx'). Each compent JMX has a Simple
Controller with some HTTP Samplers below it. In the top-level script,
for
each component, I have a Transaction Controller, then the Include
Controller
below that. An abbreviated sample is as follows:

top-level:
- thread group
  - while controller
- CSVdata set
- transaction controller
  - include controller
- if controller
  - transaction controller
- include controller
- if controller
  - transaction controller
- include controller

[aside: the while controller loops through the CSV data set until an
endpoint is reached in the file. The if controllers fire depending on
settings read in from the CSV file. It's a complex test.]

component_foo.jmx:
+ simple controller
  - HTTP sampler
  - HTTP sampler

However, when I run the test outside the gui with the -n -t command line
options, I can see from the sampler results that none of the samplers in
any
of the Included component JMXs are run at all. This happens with either
relative or absolute paths in the Include Controllers.


Running on the command line, I get these messages in jmeter.log:

2006/02/16 11:21:04 INFO -
jmeter.control.IncludeController:
loadIncludedElements -- try to load included module
...  [REPEATED] ...
2006/02/16 11:21:05 INFO -
jmeter.threads.JMeterThread:
Thread Thread Group 1-1 started
2006/02/16 11:21:05 WARN -
jmeter.control.TransactionController:
Could not fetch
SamplePackage
2006/02/16 11:21:05 ERROR -
jmeter.samplers.SampleResult:
sampleEnd called twice java.lang.Throwable: Invalid call sequence
at
org.apache.jmeter.samplers.SampleResult
.sampleEnd(SampleResult
.java:612)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2
.sample(HTTPSampler2
.java:505)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
.sample(HTTPSamplerBase
.java:514)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
.sample(HTTPSamplerBase
.java:503)
at
org.apache.jmeter.threads.JMeterThread
.run(JMeterThread
.java:247)
at java.lang.Thread.run(Thread.java:534)
...  [REPEATED] ...
2006/02/16 11:21:04 INFO -
jmeter.control.IncludeController:
loadIncludedElements -- try to load included module
...  [REPEATED] ...

These error messages do not appear in GUI mode, although I can't quite
figure out why. Taking the Include controller outside the Transaction
Controller doesn't seem to change anything, it still doesn't work.

So anyone know what's going on?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: RE: Sending Body data with http sampler

2006-02-13 Thread Lincoln, Adym
Check.

In my case, I had an HTTP Request that did the GET onto the actual
login_page.php.  But, what I had to do was view the source of the
login_page.php to find out what "action" the  on the page was
going to:



Then I had to setup/replace the original HTTP Request/GET for
login_page.php with an HTTP Request/POST for login.php and then put the
parameters from the  into the HTTP Request with the values I
wanted.
 
hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Anand Ramanan Iyer [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 13, 2006 11:28 AM
To: JMeter Users List
Subject: Re: RE: Sending Body data with http sampler

Maybe I should add to this .it gets redirected to another page where the
form is displayed and then the user fills out his credentials and gets
redirected back to the page he was looking for.

Anand 


- Original Message -
From: Anand Ramanan Iyer <[EMAIL PROTECTED]>
Date: Monday, February 13, 2006 11:16 am
Subject: Re: RE: Sending Body data with http sampler

> A form is used...with textboxes where u enter userid and password...
> 
> Anand R Iyer
> 
> 
> ----- Original Message -
> From: "Lincoln, Adym" <[EMAIL PROTECTED]>
> Date: Monday, February 13, 2006 11:07 am
> Subject: RE: Sending Body data with http sampler
> 
> > How is the authentication done?  
> > 
> > For instance, most web applications use a "form" that acts just 
> > like any
> > other webpage...i.e. it appears in the web browser as a normal 
> web 
> > pagewith textboxes that are used to capture the userid and password.
> > 
> > Another way is that the web application puts up a pop-up dialog that
> > appears in front of the web browser...many of my LDAP web 
> applications> do this.
> > 
> > So, how is the authentication done?  Does it appear as a regular web
> > page with a  or does a dialog box pop-up in front of the web
> > browser. 
> > 
> > thx,
> > 
> > Adym Lincoln
> > I/S Corporate - I/S Internal Applications
> > 603-245-8245
> > Ext : 58245
> > [EMAIL PROTECTED]
> > 
> > ...
> > It's a bug planet...it's an ugly planet...ever feel like your 
> software> project is going in the wrong direction.
> > ...
> > 
> > 
> > -Original Message-
> > From: Anand Ramanan Iyer [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, February 13, 2006 10:57 AM
> > To: JMeter Users List
> > Subject: Re: Sending Body data with http sampler
> > 
> > I am having trouble testing a web application using JMeterthe 
> app> gets redirected to a login page where u need to enter ur id and
> > password.How do I do that?
> > HTTP Authorisation Manager wont work for this...do I use a text 
> > file to
> > load these values into and then load them using User Parameters...
> > thx
> > 
> > Anand R Iyer
> > 
> > --
> --
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sending Body data with http sampler

2006-02-13 Thread Lincoln, Adym
How is the authentication done?  

For instance, most web applications use a "form" that acts just like any
other webpage...i.e. it appears in the web browser as a normal web page
with textboxes that are used to capture the userid and password.

Another way is that the web application puts up a pop-up dialog that
appears in front of the web browser...many of my LDAP web applications
do this.

So, how is the authentication done?  Does it appear as a regular web
page with a  or does a dialog box pop-up in front of the web
browser. 

thx,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Anand Ramanan Iyer [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 13, 2006 10:57 AM
To: JMeter Users List
Subject: Re: Sending Body data with http sampler

I am having trouble testing a web application using JMeterthe app
gets redirected to a login page where u need to enter ur id and
password.How do I do that?
HTTP Authorisation Manager wont work for this...do I use a text file to
load these values into and then load them using User Parameters...
thx

Anand R Iyer

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Too many TCP connections?

2006-02-10 Thread Lincoln, Adym
Fred,

I'm curious as I build a Test Plan to investigate this myself.  Did you
have multiple Thread Groups involved, each trying to create 30(+)
threads, or was it a single Thread Group trying to create 30(+) threads.

The more I think about this problem, the more I think it's related to
the Web Server...I.e. The fact that a CGI configuration allowed you to
create 50(+) threads while a DSO configuration would only allow 30(-).
This tells me that JMeter doesn't have a problem with creating 30(+)
threads, it's the web server that can't service the incoming requests...

I'm wondering what JMeter does when it receives an HTTP Response code
other than 200 (OK), 302 (redirect), or 404 (Not found).  Anyone know
what the HTTP Response code is from Apache when it's at MaxClients...in
other words the web server ain't gonna service you?  I'm wondering if
the JDK java.net.* component just throws up the "Address already in use:
connect" exception...


thx,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Fred [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 10, 2006 10:20 AM
To: JMeter Users List
Subject: Re: Too many TCP connections?

Hi Lincoln,

No problem, thanks. I have resolved the issue.

It appear that JMeter was not able to cope with the initial 300ms set in

delay for each request. Also, probably I am performing the test in a
10/100 
LAN, hence the response time not realistic too.

I have further delay to 1000 ms and it appear to get over and failed at
50 
threads. I will probably set further delay, I think it should help.

Regards,
Fred
- Original Message - 
From: "Lincoln, Adym" <[EMAIL PROTECTED]>
To: "JMeter Users List" 
Sent: Friday, February 10, 2006 10:54 PM
Subject: RE: Too many TCP connections?


Fred,

Unfortunately, this is starting to go beyond my expertise with Jmeter
and Apache.  I've done some performance tuning of Apache and some work
with CGI and DSO configurations.  In this case, it sounds like there is
some in-depth research on Apache worker versus prefork configurations.



Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Fred [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 09, 2006 10:12 PM
To: JMeter Users List
Subject: RE: Too many TCP connections?

Thanks for your quick response, once again..

- In a CGI configuration you're able to "exceed" 30 threads.
- In a DSO (module) configuration it breaks at ~ 30 threads.

Fred: This is correct, if I using a CGI module to load on, the Jmeter's
test
plan can even generate up to 50 threads.

What's you web server?  Apache, IIS, Tomcat, other?

Fred: It's an Apache built-in in CentOS.

It could be that you're web server is limiting the number of threads it
will create.  I know Apache has a couple of configuration settings that
define what and how many threads it will allow...

Fred: If the web server is limiting the thread, shouldn't it limit the
threads creation, when I'm loading the CGI module?

My guess is whatever port that the 30th thread is trying
to use is already in use.

Fred: Apart from the web server limiting the thread, if there is a
possibility that the JMeter cannot cope with the fast return response
within
the thread group for concurrent access that it breaks? May be I will try
to
add more delay in between request.

Regards,
Fred

-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 09, 2006 10:21 PM
To: JMeter Users List
Subject: RE: Too many TCP connections?


Just so I'm clear...
- In a CGI configuration you're able to "exceed" 30 threads.
- In a DSO (module) configuration it breaks at ~ 30 threads.

What's you web server?  Apache, IIS, Tomcat, other?

It could be that you're web server is limiting the number of threads it
will create.  I know Apache has a couple of configuration settings that
define what and how many threads it will allow...

Also, the Java exception in your original message reads:

connect java.net.BindException: Address already in use: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)


The java.net.* package is part of the JDK.  Thus, the exception is being
fired from the JDK, not JMeter.  JMeter is catching the exception and
reporting it.  My guess is whatever port that the 30th thread is trying
to use is already in use.  But, this doesn't rule out the possibility
that your Web server is limiting the number of threads...i.e. if the
30th thread is not

RE: How to setup and use a parameter file...

2006-02-10 Thread Lincoln, Adym
Just a quick follow-up...I was able to dig around on the User Manual and
located the User Parameters element.  

I'm currently using a User Parameters element at the Thread Group level
to get this to happen, but are there other ways using Pre processors to
modify GET/POST parameter?  If so, are there articles/tutorials on how
to do this?

thx in advance,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 10, 2006 1:04 PM
To: JMeter Users List
Subject: How to setup and use a parameter file...

Hi all,

Is there a tutorial and/or example of how to feed parameters into an
HTTP Request element?

I basically need to setup a thread group that iterates through a series
of HTTP Requests, one of which is a view page that takes an id field via
the URL...i.e. a GET.  I'd like to setup a file within the thread group
that contains a list of id's that the Test plan could substitute for
each "loop" of the thread group.

thx,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to setup and use a parameter file...

2006-02-10 Thread Lincoln, Adym
Hi all,

Is there a tutorial and/or example of how to feed parameters into an
HTTP Request element?

I basically need to setup a thread group that iterates through a series
of HTTP Requests, one of which is a view page that takes an id field via
the URL...i.e. a GET.  I'd like to setup a file within the thread group
that contains a list of id's that the Test plan could substitute for
each "loop" of the thread group.

thx,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Too many TCP connections?

2006-02-10 Thread Lincoln, Adym
Fred,

Unfortunately, this is starting to go beyond my expertise with Jmeter
and Apache.  I've done some performance tuning of Apache and some work
with CGI and DSO configurations.  In this case, it sounds like there is
some in-depth research on Apache worker versus prefork configurations.



Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Fred [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 09, 2006 10:12 PM
To: JMeter Users List
Subject: RE: Too many TCP connections?

Thanks for your quick response, once again..

- In a CGI configuration you're able to "exceed" 30 threads.
- In a DSO (module) configuration it breaks at ~ 30 threads.

Fred: This is correct, if I using a CGI module to load on, the Jmeter's
test
plan can even generate up to 50 threads.

What's you web server?  Apache, IIS, Tomcat, other?

Fred: It's an Apache built-in in CentOS.

It could be that you're web server is limiting the number of threads it
will create.  I know Apache has a couple of configuration settings that
define what and how many threads it will allow...

Fred: If the web server is limiting the thread, shouldn't it limit the
threads creation, when I'm loading the CGI module?

My guess is whatever port that the 30th thread is trying
to use is already in use.

Fred: Apart from the web server limiting the thread, if there is a
possibility that the JMeter cannot cope with the fast return response
within
the thread group for concurrent access that it breaks? May be I will try
to
add more delay in between request.

Regards,
Fred

-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 09, 2006 10:21 PM
To: JMeter Users List
Subject: RE: Too many TCP connections?


Just so I'm clear...
- In a CGI configuration you're able to "exceed" 30 threads.
- In a DSO (module) configuration it breaks at ~ 30 threads.

What's you web server?  Apache, IIS, Tomcat, other?

It could be that you're web server is limiting the number of threads it
will create.  I know Apache has a couple of configuration settings that
define what and how many threads it will allow...

Also, the Java exception in your original message reads:

connect java.net.BindException: Address already in use: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)


The java.net.* package is part of the JDK.  Thus, the exception is being
fired from the JDK, not JMeter.  JMeter is catching the exception and
reporting it.  My guess is whatever port that the 30th thread is trying
to use is already in use.  But, this doesn't rule out the possibility
that your Web server is limiting the number of threads...i.e. if the
30th thread is not allowed by the web server, and the JDK simply
"reports" this exception as "Address already in use.".  In other words,
the JDK could be reporting a "default" exception message because it
doesn't have a specific message for the web server's "No more threads
available" message.  Hope these last couple of sentences make sense...

I haven't seen anything in JMeter that allows you to control what
port(s) to use when creating threads.  There's probably a setting
though...i.e. start at port number  and go up (or down) from there.


hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Fred [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 09, 2006 5:00 AM
To: Lincoln, Adym; JMeter Users List
Subject: RE: Too many TCP connections?

Thanks for the response.

I have run the same tests Jmeter on 2 XP SP2 machines,
- AMD Athon 3000, 512mb RAM,
- Intel Pentium4, 2.8Ghz, 1024Mb RAM.

Both breaks consistently in the midst of 30 threads.

Brief TestPlans:
10 Threads
|_ 100 HTTP POST requests
20 Threads
|_ 100 HTTP POST requests
30 Threads
|_ 100 HTTP POST requests
40 Threads
|_ 100 HTTP POST requests
50 Threads
|_ 100 HTTP POST requests

I have successfully run above tests to a CGI script on server, and only
run
into issue when the CGI module is being changed to a DSO module on the
test
server.

Hence, it seems rule out my test machines are not able to generate the
amount of threads.

Regards,
Fred

-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 08, 2006 10:05 PM
To: JMeter Users List; [EMAIL PROTECTED]
Subject: RE: Too many TCP connections?


There's a good chance that it's related to the number of threads, not
TCP connections.  TCP connec

RE: login test problem..

2006-02-09 Thread Lincoln, Adym
Yup.  Just went through this last week myself...

In my case, I had an HTTP Request that did the GET onto the actual
login_page.php.  But, what I had to do was view the source of the
login_page.php to find out what "action" the  on the page was
going to:



Then I had to setup/replace the original HTTP Request/GET for
login_page.php with an HTTP Request/POST for login.php and then put the
parameters from the  into the HTTP Request with the values I
wanted.

hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: benmao ben [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 08, 2006 4:34 PM
To: jmeter-user@jakarta.apache.org
Subject: login test problem..

hi,
I am trying to work on JMeter2.1.1 I am having problem to test a login
page.
I'm able to send a HTTP Request to the home page of the portal.Now i
want to send the http request such that i can login to the portal by
providing user name and password of the user along with the http
request.Is it possible by using JMeter and if it is how can I go about
it? Can I simulate many users and can i provide different usernames and
passwords to each user?
Hope to get a reply soon.
  thx


-
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Too many TCP connections?

2006-02-09 Thread Lincoln, Adym
Just so I'm clear...
- In a CGI configuration you're able to "exceed" 30 threads.
- In a DSO (module) configuration it breaks at ~ 30 threads.

What's you web server?  Apache, IIS, Tomcat, other?

It could be that you're web server is limiting the number of threads it
will create.  I know Apache has a couple of configuration settings that
define what and how many threads it will allow...

Also, the Java exception in your original message reads:

connect java.net.BindException: Address already in use: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)


The java.net.* package is part of the JDK.  Thus, the exception is being
fired from the JDK, not JMeter.  JMeter is catching the exception and
reporting it.  My guess is whatever port that the 30th thread is trying
to use is already in use.  But, this doesn't rule out the possibility
that your Web server is limiting the number of threads...i.e. if the
30th thread is not allowed by the web server, and the JDK simply
"reports" this exception as "Address already in use.".  In other words,
the JDK could be reporting a "default" exception message because it
doesn't have a specific message for the web server's "No more threads
available" message.  Hope these last couple of sentences make sense...

I haven't seen anything in JMeter that allows you to control what
port(s) to use when creating threads.  There's probably a setting
though...i.e. start at port number  and go up (or down) from there.


hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Fred [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 09, 2006 5:00 AM
To: Lincoln, Adym; JMeter Users List
Subject: RE: Too many TCP connections?

Thanks for the response.

I have run the same tests Jmeter on 2 XP SP2 machines,
- AMD Athon 3000, 512mb RAM,
- Intel Pentium4, 2.8Ghz, 1024Mb RAM.

Both breaks consistently in the midst of 30 threads.

Brief TestPlans:
10 Threads
|_ 100 HTTP POST requests
20 Threads
|_ 100 HTTP POST requests
30 Threads
|_ 100 HTTP POST requests
40 Threads
|_ 100 HTTP POST requests
50 Threads
|_ 100 HTTP POST requests

I have successfully run above tests to a CGI script on server, and only
run
into issue when the CGI module is being changed to a DSO module on the
test
server.

Hence, it seems rule out my test machines are not able to generate the
amount of threads.

Regards,
Fred

-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 08, 2006 10:05 PM
To: JMeter Users List; [EMAIL PROTECTED]
Subject: RE: Too many TCP connections?


There's a good chance that it's related to the number of threads, not
TCP connections.  TCP connections typically utilize a "port" on your
machine.  Setting up a TCP connection probably doesn't use as many
resources as setting up the "thread" that is going to use that port.

There's also the possibility that XP's firewall is not allowing you to
use certain "port" numbers, but it doesn't sound that way, since you
indicate that it is "consistently" happening at the same point.

My guess, not knowing your machine specs, is that your machine simply
runs out of resources to create more threads...I had read an article two
days ago on JMeter having a similar issue at 25 threads...could have
sworn it was on the Server Side website, but I can't find it now.  In
the article, the author wanted to run a test with 100 threads, but it
broke down at around 25 threads...

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Fred [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 08, 2006 6:23 AM
To: List, JMeter Users
Subject: Too many TCP connections?

I was running a test off a Windows XP platform, and it consistently
breaks
in the midst of thread.. with the following error..
I suspect it's too many TCP connections opened, is there a limit that I
can
open concurrently?

Any advice is very much appreciated.

Regards,
Fred





2006/02/08 10:16:43 INFO  - jmeter.threads.JMeterThread: Thread 30
Thread
3-24 started
2006/02/08 10:16:43 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
Can't
connect java.net.BindException: Address already in use: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at ja

RE: Too many TCP connections?

2006-02-08 Thread Lincoln, Adym
There's a good chance that it's related to the number of threads, not
TCP connections.  TCP connections typically utilize a "port" on your
machine.  Setting up a TCP connection probably doesn't use as many
resources as setting up the "thread" that is going to use that port.

There's also the possibility that XP's firewall is not allowing you to
use certain "port" numbers, but it doesn't sound that way, since you
indicate that it is "consistently" happening at the same point.

My guess, not knowing your machine specs, is that your machine simply
runs out of resources to create more threads...I had read an article two
days ago on JMeter having a similar issue at 25 threads...could have
sworn it was on the Server Side website, but I can't find it now.  In
the article, the author wanted to run a test with 100 threads, but it
broke down at around 25 threads...

hth,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Fred [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 08, 2006 6:23 AM
To: List, JMeter Users
Subject: Too many TCP connections?

I was running a test off a Windows XP platform, and it consistently
breaks
in the midst of thread.. with the following error..
I suspect it's too many TCP connections opened, is there a limit that I
can
open concurrently?

Any advice is very much appreciated.

Regards,
Fred





2006/02/08 10:16:43 INFO  - jmeter.threads.JMeterThread: Thread 30
Thread
3-24 started
2006/02/08 10:16:43 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
Can't
connect java.net.BindException: Address already in use: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at sun.net.NetworkClient.doConnect(Unknown Source)
 at sun.net.www.http.HttpClient.openServer(Unknown Source)
 at sun.net.www.http.HttpClient.openServer(Unknown Source)
 at sun.net.www.http.HttpClient.(Unknown Source)
 at sun.net.www.http.HttpClient.New(Unknown Source)
 at sun.net.www.http.HttpClient.New(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
 at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
Source)
 at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
ava:
424)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBa
se.java:514)
 at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBa
se.java:503)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
 at java.lang.Thread.run(Unknown Source)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: HTTP Proxy Server Recorder...

2006-02-07 Thread Lincoln, Adym
Try ...
- adding a Recording Controller to the WorkBench as well.
- double check that the HTTP proxy Server is pointing to WorkBench ->
Recording Controller.
- check/verify that the Connection settings in your Foxfire/Internet
Exploder are indeed pointing to the Proxy Server localhost:9090.

hth,


Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Ganti, Venkata [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 07, 2006 2:01 PM
To: JMeter Users List
Subject: RE: HTTP Proxy Server Recorder...

I added this HTTP Proxy Server Non-Test Element to the Work bench and
entered the required fields and clicked on Start button and then started
browsing the jakarta.apache.org website. After browsing for couple of
links in that site. I should see the all the links in my target
controller right? But I am not finding any links under target
controller.

What could be the problem?

Thanks in advance.
Ven

-Original Message-
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 07, 2006 10:47 AM
To: JMeter Users List
Subject: RE: HTTP Proxy Server Recorder...

Using it right now.

What's you specific issue?  Can't link the web browser to the Proxy?
Nothing gets recorded?  What?



Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Ganti, Venkata [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 07, 2006 1:41 PM
To: JMeter Users List
Subject: HTTP Proxy Server Recorder...

Hi everyone,

I am new to this tool, I first tried to follow the sample given in the
User Manual i.e. record the Jakarta.apache.org/jmeter site, but I failed
to record this site. So could any one help me in using this HTTP Proxy
Server Non-Test Element?

My Environment:
JMeter 2.1.1 on Windows

Thanks
Venkat


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: HTTP Proxy Server Recorder...

2006-02-07 Thread Lincoln, Adym
Using it right now.

What's you specific issue?  Can't link the web browser to the Proxy?
Nothing gets recorded?  What?



Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: Ganti, Venkata [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 07, 2006 1:41 PM
To: JMeter Users List
Subject: HTTP Proxy Server Recorder...

Hi everyone,

I am new to this tool, I first tried to follow the sample given in the
User Manual i.e. record the Jakarta.apache.org/jmeter site, but I failed
to record this site. So could any one help me in using this HTTP Proxy
Server Non-Test Element?

My Environment:
JMeter 2.1.1 on Windows

Thanks
Venkat


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Proxy Server Recorder...Capturing POST pages...

2006-02-06 Thread Lincoln, Adym
Hi all,

I'm using the HTTP Proxy Server element to capture and record a series
of web requests.  I setup the Proxy Server and a Recording Controller
without any issues.  I can get the HTTP requests to be recorded by the
Proxy Server (and the Recording Controller) except for pages that are
POST requests.

In the following recording session, I stepped thru a couple of Mantis
PHP pages while I had both the JMeter Proxy Server on as well as "tail
-f" of the Apache web server.  What's missing is the POST to the
set_project.php page on the JMeter Recording Controller.


Jmeter (Facsimile of the GUI screen)
-
+ -- WorkBench 
|
- -- HTTP Proxy Server 
| 
+ -- Recording Controller
| 
+ -- /mantis-dev/login_page.php 
| 
+ -- /mantis-dev/login_cookie_test.php 
| 
+ -- /mantis-dev/main_page.php 
| 
+ -- /mantis-dev/main_page.php 
| 
+ -- /mantis-dev/logout_page.php 
| 
+ -- /mantis-dev/login_page.php 

Apache (NOTE: I removed the timestamps for space)
-

127.0.0.1 - - [... -0500] "GET /mantis-dev/ HTTP/1.1" 302 -
127.0.0.1 - - [... -0500] "GET /mantis-dev/login_page.php HTTP/1.1" 200
3589
127.0.0.1 - - [... -0500] "POST /mantis-dev/login.php HTTP/1.1" 302 -
127.0.0.1 - - [... -0500] "GET
/mantis-dev/login_cookie_test.php?return=main_page.php HTTP/1.1" 302 -
127.0.0.1 - - [... -0500] "GET /mantis-dev/main_page.php HTTP/1.1" 200
35065
127.0.0.1 - - [... -0500] "POST /mantis-dev/set_project.php HTTP/1.1"
302 -
127.0.0.1 - - [... -0500] "GET /mantis-dev/main_page.php HTTP/1.1" 200
31569
127.0.0.1 - - [... -0500] "GET /mantis-dev/logout_page.php HTTP/1.1" 302
-
127.0.0.1 - - [... -0500] "GET /mantis-dev/login_page.php HTTP/1.1" 200
3589


Why doesn't JMeter record the POST to login.php or set_project.php?  Can
JMeter be configured to capture these?  I couldn't find anything in the
docs or on Nabble...

thx in advance,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: HTTP Request...How to login to website...

2006-02-03 Thread Lincoln, Adym
John,

Thx, that did the trick...I had the POST in there, but the actual page,
not the "action" page behind it...

Adym Lincoln
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...


-Original Message-
From: John Bullock [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 02, 2006 5:10 PM
To: JMeter Users List
Subject: Re: HTTP Request...How to login to website...

The login page is probably an html form, so a JMeter HTTPSampler in 
appropriate.  Set the mode to POST, the use form's action as the request
URL, 
and supply one HTTP parameter for each form input.
 
On Thursday 02 February 2006 12:22 pm, Lincoln, Adym wrote:
> Hi all,
>
> Trying to setup JMeter to load test a website that requires login
> authentication.  the login page uses simple database
> authentication...i.e. user table with simple clear-text password
> comparison.
>
> Has anyone setup such an Element in Jmeter?  And if so, how?
>
> Configuration
> -
> - Jmeter 2.1.1
> - JDK 1.5
> - Apache 2.0.54
> - Windows 2000 Professional
>
> thx in advance,
>
> Adym Lincoln
> I/S Corporate - I/S Internal Applications
> 603-245-8245
> Ext : 58245
> [EMAIL PROTECTED]
>
> ...
> It's a bug planet...it's an ugly planet...ever feel like your software
> project is going in the wrong direction.
> ...
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
John Bullock
IQNavigator
303-563-1501


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



HTTP Request...How to login to website...

2006-02-02 Thread Lincoln, Adym
Hi all,

Trying to setup JMeter to load test a website that requires login
authentication.  the login page uses simple database
authentication...i.e. user table with simple clear-text password
comparison.

Has anyone setup such an Element in Jmeter?  And if so, how?

Configuration
-
- Jmeter 2.1.1
- JDK 1.5
- Apache 2.0.54
- Windows 2000 Professional

thx in advance,

Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-8245
Ext : 58245
[EMAIL PROTECTED]

...
It's a bug planet...it's an ugly planet...ever feel like your software
project is going in the wrong direction.
...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]