Re: Last Iteration Controller

2007-07-13 Thread Ðavîd Låndïs

I suggested this a while back as well and think it would be a good
idea. IMO it is pointless to have a controller that is designed for
logins without having one available for logout as well.

On 7/14/07, sebb <[EMAIL PROTECTED]> wrote:

There is no such controller at present.

However it's easy enough to use loops:

Thread Group
+ Login
+ Loop Controller
+ + main body of test
+ Logout

You can also loop at thread group level if you want to run several
login-process-logout sequences.

S
On 13/07/07, Scott Carr <[EMAIL PROTECTED]> wrote:
> Sorry the subject was originally Once Only Controller.  This is a
> possible feature for the Once Only controller and I wanted to get
> feedback on if this was a valid feature, or was there already something
> that did this.
>
> Thanks
>
> Scott Carr wrote:
> > I have been thinking about this controller, and would like to see a
> > new addition to it.
> > For me, I run into the following example numerous times:
> >
> > *  Login  (Once Only)
> > *  Do some stuff
> > *  Logout (Once Only, but should occur at the LAST iteration)
> >
> > It would be nice to have a controller like the Once Only, that would
> > only occur in the last iteration of a loop.
> >
>
>
> --
> Scott Carr
> OpenOffice.org
> Documentation Co-Lead
> http://documentation.openoffice.org
>
>
> -
> 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: Proxy server not getting port

2007-07-13 Thread sebb

Actually I managed to find the problem quite quickly.

I've updated the code and uploaded a new nightly - r556204.

Sorry, there's not time now to do a formal release.

But the nightly build should allow you to record the test plans, and
can then run them using 2.3RC3 (or indeed the nightly, if you so
wish).

S.
On 14/07/07, sebb <[EMAIL PROTECTED]> wrote:

I can confirn the problem is in 2.3RC3 and not 2.2. Oops!

(I set JMeter proxy to  and tried to access Tomcat on localhost:8080.)

Sorry, but we're unlikely to have time to fix that problem immediately
owing to other commitments.

Please could you file a Bugzilla issue so it does not get forgotten?

Obviously this will have to be fixed for the full 2.3 release.

S.
On 13/07/07, Jeremy Wilkerson <[EMAIL PROTECTED]> wrote:
> I recently tried upgrading from JMeter 2.2 to 2.3RC3. When trying to
> record an application that uses a non-standard HTTP port (9080), the
> proxy server isn't getting the port number. The result is that the
> browser says it can't find the site, and the recorded http samplers
> don't specify a port number. This was not a problem in version 2.2
>
> Thanks
>
> --
> Vote in the National Cheney Impeachment Poll
> http://www.usalone.com/blogvoices.php?Cheney%20Impeachment%3F
> Add this text to your own email and blog signatures!
>
> -
> 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: Proxy server not getting port

2007-07-13 Thread sebb

I can confirn the problem is in 2.3RC3 and not 2.2. Oops!

(I set JMeter proxy to  and tried to access Tomcat on localhost:8080.)

Sorry, but we're unlikely to have time to fix that problem immediately
owing to other commitments.

Please could you file a Bugzilla issue so it does not get forgotten?

Obviously this will have to be fixed for the full 2.3 release.

S.
On 13/07/07, Jeremy Wilkerson <[EMAIL PROTECTED]> wrote:

I recently tried upgrading from JMeter 2.2 to 2.3RC3. When trying to
record an application that uses a non-standard HTTP port (9080), the
proxy server isn't getting the port number. The result is that the
browser says it can't find the site, and the recorded http samplers
don't specify a port number. This was not a problem in version 2.2

Thanks

--
Vote in the National Cheney Impeachment Poll
http://www.usalone.com/blogvoices.php?Cheney%20Impeachment%3F
Add this text to your own email and blog signatures!

-
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: why Jmeter is inconsistent in creating scripts

2007-07-13 Thread sebb

On 13/07/07, Yuvarajl <[EMAIL PROTECTED]> wrote:


we recorded a particular performance scenario and created scripts using
Jmeter 3 times.

All the time,we follow a same procedure during recording (i.e using same
query and data entry form etc..)


Do you always clear the browser cache?


But we can able to execute the script only once.
Many of the times scripts can not be executed.

Could any of you tell me why Jmeter is inconsistent in creating scripts?



There were occaisionally some problems with JMeter 2.2 proxy recording
whereby some generated samples could be overwritten. But this was not
very common (I think it was more likely to affect AJAX sites, and
selecting different elements of the test tree while it was generated
could cause problems).

These have been fixed in JMeter 2.3RC3.

S.

Thanks
--
View this message in context: 
http://www.nabble.com/why-Jmeter-is-inconsistent-in-creating-scripts-tf4073762.html#a1153
Sent from the JMeter - User mailing list archive at Nabble.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: Help with "java.net.SocketException: Connection reset"

2007-07-13 Thread sebb

On 12/07/07, Ning An <[EMAIL PROTECTED]> wrote:

Greetings,

I am running a JMeter test plan with SOAP/XML-RPC Request with OC4J 10g (
10.1.3) and Oracle Database 10g.  Even with a single thread and 50 Loop
Count, I am keep getting the following Response Data at View Results Tree:

java.net.SocketException: Connection reset
   at java.net.SocketInputStream.read(SocketInputStream.java:168)


This says that JMeter is trying to read from the server, and detected
a connection reset.

This must be either a network error or the server is resetting the connection.

You'll need to check the Oracle server logs and/or ask the server
administrator to find out what is happening.

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



Re: Last Iteration Controller

2007-07-13 Thread sebb

There is no such controller at present.

However it's easy enough to use loops:

Thread Group
+ Login
+ Loop Controller
+ + main body of test
+ Logout

You can also loop at thread group level if you want to run several
login-process-logout sequences.

S
On 13/07/07, Scott Carr <[EMAIL PROTECTED]> wrote:

Sorry the subject was originally Once Only Controller.  This is a
possible feature for the Once Only controller and I wanted to get
feedback on if this was a valid feature, or was there already something
that did this.

Thanks

Scott Carr wrote:
> I have been thinking about this controller, and would like to see a
> new addition to it.
> For me, I run into the following example numerous times:
>
> *  Login  (Once Only)
> *  Do some stuff
> *  Logout (Once Only, but should occur at the LAST iteration)
>
> It would be nice to have a controller like the Once Only, that would
> only occur in the last iteration of a loop.
>


--
Scott Carr
OpenOffice.org
Documentation Co-Lead
http://documentation.openoffice.org


-
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 run the JMeter client locally on ZOS?

2007-07-13 Thread sebb

On 13/07/07, Lucas Partridge <[EMAIL PROTECTED]> wrote:

Unfortunately I no longer have access to the ZOS box and therefore can't
answer your questions:(.


OK. By the same token, I guess you don't need to use JMeter on ZOS either..


I would guess that if I had created a JMX file using JMeter on ZOS then
the XML header line would have had an encoding value of Cp1047.  That is
what the file.encoding Java system property was reported to be on the box.
 I think that is the EBCDIC code page.

I should have clarified what I meant by 'binary format' before.  The JMX
files were originally in ASCII so they remained as ASCII when ftp'd in
binary transfer mode over to the ZOS box.  If you transfer an ASCII file
using ftp's text transfer mode however, then the ftp daemon on ZOS
automatically converts the format to EBCDIC.  This can be a bit confusing
if you don't realise this, as I didn't at first!


Though presumably the ftp daemon is not clever enough to convert the
encoding attribute in XML files ;-)


Thanks for your help.
Lucas.




sebb <[EMAIL PROTECTED]>
10/07/2007 12:45
Please respond to
"JMeter Users List" 


To
"JMeter Users List" 
cc

Subject
Re: How to run the JMeter client locally on ZOS?






On 09/07/07, Lucas Partridge <[EMAIL PROTECTED]> wrote:
> Thanks very much, Alf - you saved my day because that worked!:)
>
> I downloaded the jakarta-jmeter-r554518 nightly build, set the content
> encoding for the POST requests (and the GET requests for good measure -
> probably not necessary though!) to ISO-8859-1, and JMeter then ran fine
on
> z/OS.  That is, my application understood the POST requests.
>
> BTW I also discovered that my automation had to copy the jmx files over
as
> binary format but the corresponding csv data input files as EBCDIC for
> JMeter to run properly.  If instead the jmx files were in EBCDIC then I
> got a parse exception when JMeter tried to read them:

JMX files are in XML, which it seems can use EBCDIC.

However, I think the encoding needs to be set appropriately - instead of



you would need something like:



Might be interesting to try that?

Also, if you create a JMX on z/OS, what does the XML header line look
like?


> ...and if the csv data files were in binary then garbage was fed into
the
> POST request.
>
> Many thanks for your help.  That's a huge relief.
> Regards,
> Lucas.
>
> PS It might be worth adding the content encoding value as an extra field
> for the HTTP Request Defaults config element.

Good idea.

>
>
> Alf Høgemark <[EMAIL PROTECTED]>
> 06/07/2007 20:08
> Please respond to
> "JMeter Users List" 
>
>
> To
> JMeter Users List 
> cc
>
> Subject
> Re: How to run the JMeter client locally on ZOS?
>
>
>
>
>
>
> Hi
>
> I think you should try the nightly build of jmeter.
> There you can specify the content encoding used for sending the POST
> request.
> There is a parameter in the HTTP Request where you set the content
> encoding, typically UTF-8 or ISO-8859-1, or whatever your web app is
> expecting.
>
> In Jmeter 2.2, the "JRE default encoding" was used in a number of
> places, and it sounds like
> the "JRE default encoding" on ZOS is ebcdic.
> So I am pretty sure you should get it working if you use the nightly
> build of jmeter.
>
> Regards
> Alf Hogemark
>
> Lucas Partridge wrote:
> > I know JMeter works when I run it from a Windows box and point it at a
> ZOS
> > box, but I want to run JMeter 2.2 in batch mode (-n) from within Unix
> > System Services on ZOS.  This is so that I can automate some tests.
> >
> > However when I run JMeter it appears to send garbage data (EBCDIC?) in
> the
> > POST request:
> >
> > POST /SpringSimpleAddressBookWeb/add_contact.do HTTP/1.1
> > Connection: keep-alive
> > Cookie:
> >
>
JSESSIONID=3IPlaBORkaMwOuHwpOAmjUu:C081E072F214D42E00D4000109390F0B
> > Content-Length: 48
> > Content-Type: application/x-www-form-urlencoded
> > User-Agent: Java/1.4.2
> > Host: 9.145.68.119:9081
> > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> >
> > ~???P
> >
> > ... as opposed to something like this when JMeter is run from Windows:
> >
> > POST /SpringSimpleAddressBookWeb/add_contact.do HTTP/1.1
> > Connection: keep-alive
> > Cookie:
> >
>
JSESSIONID=RMNYrz2DRWwXGi1zEQMNBIq:C081E072F214D42E00D4000109390F0B
> > Content-Length: 48
> > Content-Type: application/x-www-form-urlencoded
> > User-Agent: Java/1.4.2
> > Host: localhost:9081
> > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> >
> > name=Lucas&phoneNumber=123&dateOfBirth=&address=
> >
> > I've tried invoking JMeter by using the -Dfile.encoding=ISO-8859-1 on
> the
> > java command line but java then seems to expect the parameters for
> JMeter
> > to be in EBCDIC as well!  For example:
> >
> > /WebSphere/V6R0M0/AppServer/java/bin/java -jar
> -Dfile.encoding=ISO-8859-1
> > JMeter/jakarta-jmeter-2.2/bin/ApacheJMeter.jar -n -l jm.log -t
> > YP_STRUTS_ADD.jmx
> >
> > yields:
> >
> > /test/workarea/automation/tmp:>jmenc.sh
> > The jar file 

Re: Jmeter Plugin - jar files

2007-07-13 Thread sebb

On 13/07/07, tiffany <[EMAIL PROTECTED]> wrote:


Hi,

I am going to write a Jmeter Plugin and I have the following questions:


Probably easiest to take an existing set of classes, rename them and
then modify them. That way you can test it immediately to see that it
is picked up OK (just change a few names etc so it looks different in
the test plan).


1. I should be able to write a Java application for Jmeter Plugin, compile
it against Jmeter and generate a jar file and then put it back to Jmeter
library to function?? Am I right?


The jar needs to be put in lib/ext for JMeter to find it.


2. Do I have to check out the files from subclipse or download the source
file only?


No, you can build your code against the binary release of JMeter - you
only need to put the JMeter and library jars on the classpath.


  Actually, I had download the source file and create a Eclipse project
with it, but I got a whole brunch of errors.


Please read README and eclipse.readme.
You need both binary and source archives.


3. Should I post this kind of message in Jmeter User or Jmeter Developer
forum?


For general questions such as this, the user list is OK; for detailed
technical discussion of JMeter internals the developer list is
probably better.



Thanks,
 Tiffany
--
View this message in context: 
http://www.nabble.com/Jmeter-Plugin---jar-files-tf4074851.html#a11580856
Sent from the JMeter - User mailing list archive at Nabble.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: regarding the distributed testing

2007-07-13 Thread sebb

Rmiregistry is part of Java. Perhaps that is not installed correctly.

If you are new to JMeter I would suggest not trying distributed
testing until you are familiar with GUI and non-GUI testing.

Distributed testing can be difficult to get right.

On 13/07/07, Mathumathi Palani Bommu, EAS-Chennai <[EMAIL PROTECTED]> wrote:


Hi

M new to this tool.. I tried to execute the distributed testing .. I got
the following error when I start the jmeter-server.bat in the remote
machine but its working properly in my local machine.. can any one help


Could not find ApacheJmeter_core.jar ...
... Trying JMETER_HOME=..
Found ApacheJMeter_core.jar
The system cannot find the file rmiregistry.
ERROR: The process "rmiregistry.exe" not found.

DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and
attachments please check them for viruses and defect.

---

-
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: Turn off console logging

2007-07-13 Thread sebb

JMeter does not log hex stuff to the console. However, I think I have
seen this in connection with some SSL problems.

I suggest you update to 2.3RC3 and see if the problem goes away.

On 13/07/07, fclaes <[EMAIL PROTECTED]> wrote:


Hi,

When running a test plan, I see a huge amount of logging (hexadecimal stuff)
coming on my console and more than probably affecting the performances. Can
you tell me how to turn off those console logging?

Thanks.
--
View this message in context: 
http://www.nabble.com/Turn-off-console-logging-tf4073163.html#a11576022
Sent from the JMeter - User mailing list archive at Nabble.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: random csv data set config

2007-07-13 Thread sebb

No, it cannot read the data randomly.

However you can randomise the contents before running JMeter.

Or the Random function might be suitable.

On 13/07/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:


I don't think a csv can read data randomly...
It is only in the order, which you give in the csv file.


Thanks,
Vijay Nandam


-Original Message-
From: fclaes [mailto:[EMAIL PROTECTED]
Sent: Friday, July 13, 2007 2:33 PM
To: jmeter-user@jakarta.apache.org
Subject: random csv data set config


Can a csv data set config read the data randomly? If no, do you have a
workaround to do this?

Thanks.
--
View this message in context: 
http://www.nabble.com/random-csv-data-set-config-tf4073084.html#a11575812
Sent from the JMeter - User mailing list archive at Nabble.com.


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


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

-
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: Last Iteration Controller

2007-07-13 Thread Scott Carr
Sorry the subject was originally Once Only Controller.  This is a 
possible feature for the Once Only controller and I wanted to get 
feedback on if this was a valid feature, or was there already something 
that did this.


Thanks

Scott Carr wrote:
I have been thinking about this controller, and would like to see a 
new addition to it.

For me, I run into the following example numerous times:

*  Login  (Once Only)
*  Do some stuff
*  Logout (Once Only, but should occur at the LAST iteration)

It would be nice to have a controller like the Once Only, that would 
only occur in the last iteration of a loop.





--
Scott Carr
OpenOffice.org
Documentation Co-Lead
http://documentation.openoffice.org


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



Re: How to run the JMeter client locally on ZOS?

2007-07-13 Thread Lucas Partridge
Unfortunately I no longer have access to the ZOS box and therefore can't 
answer your questions:(.

I would guess that if I had created a JMX file using JMeter on ZOS then 
the XML header line would have had an encoding value of Cp1047.  That is 
what the file.encoding Java system property was reported to be on the box. 
 I think that is the EBCDIC code page.

I should have clarified what I meant by 'binary format' before.  The JMX 
files were originally in ASCII so they remained as ASCII when ftp'd in 
binary transfer mode over to the ZOS box.  If you transfer an ASCII file 
using ftp's text transfer mode however, then the ftp daemon on ZOS 
automatically converts the format to EBCDIC.  This can be a bit confusing 
if you don't realise this, as I didn't at first!

Thanks for your help.
Lucas.




sebb <[EMAIL PROTECTED]> 
10/07/2007 12:45
Please respond to
"JMeter Users List" 


To
"JMeter Users List" 
cc

Subject
Re: How to run the JMeter client locally on ZOS?






On 09/07/07, Lucas Partridge <[EMAIL PROTECTED]> wrote:
> Thanks very much, Alf - you saved my day because that worked!:)
>
> I downloaded the jakarta-jmeter-r554518 nightly build, set the content
> encoding for the POST requests (and the GET requests for good measure -
> probably not necessary though!) to ISO-8859-1, and JMeter then ran fine 
on
> z/OS.  That is, my application understood the POST requests.
>
> BTW I also discovered that my automation had to copy the jmx files over 
as
> binary format but the corresponding csv data input files as EBCDIC for
> JMeter to run properly.  If instead the jmx files were in EBCDIC then I
> got a parse exception when JMeter tried to read them:

JMX files are in XML, which it seems can use EBCDIC.

However, I think the encoding needs to be set appropriately - instead of



you would need something like:



Might be interesting to try that?

Also, if you create a JMX on z/OS, what does the XML header line look 
like?


> ...and if the csv data files were in binary then garbage was fed into 
the
> POST request.
>
> Many thanks for your help.  That's a huge relief.
> Regards,
> Lucas.
>
> PS It might be worth adding the content encoding value as an extra field
> for the HTTP Request Defaults config element.

Good idea.

>
>
> Alf Høgemark <[EMAIL PROTECTED]>
> 06/07/2007 20:08
> Please respond to
> "JMeter Users List" 
>
>
> To
> JMeter Users List 
> cc
>
> Subject
> Re: How to run the JMeter client locally on ZOS?
>
>
>
>
>
>
> Hi
>
> I think you should try the nightly build of jmeter.
> There you can specify the content encoding used for sending the POST
> request.
> There is a parameter in the HTTP Request where you set the content
> encoding, typically UTF-8 or ISO-8859-1, or whatever your web app is
> expecting.
>
> In Jmeter 2.2, the "JRE default encoding" was used in a number of
> places, and it sounds like
> the "JRE default encoding" on ZOS is ebcdic.
> So I am pretty sure you should get it working if you use the nightly
> build of jmeter.
>
> Regards
> Alf Hogemark
>
> Lucas Partridge wrote:
> > I know JMeter works when I run it from a Windows box and point it at a
> ZOS
> > box, but I want to run JMeter 2.2 in batch mode (-n) from within Unix
> > System Services on ZOS.  This is so that I can automate some tests.
> >
> > However when I run JMeter it appears to send garbage data (EBCDIC?) in
> the
> > POST request:
> >
> > POST /SpringSimpleAddressBookWeb/add_contact.do HTTP/1.1
> > Connection: keep-alive
> > Cookie:
> >
> 
JSESSIONID=3IPlaBORkaMwOuHwpOAmjUu:C081E072F214D42E00D4000109390F0B
> > Content-Length: 48
> > Content-Type: application/x-www-form-urlencoded
> > User-Agent: Java/1.4.2
> > Host: 9.145.68.119:9081
> > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> >
> > ~???P
> >
> > ... as opposed to something like this when JMeter is run from Windows:
> >
> > POST /SpringSimpleAddressBookWeb/add_contact.do HTTP/1.1
> > Connection: keep-alive
> > Cookie:
> >
> 
JSESSIONID=RMNYrz2DRWwXGi1zEQMNBIq:C081E072F214D42E00D4000109390F0B
> > Content-Length: 48
> > Content-Type: application/x-www-form-urlencoded
> > User-Agent: Java/1.4.2
> > Host: localhost:9081
> > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> >
> > name=Lucas&phoneNumber=123&dateOfBirth=&address=
> >
> > I've tried invoking JMeter by using the -Dfile.encoding=ISO-8859-1 on
> the
> > java command line but java then seems to expect the parameters for
> JMeter
> > to be in EBCDIC as well!  For example:
> >
> > /WebSphere/V6R0M0/AppServer/java/bin/java -jar
> -Dfile.encoding=ISO-8859-1
> > JMeter/jakarta-jmeter-2.2/bin/ApacheJMeter.jar -n -l jm.log -t
> > YP_STRUTS_ADD.jmx
> >
> > yields:
> >
> > /test/workarea/automation/tmp:>jmenc.sh
> > The jar file is not found: ÑÔ
> > £
> > a£`
> > £
> > `òKòaaÁ
> > ÑÔ
> > £
> > K
> > /test/workarea/automation/tmp:>
> >
> > Any ideas please on how to get this working?  I am not a ZOS expert so
> > hopefully the fix is simple:).
> > Many th

Proxy server not getting port

2007-07-13 Thread Jeremy Wilkerson

I recently tried upgrading from JMeter 2.2 to 2.3RC3. When trying to
record an application that uses a non-standard HTTP port (9080), the
proxy server isn't getting the port number. The result is that the
browser says it can't find the site, and the recorded http samplers
don't specify a port number. This was not a problem in version 2.2

Thanks

--
Vote in the National Cheney Impeachment Poll
http://www.usalone.com/blogvoices.php?Cheney%20Impeachment%3F
Add this text to your own email and blog signatures!

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



Last Iteration Controller

2007-07-13 Thread Scott Carr
I have been thinking about this controller, and would like to see a new 
addition to it. 


For me, I run into the following example numerous times:

*  Login  (Once Only)
*  Do some stuff
*  Logout (Once Only, but should occur at the LAST iteration)

It would be nice to have a controller like the Once Only, that would 
only occur in the last iteration of a loop.


--
Scott Carr
OpenOffice.org
Documentation Co-Lead
http://documentation.openoffice.org


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



Jmeter Plugin - jar files

2007-07-13 Thread tiffany

Hi,

I am going to write a Jmeter Plugin and I have the following questions:

1. I should be able to write a Java application for Jmeter Plugin, compile
it against Jmeter and generate a jar file and then put it back to Jmeter
library to function?? Am I right? 

2. Do I have to check out the files from subclipse or download the source
file only?
   Actually, I had download the source file and create a Eclipse project
with it, but I got a whole brunch of errors.

3. Should I post this kind of message in Jmeter User or Jmeter Developer
forum?


Thanks,
  Tiffany
-- 
View this message in context: 
http://www.nabble.com/Jmeter-Plugin---jar-files-tf4074851.html#a11580856
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Oracle JDBC Connection

2007-07-13 Thread Dominik Karall

ah, ok, thank you for the information Allan!
I will check those parameters on monday at work.

so long, thank you for your help!

cheers,
dominik


2007/7/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

Dominik,

It's basically what it says: the oracle Listener on your machine cannot
find a database dbname. Have you created database dbname successfully?
Can you run the same query from sqlplus and get a successful answer?
Have you got an entry for dbname in your local TNSNAMES.ORA file
/ORACLE_HOME/NETWORK/ADMIN/TNSNAMES.ORA?

This is nothing to do with Jmeter it's an Oracle communications issue.

Regards,

Allan

-Original Message-
From: Dominik Karall [mailto:[EMAIL PROTECTED]
Sent: 13 July 2007 15:05
To: jmeter-user@jakarta.apache.org
Subject: Oracle JDBC Connection

Hi,
I would like to use JMeter in our company for webinterface testing in
connection with database. At the moment I try to get an small proof of
concept for database testing, but it doesn't work. My steps I have done
so far:
1) created an oracle jdbc connection
 - jdbc:oracle:thin:@localhost:1521:dbname
 - oracle.jdbc.driver.OracleDriver
2) created select statement with a simple  SELECT * FROM TABLENAME
3) added simple data writer object for output

When I run the test, I get following error in the output file:


Changing the connection url to jdbc:oracle:thin:@//localhost:1521/dbname
i get:


Could you give me some hints on solving this problem please?

Thanks in advance!

cheers,
dominik

-
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: Oracle JDBC Connection

2007-07-13 Thread allan.hagan
Dominik,

It's basically what it says: the oracle Listener on your machine cannot
find a database dbname. Have you created database dbname successfully?
Can you run the same query from sqlplus and get a successful answer?
Have you got an entry for dbname in your local TNSNAMES.ORA file
/ORACLE_HOME/NETWORK/ADMIN/TNSNAMES.ORA?

This is nothing to do with Jmeter it's an Oracle communications issue.

Regards,

Allan 

-Original Message-
From: Dominik Karall [mailto:[EMAIL PROTECTED] 
Sent: 13 July 2007 15:05
To: jmeter-user@jakarta.apache.org
Subject: Oracle JDBC Connection

Hi,
I would like to use JMeter in our company for webinterface testing in
connection with database. At the moment I try to get an small proof of
concept for database testing, but it doesn't work. My steps I have done
so far:
1) created an oracle jdbc connection
 - jdbc:oracle:thin:@localhost:1521:dbname
 - oracle.jdbc.driver.OracleDriver
2) created select statement with a simple  SELECT * FROM TABLENAME
3) added simple data writer object for output

When I run the test, I get following error in the output file:


Changing the connection url to jdbc:oracle:thin:@//localhost:1521/dbname
i get:


Could you give me some hints on solving this problem please?

Thanks in advance!

cheers,
dominik

-
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]



Oracle JDBC Connection

2007-07-13 Thread Dominik Karall

Hi,
I would like to use JMeter in our company for webinterface testing in
connection with database. At the moment I try to get an small proof of
concept for database testing, but it doesn't work. My steps I have
done so far:
1) created an oracle jdbc connection
- jdbc:oracle:thin:@localhost:1521:dbname
- oracle.jdbc.driver.OracleDriver
2) created select statement with a simple
SELECT * FROM TABLENAME
3) added simple data writer object for output

When I run the test, I get following error in the output file:


Changing the connection url to jdbc:oracle:thin:@//localhost:1521/dbname i get:


Could you give me some hints on solving this problem please?

Thanks in advance!

cheers,
dominik

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



why Jmeter is inconsistent in creating scripts

2007-07-13 Thread Yuvarajl

we recorded a particular performance scenario and created scripts using
Jmeter 3 times.

All the time,we follow a same procedure during recording (i.e using same
query and data entry form etc..)

But we can able to execute the script only once.
Many of the times scripts can not be executed.

Could any of you tell me why Jmeter is inconsistent in creating scripts?

Thanks
-- 
View this message in context: 
http://www.nabble.com/why-Jmeter-is-inconsistent-in-creating-scripts-tf4073762.html#a1153
Sent from the JMeter - User mailing list archive at Nabble.com.


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



regarding the distributed testing

2007-07-13 Thread Mathumathi Palani Bommu, EAS-Chennai

Hi

M new to this tool.. I tried to execute the distributed testing .. I got
the following error when I start the jmeter-server.bat in the remote
machine but its working properly in my local machine.. can any one help


Could not find ApacheJmeter_core.jar ...
... Trying JMETER_HOME=..
Found ApacheJMeter_core.jar
The system cannot find the file rmiregistry.
ERROR: The process "rmiregistry.exe" not found.

DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---

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



Turn off console logging

2007-07-13 Thread fclaes

Hi,

When running a test plan, I see a huge amount of logging (hexadecimal stuff)
coming on my console and more than probably affecting the performances. Can
you tell me how to turn off those console logging?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Turn-off-console-logging-tf4073163.html#a11576022
Sent from the JMeter - User mailing list archive at Nabble.com.


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



RE: random csv data set config

2007-07-13 Thread VijayKumar.Nandam

I don't think a csv can read data randomly...
It is only in the order, which you give in the csv file.


Thanks, 
Vijay Nandam  


-Original Message-
From: fclaes [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 13, 2007 2:33 PM
To: jmeter-user@jakarta.apache.org
Subject: random csv data set config


Can a csv data set config read the data randomly? If no, do you have a
workaround to do this?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/random-csv-data-set-config-tf4073084.html#a11575812
Sent from the JMeter - User mailing list archive at Nabble.com.


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


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message. 
Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly 
prohibited and may be unlawful.

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



random csv data set config

2007-07-13 Thread fclaes

Can a csv data set config read the data randomly? If no, do you have a
workaround to do this?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/random-csv-data-set-config-tf4073084.html#a11575812
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Responses from Jmeter

2007-07-13 Thread suraj.k.thimmaraju
Hello All,

Some of the responses for the requests I am testing on Jmeter shows 0
bytes received. The rest of the responses are good.

I am doing Http requests test.


Thanks,
Suraj

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 12 July 2007 4:11 AM
To: JMeter Users List
Subject: Re: Pre-Configuration Counter Node

That reminds me: this has been fixed in the latest code - if the
maximum is omitted, it will default to Long.MAX_VALUE.

S.
On 11/07/07, Scott Carr <[EMAIL PROTECTED]> wrote:
> Thanks for the example.  I found out what the problem is.
>
> If you do not set a Maximum value, the Counter does NOT increment.
>
> It will stay at the initial value for each iteration.
>
> sebb wrote:
> > Using the proxy service to create a test should not make any
> > difference; it only does what you can do manually anyway.
> >
> > I'll send the JMX separately.
> >
> > S.
> > On 11/07/07, Scott Carr <[EMAIL PROTECTED]> wrote:
> >> If you want to send directly that's fine.  I did create the test
using
> >> the Proxy service.  Should that make a difference?
> >>
> >> sebb wrote:
> >> > If the Counter is a child of the Loop Controller, it should be
> >> > incremented for each loop.
> >> >
> >> > Works for me in a simple test - I can send you the JMX privately
if
> >> > you want.
> >> >
> >> > S.
> >> > On 11/07/07, Hugh Hunter <[EMAIL PROTECTED]> wrote:
> >> >> On Wed, 2007-07-11 at 09:30 -0500, Scott Carr wrote:
> >> >> > I am trying to create a task with a counter.  A friend I am
> >> trying to
> >> >> > show how to use jMeter, tried it first, and I tried it on a
> >> different
> >> >> > system.  Both are WinXP, with Java 1.6 and jMeter 2.2.
> >> >> >
> >> >> > I have setup the counter as follows:
> >> >> >
> >> >> > *  Add Contact  - Loop Controller
> >> >> > - Load Contacts Page
> >> >> > - Load Contact Edit Form
> >> >> > - Save Contact Information (This uses ${ContactCounter})
> >> >> > - Load Contact Edit Form
> >> >> > - Click Add Phone Number
> >> >> > - ContactCount  (Reference Name:  ContactCounter)
> >> >> >
> >> >> > When the Save Contact is done, the Name is set to Bond1 which
is
> >> using
> >> >> > the Counter as Bond${ContactCounter}.  If I set the Loop to
10,
> >> each
> >> >> > occurance of the Save Contact request has the same number in
each
> >> >> loop.
> >> >> >
> >> >> > Does anyone have an idea on this?  Am I using the Counter
> >> wrong?  It
> >> >> > looks like it gets initialized to 1 properly, but it doesn't
loop
> >> >> at all.
> >> >> >
> >> >> > The Counter node is set as follows:
> >> >> >
> >> >> > Name:  ContactCount
> >> >> > Start:  1
> >> >> > Increment:  1
> >> >> > Maximum:
> >> >> > Number format:
> >> >> > Reference Name:  ContactCounter
> >> >> > Track counter is not checked.
> >> >> >
> >> >> > Thank you
> >> >> >
> >> >>
> >> >> I know the counter increments properly for each iteration
through a
> >> >> thread group.  Maybe do your looping this way instead of using
the
> >> loop
> >> >> controller?
> >> >>
> >> >> --Hugh
> >> >>
> >> >>
-
> >> >> 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]
> >> >
> >>
> >>
> >> --
> >> Scott Carr
> >> OpenOffice.org
> >> Documentation Co-Lead
> >> http://documentation.openoffice.org
> >>
> >>
> >>
-
> >> 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]
> >
>
>
> --
> Scott Carr
> OpenOffice.org
> Documentation Co-Lead
> http://documentation.openoffice.org
>
>
> -
> 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]



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

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