Re: 3600 Threads with a rampup of 3600 seconds?

2008-07-10 Thread Abel MacAdam

Peter and Sebb,

Thanks for your reply.

How would you emulate:
During peak hours we get a maximum of 3600 requests per hour.
and
Each step in the sales process may cost a maximum of 1 second

I think the second request is not possible to emulate, as it depends on the 
webserver and traffic on the Internet, not on JMeter. 

The transaction I need to test consists of 6 pages. Different pages where 
you need to fill in personal data. Compare it with entering your personal
data 
when you buy something at Amazon.

Should I add think time at each page, so the user I emulate has the
time to enter information? 10 Seconds per page where you need to enter
something? That makes a transaction time of 20 seconds (two pages where
data needs to be entered). 

1 Does that make 6 requests in 20 seconds?
2 Should I multiply that with 600, to get 3600 requests?
or
3a Should I multiply that with 180 to get 3600 seconds? (eg repeat 180 
times)
and
3b  Should I use 4 users (3,333) to get from 180 to 600 requests?

Eventually I used 25 threads with a ramp up of 25 seconds, to be repeated
indefinitely. I observed that the server had problems (response code 502)
responding to the load.

Abel


sebb-2-2 wrote:
 
 On 09/07/2008, Abel MacAdam [EMAIL PROTECTED] wrote:

  Hi,

  Today I tried to emulate 3600 users in one hour by making a test where
  3600 threads where started in 3600 seconds. I observed that the load in
 one
  of my CPU's went to 100 %, and that JMeter stopped responding.
 Eventually I
  killed this process, and restarted it with 25 threads, to be started
 within
  25 seconds, and looping forever, but now for 3600 seconds (one hour).
 Now
  the test is running, while my CPU-usage is idling at away between 2 and
 5 %.
  At the same time I'm writing this question. So all in all a much better
  situation.

  My question: Is JMeter loading all 3600 threads in memory, resulting in
  requiring that much memory and processor power?

 
 3600 threads is rather a lot for one JMeter instance.
 Too many for your test plan, as you have found.
 
 Note that a single thread can generate a much higher load than a
 single user, as JMeter can issue requests much faster than a user
 clicking links.
 
 
  Thanks,
  Abel

 --
  View this message in context:
 http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18363108.html
  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]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18376917.html
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: 3600 Threads with a rampup of 3600 seconds?

2008-07-10 Thread kirk

Abel MacAdam wrote:

Peter and Sebb,

Thanks for your reply.

How would you emulate:
During peak hours we get a maximum of 3600 requests per hour.
and
Each step in the sales process may cost a maximum of 1 second

I think the second request is not possible to emulate, as it depends on the 
webserver and traffic on the Internet, not on JMeter. 
  
I read the second requirement as an SLA. You may want to add a timing 
assert to the HTTP

sampler so that it flags requests that fall outside of this boundry.
The transaction I need to test consists of 6 pages. Different pages where 
you need to fill in personal data. Compare it with entering your personal
data 
when you buy something at Amazon.


Should I add think time at each page, so the user I emulate has the
time to enter information? 10 Seconds per page where you need to enter
something? That makes a transaction time of 20 seconds (two pages where
data needs to be entered). 


1 Does that make 6 requests in 20 seconds?
2 Should I multiply that with 600, to get 3600 requests?
or
3a Should I multiply that with 180 to get 3600 seconds? (eg repeat 180 
times)

and
3b  Should I use 4 users (3,333) to get from 180 to 600 requests?

Eventually I used 25 threads with a ramp up of 25 seconds, to be repeated
indefinitely. I observed that the server had problems (response code 502)
responding to the load.
  
If you've added a reasonable think time to each sampler I think you've 
found the answer to your question.

You need to start diagnosing the problem at this load.

Regards,
Kirk


Abel


sebb-2-2 wrote:
  

On 09/07/2008, Abel MacAdam [EMAIL PROTECTED] wrote:


 Hi,

 Today I tried to emulate 3600 users in one hour by making a test where
 3600 threads where started in 3600 seconds. I observed that the load in
one
 of my CPU's went to 100 %, and that JMeter stopped responding.
Eventually I
 killed this process, and restarted it with 25 threads, to be started
within
 25 seconds, and looping forever, but now for 3600 seconds (one hour).
Now
 the test is running, while my CPU-usage is idling at away between 2 and
5 %.
 At the same time I'm writing this question. So all in all a much better
 situation.

 My question: Is JMeter loading all 3600 threads in memory, resulting in
 requiring that much memory and processor power?

  

3600 threads is rather a lot for one JMeter instance.
Too many for your test plan, as you have found.

Note that a single thread can generate a much higher load than a
single user, as JMeter can issue requests much faster than a user
clicking links.




 Thanks,
 Abel

--
 View this message in context:
http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18363108.html
 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]






  



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



Re: HTTP sampler PUT request body

2008-07-10 Thread holger achtziger
 What have you put in the parameter section of the HTTP request?
  
  
   name: json-0
value: [{}]
  
i also tried with an empty name.
  
  
   Works for me with a single parameter with no name.
  
   Have you used any other parameters?


 not by intention Here is a screen shot:
  http://87.106.21.213/http_request.jpg


 Perhaps the HTTP Request Defaults has a named parameter?

yes, you are right, there was:
name: session
value: ${session}

removing this made the PUT work. Now i have my workaround:-)

Thank you for your support!

Holger

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



Re: 3600 Threads with a rampup of 3600 seconds?

2008-07-10 Thread Andrey Beznogov
Hello,

there are some very nice (and short too ;)) publications on that
topic. You could start by reading Part 4: Modeling Groups of Users
of the User Experience, not Metrics Series.

PDF file of that article http://www.perftestplus.com/resources/UENM4.pdf
Home page of the series (scroll down, its somewhere in the second half
of the page) http://www.perftestplus.com/pubs.htm
JMeter Wiki with some interesting links http://wiki.apache.org/jakarta-jmeter/

Long story short, your server does not care much about the number of
concurrent users, it is just receiving the requests, processing them
and sending out the response. So basically, what you are emulating is
number of different HTTP Sampler calls per second. With JMeter, you
could run those Samplers more frequently, i.e. simulate more users
with less threads. That is, if you configure everything right. And if
you loop those threads, you don't have to spawn a new one for every
new run through the user model.

Regards,
Andrey

If you loop some threads which are sending out the requests much
faster than real users, and if you configure those threads right, the
generated load will be the same as the one generated by more you could
generate the same load as many of those real users with some large
thinking time do.
On Thu, Jul 10, 2008 at 10:44 AM, Abel MacAdam [EMAIL PROTECTED] wrote:

 Peter and Sebb,

 Thanks for your reply.

 How would you emulate:
 During peak hours we get a maximum of 3600 requests per hour.
 and
 Each step in the sales process may cost a maximum of 1 second

 I think the second request is not possible to emulate, as it depends on the
 webserver and traffic on the Internet, not on JMeter.

 The transaction I need to test consists of 6 pages. Different pages where
 you need to fill in personal data. Compare it with entering your personal
 data
 when you buy something at Amazon.

 Should I add think time at each page, so the user I emulate has the
 time to enter information? 10 Seconds per page where you need to enter
 something? That makes a transaction time of 20 seconds (two pages where
 data needs to be entered).

 1 Does that make 6 requests in 20 seconds?
 2 Should I multiply that with 600, to get 3600 requests?
 or
 3a Should I multiply that with 180 to get 3600 seconds? (eg repeat 180
 times)
 and
 3b  Should I use 4 users (3,333) to get from 180 to 600 requests?

 Eventually I used 25 threads with a ramp up of 25 seconds, to be repeated
 indefinitely. I observed that the server had problems (response code 502)
 responding to the load.

 Abel


 sebb-2-2 wrote:

 On 09/07/2008, Abel MacAdam [EMAIL PROTECTED] wrote:

  Hi,

  Today I tried to emulate 3600 users in one hour by making a test where
  3600 threads where started in 3600 seconds. I observed that the load in
 one
  of my CPU's went to 100 %, and that JMeter stopped responding.
 Eventually I
  killed this process, and restarted it with 25 threads, to be started
 within
  25 seconds, and looping forever, but now for 3600 seconds (one hour).
 Now
  the test is running, while my CPU-usage is idling at away between 2 and
 5 %.
  At the same time I'm writing this question. So all in all a much better
  situation.

  My question: Is JMeter loading all 3600 threads in memory, resulting in
  requiring that much memory and processor power?


 3600 threads is rather a lot for one JMeter instance.
 Too many for your test plan, as you have found.

 Note that a single thread can generate a much higher load than a
 single user, as JMeter can issue requests much faster than a user
 clicking links.


  Thanks,
  Abel

 --
  View this message in context:
 http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18363108.html
  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]




 --
 View this message in context: 
 http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18376917.html
 Sent from the JMeter - User mailing list archive at Nabble.com.


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





-- 
diem perdidi

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



Re: 3600 Threads with a rampup of 3600 seconds?

2008-07-10 Thread Abel MacAdam

Thanks all for your replies. It gives me much to ponder about.

Abel.


Andrey Beznogov wrote:
 
 Hello,
 
 there are some very nice (and short too ;)) publications on that
 topic. You could start by reading Part 4: Modeling Groups of Users
 of the User Experience, not Metrics Series.
 
 PDF file of that article http://www.perftestplus.com/resources/UENM4.pdf
 Home page of the series (scroll down, its somewhere in the second half
 of the page) http://www.perftestplus.com/pubs.htm
 JMeter Wiki with some interesting links
 http://wiki.apache.org/jakarta-jmeter/
 
 Long story short, your server does not care much about the number of
 concurrent users, it is just receiving the requests, processing them
 and sending out the response. So basically, what you are emulating is
 number of different HTTP Sampler calls per second. With JMeter, you
 could run those Samplers more frequently, i.e. simulate more users
 with less threads. That is, if you configure everything right. And if
 you loop those threads, you don't have to spawn a new one for every
 new run through the user model.
 
 Regards,
 Andrey
 
 If you loop some threads which are sending out the requests much
 faster than real users, and if you configure those threads right, the
 generated load will be the same as the one generated by more you could
 generate the same load as many of those real users with some large
 thinking time do.
 On Thu, Jul 10, 2008 at 10:44 AM, Abel MacAdam [EMAIL PROTECTED]
 wrote:

 Peter and Sebb,

 Thanks for your reply.

 How would you emulate:
 During peak hours we get a maximum of 3600 requests per hour.
 and
 Each step in the sales process may cost a maximum of 1 second

 I think the second request is not possible to emulate, as it depends on
 the
 webserver and traffic on the Internet, not on JMeter.

 The transaction I need to test consists of 6 pages. Different pages where
 you need to fill in personal data. Compare it with entering your personal
 data
 when you buy something at Amazon.

 Should I add think time at each page, so the user I emulate has the
 time to enter information? 10 Seconds per page where you need to enter
 something? That makes a transaction time of 20 seconds (two pages where
 data needs to be entered).

 1 Does that make 6 requests in 20 seconds?
 2 Should I multiply that with 600, to get 3600 requests?
 or
 3a Should I multiply that with 180 to get 3600 seconds? (eg repeat 180
 times)
 and
 3b  Should I use 4 users (3,333) to get from 180 to 600 requests?

 Eventually I used 25 threads with a ramp up of 25 seconds, to be repeated
 indefinitely. I observed that the server had problems (response code 502)
 responding to the load.

 Abel


 sebb-2-2 wrote:

 On 09/07/2008, Abel MacAdam [EMAIL PROTECTED] wrote:

  Hi,

  Today I tried to emulate 3600 users in one hour by making a test
 where
  3600 threads where started in 3600 seconds. I observed that the load
 in
 one
  of my CPU's went to 100 %, and that JMeter stopped responding.
 Eventually I
  killed this process, and restarted it with 25 threads, to be started
 within
  25 seconds, and looping forever, but now for 3600 seconds (one hour).
 Now
  the test is running, while my CPU-usage is idling at away between 2
 and
 5 %.
  At the same time I'm writing this question. So all in all a much
 better
  situation.

  My question: Is JMeter loading all 3600 threads in memory, resulting
 in
  requiring that much memory and processor power?


 3600 threads is rather a lot for one JMeter instance.
 Too many for your test plan, as you have found.

 Note that a single thread can generate a much higher load than a
 single user, as JMeter can issue requests much faster than a user
 clicking links.


  Thanks,
  Abel

 --
  View this message in context:
 http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18363108.html
  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]




 --
 View this message in context:
 http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18376917.html
 Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18379363.html
Sent from the JMeter - User mailing 

Re: HTTP sampler PUT request body

2008-07-10 Thread sebb
On 10/07/2008, holger achtziger [EMAIL PROTECTED] wrote:
  What have you put in the parameter section of the HTTP request?


 name: json-0
  value: [{}]

  i also tried with an empty name.


 Works for me with a single parameter with no name.

 Have you used any other parameters?
  
  
   not by intention Here is a screen shot:
http://87.106.21.213/http_request.jpg
  
  
   Perhaps the HTTP Request Defaults has a named parameter?


 yes, you are right, there was:
  name: session
  value: ${session}

  removing this made the PUT work. Now i have my workaround:-)

  Thank you for your support!


OK, thanks for confirming that it is now working.


  Holger

  -
  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- Min time and Max time values not getting displayed in HTML report

2008-07-10 Thread Aruna Jalota

 I am getting Min and Max value as NaN while generating html report from
Jmeter jtl file. I have tried for all types of xslt styles sheets but do not
know where exactly the problem is . 

i have tried below steps to solve teh same but got the same error:

1.used Build.xml as specified in below link: 

 http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/extras/build.xml 

and also copied xalan.jar and serializer.jar 

2. Changed version of java from 1.6 to java 1.4 

3. used different xsl styles. 

4. checked for not having duplicate entry of xalan.jar in class path.
after doing all these steps , i am getting the same NaN value.
Pls suggest some steps to solve the same. 

thanks
aruna


-Original Message-
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Wed 5/21/2008 8:46 AM
To: JMeter Users List
Subject: Re: Ant- Min time and Max time values not getting displayed in HTML
report
 
Which version of Java are you using?

On 21/05/2008, Rushabh Doshi [EMAIL PROTECTED] wrote:
 Thanks for prompt reply.

  As I have copied new build.xml file which you have suggested.  But now
  following error has been found.

  run:
  [echo] funcMode = false
[jmeter] Executing test plan:
  C:\jakarta-jmeter-2.3.1\extras\test_rush.jmx
[jmeter] Created the tree successfully
[jmeter] Starting the test @ Wed May 21 19:51:23 IST 2008
  (1211379683472)
[jmeter] Tidying up ...@ Wed May 21 19:52:25 IST 2008
  (1211379745630)
[jmeter] ... end of run

  _message_xalan:

  report:
  [xslt] Processing C:\jakarta-jmeter-2.3.1\extras\test_rus.jtl to
  C:\jakarta-jmeter-
  2.3.1\extras\test_rush.html
  [xslt] Loading stylesheet
  C:\jakarta-jmeter-2.3.1\extras\jmeter-results-det
  ail-report_21.xsl

  BUILD FAILED
  java.lang.IllegalAccessError: tried to access class
  org.apache.xml.serializer.Ex
  tendedContentHandler from class
  org.apache.xalan.transformer.TransformerImpl

  Please note that I downloaded serializer-2_9_1.jar, xalan_2_7_1.jar
  both the jars copied into Lib folder (C:\jakarta-jmeter-2.3.1\lib).  Is
  this OK?


  Thanks  Regards,
  Rushabh Doshi



  -Original Message-
  From: sebb [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, May 21, 2008 6:41 PM
  To: JMeter Users List
  Subject: Re: Ant- Min time and Max time values not getting displayed in
  HTML report

  On 21/05/2008, Rushabh Doshi [EMAIL PROTECTED] wrote:
   Hello,
  
  
  
I am using JMeter 2.3.1, being a novice for Ant facing one issue is
  that
Min time and Max time value getting NaN in the HTML load test result
report (Summary  Pages as well).
  
  
  
Any idea why? Do I need to change something in xml
(jmeter-results-detail-report_21.xsl)?
  

  I think this is a known bug to do with incompatible Java XSLT libraries.
  I assume you are using Java 1.5 or later?

  Have a look at the current extras/build.xml for a solution:

  http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/extras/build.xml

  
Just FYI...In Marrowsoft XSelerator tool, I opened the .JTL file and
have transformed on it, there Min  Max time are displayed correctly
  in
summary  pages as well.
  

  This is presumably because their XSLT processor works OK.

  
  
  
  
Thanks  Regards,
  
  
Rushabh Doshi
  
  


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





-- 
View this message in context: 
http://www.nabble.com/Ant--Min-time-and-Max-time-values-not-getting-displayed-in-HTML-report-tp17366878p18380161.html
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: 3600 Threads with a rampup of 3600 seconds?

2008-07-10 Thread kirk

Hi,


Long story short, your server does not care much about the number of
concurrent users, it is just receiving the requests, processing them
and sending out the response.


I would beg do differ. For one thing if you are using cookies and 
sessions, the server will be holding onto resources for each user. 
Because of this the number of concurrent users can make a difference. 
This is a problem if you just loop over 25 users using JMeter. It caches 
the session ID and if you want a different user on each run you'll have 
to do something to make sure that it happens as expected. Otherwise you 
won't get the resource consumption that you'd see in a real system.


Thanks for the links though. I might add a shameless plug for 
www.javaperformancetuning.com.


Regards,
Kirk

 So basically, what you are emulating is
number of different HTTP Sampler calls per second. With JMeter, you
could run those Samplers more frequently, i.e. simulate more users
with less threads. That is, if you configure everything right. And if
you loop those threads, you don't have to spawn a new one for every
new run through the user model.

Regards,
Andrey

If you loop some threads which are sending out the requests much
faster than real users, and if you configure those threads right, the
generated load will be the same as the one generated by more you could
generate the same load as many of those real users with some large
thinking time do.
On Thu, Jul 10, 2008 at 10:44 AM, Abel MacAdam [EMAIL PROTECTED]
wrote:


Peter and Sebb,

Thanks for your reply.

How would you emulate:
During peak hours we get a maximum of 3600 requests per hour.
and
Each step in the sales process may cost a maximum of 1 second

I think the second request is not possible to emulate, as it depends on
the
webserver and traffic on the Internet, not on JMeter.

The transaction I need to test consists of 6 pages. Different pages where
you need to fill in personal data. Compare it with entering your personal
data
when you buy something at Amazon.

Should I add think time at each page, so the user I emulate has the
time to enter information? 10 Seconds per page where you need to enter
something? That makes a transaction time of 20 seconds (two pages where
data needs to be entered).

1 Does that make 6 requests in 20 seconds?
2 Should I multiply that with 600, to get 3600 requests?
or
3a Should I multiply that with 180 to get 3600 seconds? (eg repeat 180
times)
and
3b  Should I use 4 users (3,333) to get from 180 to 600 requests?

Eventually I used 25 threads with a ramp up of 25 seconds, to be repeated
indefinitely. I observed that the server had problems (response code 502)
responding to the load.

Abel


sebb-2-2 wrote:
  

On 09/07/2008, Abel MacAdam [EMAIL PROTECTED] wrote:


 Hi,

 Today I tried to emulate 3600 users in one hour by making a test
where
 3600 threads where started in 3600 seconds. I observed that the load
in
one
 of my CPU's went to 100 %, and that JMeter stopped responding.
Eventually I
 killed this process, and restarted it with 25 threads, to be started
within
 25 seconds, and looping forever, but now for 3600 seconds (one hour).
Now
 the test is running, while my CPU-usage is idling at away between 2
and
5 %.
 At the same time I'm writing this question. So all in all a much
better
 situation.

 My question: Is JMeter loading all 3600 threads in memory, resulting
in
 requiring that much memory and processor power?

  

3600 threads is rather a lot for one JMeter instance.
Too many for your test plan, as you have found.

Note that a single thread can generate a much higher load than a
single user, as JMeter can issue requests much faster than a user
clicking links.




 Thanks,
 Abel

--
 View this message in context:
http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18363108.html
 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]





--
View this message in context:
http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18376917.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


  


--
diem perdidi

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






  



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

RE: Ant- Min time and Max time values not getting displayed in HTML report

2008-07-10 Thread Aruna Jalota

 I am getting Min and Max value as NaN while generating html report from
Jmeter jtl file. I have tried for all types of xslt styles sheets but do not
know where exactly the problem is . 

i have tried below steps to solve teh same but got the same error:

1.used Build.xml as specified in below link: 

 http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/extras/build.xml 

and also copied xalan.jar and serializer.jar 

2. Changed version of java from 1.6 to java 1.4 

3. used different xsl styles. 

4. checked for not having duplicate entry of xalan.jar in class path.
after doing all these steps , i am getting the same NaN value.
Pls suggest some steps to solve the same. 

thanks
aruna


-Original Message-
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Wed 5/21/2008 8:46 AM
To: JMeter Users List
Subject: Re: Ant- Min time and Max time values not getting displayed in HTML
report
 
Which version of Java are you using?

On 21/05/2008, Rushabh Doshi [EMAIL PROTECTED] wrote:
 Thanks for prompt reply.

  As I have copied new build.xml file which you have suggested.  But now
  following error has been found.

  run:
  [echo] funcMode = false
[jmeter] Executing test plan:
  C:\jakarta-jmeter-2.3.1\extras\test_rush.jmx
[jmeter] Created the tree successfully
[jmeter] Starting the test @ Wed May 21 19:51:23 IST 2008
  (1211379683472)
[jmeter] Tidying up ...@ Wed May 21 19:52:25 IST 2008
  (1211379745630)
[jmeter] ... end of run

  _message_xalan:

  report:
  [xslt] Processing C:\jakarta-jmeter-2.3.1\extras\test_rus.jtl to
  C:\jakarta-jmeter-
  2.3.1\extras\test_rush.html
  [xslt] Loading stylesheet
  C:\jakarta-jmeter-2.3.1\extras\jmeter-results-det
  ail-report_21.xsl

  BUILD FAILED
  java.lang.IllegalAccessError: tried to access class
  org.apache.xml.serializer.Ex
  tendedContentHandler from class
  org.apache.xalan.transformer.TransformerImpl

  Please note that I downloaded serializer-2_9_1.jar, xalan_2_7_1.jar
  both the jars copied into Lib folder (C:\jakarta-jmeter-2.3.1\lib).  Is
  this OK?


  Thanks  Regards,
  Rushabh Doshi



  -Original Message-
  From: sebb [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, May 21, 2008 6:41 PM
  To: JMeter Users List
  Subject: Re: Ant- Min time and Max time values not getting displayed in
  HTML report

  On 21/05/2008, Rushabh Doshi [EMAIL PROTECTED] wrote:
   Hello,
  
  
  
I am using JMeter 2.3.1, being a novice for Ant facing one issue is
  that
Min time and Max time value getting NaN in the HTML load test result
report (Summary  Pages as well).
  
  
  
Any idea why? Do I need to change something in xml
(jmeter-results-detail-report_21.xsl)?
  

  I think this is a known bug to do with incompatible Java XSLT libraries.
  I assume you are using Java 1.5 or later?

  Have a look at the current extras/build.xml for a solution:

  http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/extras/build.xml

  
Just FYI...In Marrowsoft XSelerator tool, I opened the .JTL file and
have transformed on it, there Min  Max time are displayed correctly
  in
summary  pages as well.
  

  This is presumably because their XSLT processor works OK.

  
  
  
  
Thanks  Regards,
  
  
Rushabh Doshi
  
  


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





-- 
View this message in context: 
http://www.nabble.com/Ant--Min-time-and-Max-time-values-not-getting-displayed-in-HTML-report-tp17366878p18380724.html
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: 3600 Threads with a rampup of 3600 seconds?

2008-07-10 Thread sebb
On 10/07/2008, kirk [EMAIL PROTECTED] wrote:
 Hi,

 
  
   Long story short, your server does not care much about the number of
   concurrent users, it is just receiving the requests, processing them
   and sending out the response.
  
 

  I would beg do differ. For one thing if you are using cookies and sessions,
 the server will be holding onto resources for each user. Because of this the
 number of concurrent users can make a difference. This is a problem if you
 just loop over 25 users using JMeter. It caches the session ID and if you
 want a different user on each run you'll have to do something to make sure
 that it happens as expected. Otherwise you won't get the resource
 consumption that you'd see in a real system.


The Cookie Manager has a Clear Cookies each iteration setting.
This can be used to force the server to generate a new cookie/session.

Likewise, if the website uses login/logout these can be added to the test plan.

A JMeter load test which does not generate as many sessions as
individual users do can still be useful - if the performance is poor,
it's very unlikely that the performance will improve when the resource
usage is increased. And the relative page timings are likely to be the
same, even if the absolute ones are not. Also, if the response timings
are not consistent in such a test, that can point to server
housekeeping issues (e.g garbage collection).

I would suggest setting the number of JMeter threads to be the maximum
expected number of concurrent active sessions, and use timers etc to
set the throughput to the target throughput.

Add cookie clearing/logins as needed to simulate the actual user numbers.

However you should probably start with lower numbers, especially if
you are testing against a live server ;-)

  Thanks for the links though. I might add a shameless plug for
 www.javaperformancetuning.com.

  Regards,
  Kirk


 
So basically, what you are emulating is
   number of different HTTP Sampler calls per second. With JMeter, you
   could run those Samplers more frequently, i.e. simulate more users
   with less threads. That is, if you configure everything right. And if
   you loop those threads, you don't have to spawn a new one for every
   new run through the user model.
  
   Regards,
   Andrey
  
   If you loop some threads which are sending out the requests much
   faster than real users, and if you configure those threads right, the
   generated load will be the same as the one generated by more you could
   generate the same load as many of those real users with some large
   thinking time do.
   On Thu, Jul 10, 2008 at 10:44 AM, Abel MacAdam [EMAIL PROTECTED]
   wrote:
  
  
Peter and Sebb,
   
Thanks for your reply.
   
How would you emulate:
During peak hours we get a maximum of 3600 requests per hour.
and
Each step in the sales process may cost a maximum of 1 second
   
I think the second request is not possible to emulate, as it depends
 on
the
webserver and traffic on the Internet, not on JMeter.
   
The transaction I need to test consists of 6 pages. Different pages
 where
you need to fill in personal data. Compare it with entering your
 personal
data
when you buy something at Amazon.
   
Should I add think time at each page, so the user I emulate has
 the
time to enter information? 10 Seconds per page where you need to enter
something? That makes a transaction time of 20 seconds (two pages
 where
data needs to be entered).
   
1 Does that make 6 requests in 20 seconds?
2 Should I multiply that with 600, to get 3600 requests?
or
3a Should I multiply that with 180 to get 3600 seconds? (eg repeat 180
times)
and
3b  Should I use 4 users (3,333) to get from 180 to 600 requests?
   
Eventually I used 25 threads with a ramp up of 25 seconds, to be
 repeated
indefinitely. I observed that the server had problems (response code
 502)
responding to the load.
   
Abel
   
   
sebb-2-2 wrote:
   
   
 On 09/07/2008, Abel MacAdam [EMAIL PROTECTED] wrote:


   Hi,
 
   Today I tried to emulate 3600 users in one hour by making a
 test
  where
   3600 threads where started in 3600 seconds. I observed that the
 load
  in
  one
   of my CPU's went to 100 %, and that JMeter stopped responding.
  Eventually I
   killed this process, and restarted it with 25 threads, to be
 started
  within
   25 seconds, and looping forever, but now for 3600 seconds (one
 hour).
  Now
   the test is running, while my CPU-usage is idling at away between
 2
  and
  5 %.
   At the same time I'm writing this question. So all in all a much
  better
   situation.
 
   My question: Is JMeter loading all 3600 threads in memory,
 resulting
  in
   requiring that much memory and processor power?
 
 
 
 3600 threads is rather a lot for one JMeter instance.
   

Re: 3600 Threads with a rampup of 3600 seconds?

2008-07-10 Thread Peter Lin
Since the goal is to simulate 3600 users per hour, you don't have
enough information to do a good job. The first thing I would do is see
if there's HTTP logs. If there is, use webtrends or some other web
analysis tool to figure out how long the average session is and what
the break down looks like.  I say this for a few reasons.

If a system get 3600 users per hour, that doesn't tell us if each
session is 1 min or 10 minutes. It also doesn't tell us how many
requests they make per minute and what gets put in the session.
Running a test without this information isn't going give you a
complete picture. I've worked on superpages.com and other high volume
websites, so it crucial you have this information.

Once you know the average duration per session, average requests per
second, and the pages they hit, you'll be able to simulate 3600 users
with fewer resources. On the opposite end, if you really want to
simulate 3600 active users per hour, you'll need several machines and
use Jmeter to do distributed testing. to figure out how many systems
you'll need divide 3600 / 150 = 24 machines.

Even before you run a full blown test, I can tell you right now that
3600 active heavy users will require a lot of bandwidth. If it's an
intranet application, bandwidth won't be an issue. If it's a public
application on the internet, you'll need a lot of bandwidth. By a lot
I mean a lot more than a T1. If the server isn't hosted at a big ISP
with lots of bandwidth, the server won't be the bottleneck.

If you haven't read my articles on Jmeter and Tomcat website, i would
recommend you read them. It may help.

http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
http://jakarta.apache.org/tomcat/articles/performance.pdf
http://cvs.apache.org/~woolfel/article.zip


peter


On Thu, Jul 10, 2008 at 7:36 AM, sebb [EMAIL PROTECTED] wrote:
 On 10/07/2008, kirk [EMAIL PROTECTED] wrote:
 Hi,

 
  
   Long story short, your server does not care much about the number of
   concurrent users, it is just receiving the requests, processing them
   and sending out the response.
  
 

  I would beg do differ. For one thing if you are using cookies and sessions,
 the server will be holding onto resources for each user. Because of this the
 number of concurrent users can make a difference. This is a problem if you
 just loop over 25 users using JMeter. It caches the session ID and if you
 want a different user on each run you'll have to do something to make sure
 that it happens as expected. Otherwise you won't get the resource
 consumption that you'd see in a real system.


 The Cookie Manager has a Clear Cookies each iteration setting.
 This can be used to force the server to generate a new cookie/session.

 Likewise, if the website uses login/logout these can be added to the test 
 plan.

 A JMeter load test which does not generate as many sessions as
 individual users do can still be useful - if the performance is poor,
 it's very unlikely that the performance will improve when the resource
 usage is increased. And the relative page timings are likely to be the
 same, even if the absolute ones are not. Also, if the response timings
 are not consistent in such a test, that can point to server
 housekeeping issues (e.g garbage collection).

 I would suggest setting the number of JMeter threads to be the maximum
 expected number of concurrent active sessions, and use timers etc to
 set the throughput to the target throughput.

 Add cookie clearing/logins as needed to simulate the actual user numbers.

 However you should probably start with lower numbers, especially if
 you are testing against a live server ;-)

  Thanks for the links though. I might add a shameless plug for
 www.javaperformancetuning.com.

  Regards,
  Kirk



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



Re: external java script function

2008-07-10 Thread cham

what about calling an external js file from JMeter? 
I have the result of my Sampler which is a JSON file, and I want to
interpret it using JSlint (which is written in javascript) is that possible? 
Regards 

sebb-2-2 wrote:
 
 Yes, and it works.
 
 Try the script:
 
 AssertionResult.setFailureMessage(The assertion failed) ;
 AssertionResult.setFailure(true);
 
 see:
 
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion
 
 On 09/07/2008, cham [EMAIL PROTECTED] wrote:

  Did u try before to run javascript using BSF Assertion?
  Cham


  sebb-2-2 wrote:
  
   On 08/07/2008, cham [EMAIL PROTECTED] wrote:
  
Hi again,
actually what I am doing now is trying to validate the syntaxe of my
   sampler
HTTP result.
I used (save responses to a file) to save my json file, and what I
 need
   now
is to try one of the followings:
* Try to integrate JSLint in JMeter to do the validation.
* Try to write a function that read the result file and validate the
syntaxe.
I dont know if the implementation one of these methods is
 possible!!!
  
   It looks like JSLint is available in a Rhinoscript version.
  
   You could write your own Assertion to do this, or use  BSF/Javascript
   Assertion:
  
  
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion
  
Regards,
Cham
  
  
kirk-17 wrote:

 Hi,

 I've not found a good way to run JavaScript. Many of the
 interesting
 scripts
 rely on the DOM. JMeter doesn't have a DOM The best I've been
 able
   to
 do
 if figure out what is needed from the JS and use BeanShell to make
 it
 work.

 Regards,
 Kirk

 On Tue, Jul 8, 2008 at 9:13 AM, Andrey Beznogov
   [EMAIL PROTECTED]
 wrote:

 Hi,

 I never tried it myself, but as I understand you can use the BSF
 Sampler element, which can process the JavaScript you put into
 it.



  
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Sampler

 I hope that helps.

 Andrey

 On Mon, Jul 7, 2008 at 7:30 PM, cham [EMAIL PROTECTED]
 wrote:
 
  Hello eveybody,
  I have a js script that I need to call using the javascript
   function in
  JMeter. But I dont know how to call it?
  I understood that the users of jemeter can define their own
   functions
 but
 I
  dont know how.
  Any suggestions ?
 
  Thanx in advance
  --
  View this message in context:

  
 http://www.nabble.com/external-java-script-function-tp18319419p18319419.html
  Sent from the JMeter - User mailing list archive at Nabble.com.
 
 
 
   -
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
   [EMAIL PROTECTED]
 
 



 --
 diem perdidi


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




 --
 Kind regards,
 Kirk Pepperdine

 http://www.kodewerk.com
 http://www.javaperformancetuning.com
 http//www.cretesoft.com


  
  
   --
View this message in context:
  
 http://www.nabble.com/external-java-script-function-tp18319419p18338549.html
  
   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]
  
  
  

  --

 View this message in context:
 http://www.nabble.com/external-java-script-function-tp18319419p18355957.html

 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]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/external-java-script-function-tp18319419p18382459.html
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: external java script function

2008-07-10 Thread sebb
The BSF Assertion:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion

can process Javascript from a file.

It can also pass parameters to that file.

You may have to write a wrapper script and/or adapt the command-line
script available from the JSLint website.

I suggest you start with a simple Hello World type script and
proceed from there.

On 10/07/2008, cham [EMAIL PROTECTED] wrote:

  what about calling an external js file from JMeter?
  I have the result of my Sampler which is a JSON file, and I want to
  interpret it using JSlint (which is written in javascript) is that possible?
  Regards


  sebb-2-2 wrote:
  
   Yes, and it works.
  
   Try the script:
  
   AssertionResult.setFailureMessage(The assertion failed) ;
   AssertionResult.setFailure(true);
  
   see:
  
   
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion
  
   On 09/07/2008, cham [EMAIL PROTECTED] wrote:
  
Did u try before to run javascript using BSF Assertion?
Cham
  
  
sebb-2-2 wrote:

 On 08/07/2008, cham [EMAIL PROTECTED] wrote:

  Hi again,
  actually what I am doing now is trying to validate the syntaxe of my
 sampler
  HTTP result.
  I used (save responses to a file) to save my json file, and what I
   need
 now
  is to try one of the followings:
  * Try to integrate JSLint in JMeter to do the validation.
  * Try to write a function that read the result file and validate the
  syntaxe.
  I dont know if the implementation one of these methods is
   possible!!!

 It looks like JSLint is available in a Rhinoscript version.

 You could write your own Assertion to do this, or use  BSF/Javascript
 Assertion:


   
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion

  Regards,
  Cham


  kirk-17 wrote:
  
   Hi,
  
   I've not found a good way to run JavaScript. Many of the
   interesting
   scripts
   rely on the DOM. JMeter doesn't have a DOM The best I've been
   able
 to
   do
   if figure out what is needed from the JS and use BeanShell to make
   it
   work.
  
   Regards,
   Kirk
  
   On Tue, Jul 8, 2008 at 9:13 AM, Andrey Beznogov
 [EMAIL PROTECTED]
   wrote:
  
   Hi,
  
   I never tried it myself, but as I understand you can use the BSF
   Sampler element, which can process the JavaScript you put into
   it.
  
  
  

   
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Sampler
  
   I hope that helps.
  
   Andrey
  
   On Mon, Jul 7, 2008 at 7:30 PM, cham [EMAIL PROTECTED]
   wrote:
   
Hello eveybody,
I have a js script that I need to call using the javascript
 function in
JMeter. But I dont know how to call it?
I understood that the users of jemeter can define their own
 functions
   but
   I
dont know how.
Any suggestions ?
   
Thanx in advance
--
View this message in context:
  

   
 http://www.nabble.com/external-java-script-function-tp18319419p18319419.html
Sent from the JMeter - User mailing list archive at Nabble.com.
   
   
   
 -
To unsubscribe, e-mail:
   [EMAIL PROTECTED]
For additional commands, e-mail:
 [EMAIL PROTECTED]
   
   
  
  
  
   --
   diem perdidi
  
  
   -
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
  
  
  
  
   --
   Kind regards,
   Kirk Pepperdine
  
   http://www.kodewerk.com
   http://www.javaperformancetuning.com
   http//www.cretesoft.com
  
  


 --
  View this message in context:

   
 http://www.nabble.com/external-java-script-function-tp18319419p18338549.html

 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]



  
--
  
   View this message in context:
   
 http://www.nabble.com/external-java-script-function-tp18319419p18355957.html
  
   Sent from the JMeter - User mailing list archive at Nabble.com.
  
  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For 

Re: Problem getting access to a JMS queue after being authenticated using JMS Point-to-Point

2008-07-10 Thread sebb
On 08/07/2008, David McInerney [EMAIL PROTECTED] wrote:
 Hi All,

  I am trying to send JMS messages to a JMS queue using JMeter (JMS
  Point-to-Point)
  I am using weblogic92 and the queue is secured.

  I have been looking through the logs  I can see the user being
  secured but i'm not able to get access to the queues

Which logs are those?

  I have set the:
  Java.naming.security.principal to the correct username 
  Java.naming.security.credentials to the correct password
  under the JNDI Properties

  I don't know where to go from here to allow my message access to the queues.
  Any help would be greatly apprieciated.


Are there any error messages in the jmeter log?

  Kind Regards,
  David.

  -
  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: external java script function

2008-07-10 Thread cham

hemm, now I will dare to ask the most idiot question %-|
I think that my problem now is with writing the simplset js script in the
world!!! I added a BSF Assertion, and I specified the used language
javascript then I specify the location of my famous js file. But the
problem is with my script I wrote this 
this.write(hello world); and ofcourse I got a failure msg. 

thanx  

sebb-2-2 wrote:
 
 The BSF Assertion:
 
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion
 
 can process Javascript from a file.
 
 It can also pass parameters to that file.
 
 You may have to write a wrapper script and/or adapt the command-line
 script available from the JSLint website.
 
 I suggest you start with a simple Hello World type script and
 proceed from there.
 
 On 10/07/2008, cham [EMAIL PROTECTED] wrote:

  what about calling an external js file from JMeter?
  I have the result of my Sampler which is a JSON file, and I want to
  interpret it using JSlint (which is written in javascript) is that
 possible?
  Regards


  sebb-2-2 wrote:
  
   Yes, and it works.
  
   Try the script:
  
   AssertionResult.setFailureMessage(The assertion failed) ;
   AssertionResult.setFailure(true);
  
   see:
  
  
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion
  
   On 09/07/2008, cham [EMAIL PROTECTED] wrote:
  
Did u try before to run javascript using BSF Assertion?
Cham
  
  
sebb-2-2 wrote:

 On 08/07/2008, cham [EMAIL PROTECTED] wrote:

  Hi again,
  actually what I am doing now is trying to validate the syntaxe
 of my
 sampler
  HTTP result.
  I used (save responses to a file) to save my json file, and what
 I
   need
 now
  is to try one of the followings:
  * Try to integrate JSLint in JMeter to do the validation.
  * Try to write a function that read the result file and validate
 the
  syntaxe.
  I dont know if the implementation one of these methods is
   possible!!!

 It looks like JSLint is available in a Rhinoscript version.

 You could write your own Assertion to do this, or use 
 BSF/Javascript
 Assertion:


  
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Assertion

  Regards,
  Cham


  kirk-17 wrote:
  
   Hi,
  
   I've not found a good way to run JavaScript. Many of the
   interesting
   scripts
   rely on the DOM. JMeter doesn't have a DOM The best I've
 been
   able
 to
   do
   if figure out what is needed from the JS and use BeanShell to
 make
   it
   work.
  
   Regards,
   Kirk
  
   On Tue, Jul 8, 2008 at 9:13 AM, Andrey Beznogov
 [EMAIL PROTECTED]
   wrote:
  
   Hi,
  
   I never tried it myself, but as I understand you can use the
 BSF
   Sampler element, which can process the JavaScript you put
 into
   it.
  
  
  

  
 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Sampler
  
   I hope that helps.
  
   Andrey
  
   On Mon, Jul 7, 2008 at 7:30 PM, cham [EMAIL PROTECTED]
   wrote:
   
Hello eveybody,
I have a js script that I need to call using the javascript
 function in
JMeter. But I dont know how to call it?
I understood that the users of jemeter can define their own
 functions
   but
   I
dont know how.
Any suggestions ?
   
Thanx in advance
--
View this message in context:
  

  
 http://www.nabble.com/external-java-script-function-tp18319419p18319419.html
Sent from the JMeter - User mailing list archive at
 Nabble.com.
   
   
   

 -
To unsubscribe, e-mail:
   [EMAIL PROTECTED]
For additional commands, e-mail:
 [EMAIL PROTECTED]
   
   
  
  
  
   --
   diem perdidi
  
  
   -
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
  
  
  
  
   --
   Kind regards,
   Kirk Pepperdine
  
   http://www.kodewerk.com
   http://www.javaperformancetuning.com
   http//www.cretesoft.com
  
  


 --
  View this message in context:

  
 http://www.nabble.com/external-java-script-function-tp18319419p18338549.html

 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: 

Re: JMeter remote test doesn't work

2008-07-10 Thread Yaroslav

Hi All,

Does somebody fix the problem with this remote configuration:

master-client - WinXp  - server-slave - Linux FC6.



Joe Smithian wrote:
 
 Hi All
 
 I've installed Jmeter 2.3 in a Windows and a Linux machine. I use the
 Windows machine as the Master (client)) and the Linux one as a slave
 (server)) to run remote tests.
 Local tests on the Windows machine is ok but remote test on the Linux(FC6)
 doesn't work.
 
 I've spent so much time reading the documents and trying different things
 without luck.  I'd appreciate your help to fix this problem.
 
 Notes:
 -I set the CLASSPATH on the server to include /ApacheJMeter.jar.
 -JAVA_HOME has been set in both machines
 -There is no space in any directory in client or server
 -Windows machine runs McAfee antivirus, I tried to stop the service
 manualy
 but It didn't stop.
 
 
 Here is the exception in the Windows (client) log:
 
 
 2007/12/10 11:27:14 ERROR - jmeter.engine.ClientJMeterEngine:
 java.rmi.MarshalException: error marshalling arguments; nested exception
 is:
 
 java.net.SocketException: Connection reset by peer: socket write error
 at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)
 at
 org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
 Source)
 at org.apache.jmeter.engine.ClientJMeterEngine.run(
 ClientJMeterEngine.java:121)
 at java.lang.Thread.run(Thread.java:619)
 Caused by: java.net.SocketException: Connection reset by peer: socket
 write
 error
 at java.net.SocketOutputStream.socketWrite0(Native Method)
 --
 Here is parts of the Linux Jmeter-Server log:
 
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: Version 2.3.1
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: java.version=1.6.0_01
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: os.name=Linux
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: os.arch=i386
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: os.version=2.6.20-1.2925.fc6
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: file.encoding=UTF-8
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: Default Locale=English (United
 States)
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: JMeter  Locale=English (United
 States)
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: JMeterHome=/usr/jmeter/jakarta-
 jmeter-2.3.1
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: user.dir  =/usr/jmeter/jakarta-
 jmeter-2.3.1/bin
 2007/12/11 01:43:22 INFO  - jmeter.JMeter: PWD   =/usr/jmeter/jakarta-
 jmeter-2.3.1/bin
 2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting
 backing engine on 1099
 2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating
 RMI registry (server.rmi.create=true)
 2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating
 JMeter engine on host utspdev1
 2007/12/11 01:43:22 INFO  - jmeter.engine.StandardJMeterEngine: Listeners
 will be started after enabling running version
 2007/12/11 01:43:22 INFO  - jmeter.engine.StandardJMeterEngine: To revert
 to
 the earlier behaviour, define jmeterengine.startlistenerslater=false
 2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound to
 registry on port 1099
 2007/12/11 01:45:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl: received
 host: utspdev1
 
 

-- 
View this message in context: 
http://www.nabble.com/JMeter-remote-test-doesn%27t-work-tp14256492p18390100.html
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: Http Sampler Problem with Name?

2008-07-10 Thread sebb
On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
 I have an HTTP Sampler, and if I have a sampler that has something in the
  POST with the name of maxRowCount, it causes this in the logs:

  2008/07/10 14:05:13 ERROR - jmeter.control.IfController: missing ; before
  statement (cmd#1) org.mozilla.javascript.EvaluatorException: missing ;
  before statement (cmd#1)
 at

That's nothing to do with maxRowCount, it's an error in the If
Controller condition.

Probably trailing spaces.

  
 org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
 at
  
 org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
 at org.mozilla.javascript.Parser.addError(Parser.java:126)
 at org.mozilla.javascript.Parser.reportError(Parser.java:132)
 at org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
 at org.mozilla.javascript.Parser.statement(Parser.java:623)
 at org.mozilla.javascript.Parser.parse(Parser.java:355)
 at org.mozilla.javascript.Parser.parse(Parser.java:293)
 at org.mozilla.javascript.Context.compileImpl(Context.java:2238)
 at org.mozilla.javascript.Context.compileString(Context.java:1284)
 at org.mozilla.javascript.Context.compileString(Context.java:1273)
 at org.mozilla.javascript.Context.evaluateString(Context.java:1129)
 at
  
 org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
 at org.apache.jmeter.control.IfController.next(IfController.java:151)
 at
  
 org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
 at
  org.apache.jmeter.control.GenericController.next(GenericController.java:100)
 at org.apache.jmeter.control.LoopController.next(LoopController.java:91)
 at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
 at java.lang.Thread.run(Unknown Source)

  I took it out, and it ran, (of course, my sampler fails because its
  dependent on that, but still...) then I put it back in, and it failed (both
  manually and through the proxy recording).

  Any suggestions?


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



Re: JMeter remote/distributed testing not working; No error message in log

2008-07-10 Thread sebb
On 10/07/2008, Yaroslav [EMAIL PROTECTED] wrote:

  Hi All,

  I'm using jmeter 2.3.2.

  Jmeter-client is running on WinXP and Jmeter-server on Linux (FC6).

  In the same case as you described my client jmeter.log shows:

  2008/07/10 11:41:57 ERROR - jmeter.engine.ClientJMeterEngine:
  java.rmi.ConnectIOException: Exception creating connection to: 10.100.30.41;
  nested exception is:
 java.net.NoRouteToHostException: No route to host: connect

That probably means the network is not set up correctly.

Try

telnet 10.100.30.41 1039

from the client and you will see a similar error.

 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.engine.RemoteJMeterEngineImpl_Stub.setHost(Unknown
  Source)
 at

 org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:126)
 at java.lang.Thread.run(Unknown Source)
  Caused by: java.net.NoRouteToHostException: No route to host: 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.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
  Source)
 at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
  Source)
 ... 7 more

  where 10.100.30.41 where the IP is correct and points to jmeter-server
  side.

  According to network firewall log - my client sent request to the
  jmeter-server on port 1099.

  But client side does not show any responds in the View Results Tree
  listener.
  So, looks like some problem is there.

  PS: if i'm using jmeter-server and jmeter-client on same WinXP box -
  remote testing works fine.


  Do you have proper setting in jmeter properties file on client side (sh7)?
  This setting should be shown in Run-Remote Start menu.




  Manish Chakravarty-2 wrote:
  
   On Wed, Jun 25, 2008 at 1:30 AM, sebb [EMAIL PROTECTED] wrote:
  
   On 24/06/2008, Manish Chakravarty [EMAIL PROTECTED] wrote:
Hello All,
   
 I am trying to do remote testing ; with two machines (as a learning
experience )
   
 The machines are on the same subnet and are as follows:
 sh6 = jmeter server
 sh7 = jmeter client
   
 On sh6 I start the jmeter server from the command line
 On sh7 i start the jmeter client as follows:
   
 [EMAIL PROTECTED]:~# jakarta-jmeter-2.3.1/bin/jmeter -n -r -t 
 TestFile.jmx -l
logremote.jtl
 (I have already configured sh7's jmeter.properties and pointed it to
   the
   IP
address of sh6 )
   
  
   Current version is 2.3.2
  
 I see the following output in the console:
 Created the tree successfully
 Configuring remote engine for 67.207.142.28
 Starting remote engines
 Starting the test @ Tue Jun 24 19:24:53 UTC 2008 (1214335493204)
 Remote engines have been started
   
   
 on sh6 (the server) , I see the following output:
   
 [EMAIL PROTECTED]:~# tail jmeter-server.log
 2008/06/24 19:14:30 INFO  - jmeter.JMeter: JMeter  Locale=English
   (United
States)
 2008/06/24 19:14:30 INFO  - jmeter.JMeter:
JMeterHome=/root/jakarta-jmeter-2.3.1
 2008/06/24 19:14:30 INFO  - jmeter.JMeter: user.dir  =/root
 2008/06/24 19:14:30 INFO  - jmeter.JMeter: PWD   =/root
 2008/06/24 19:14:30 INFO  -
jmeter.engine.RemoteJMeterEngineImpl: Starting backing
engine on 1099
 2008/06/24 19:14:30 INFO  -
jmeter.engine.RemoteJMeterEngineImpl: Creating RMI registry
(server.rmi.create=true)
 2008/06/24 19:14:30 INFO  -
jmeter.engine.RemoteJMeterEngineImpl: Creating JMeter
engine on host sh6
 2008/06/24 19:14:30 INFO  -
jmeter.engine.StandardJMeterEngine: Listeners will be
started after enabling running version
 2008/06/24 19:14:30 INFO  -
jmeter.engine.StandardJMeterEngine: To revert to the
earlier behaviour, define
jmeterengine.startlistenerslater=false
 2008/06/24 19:14:30 INFO  -
jmeter.engine.RemoteJMeterEngineImpl: Bound to registry on
port 1099
   
   
 After this /nothing/ seems to happen. I see Java utilizing any CPU.
 To ensure that something is running on sh6 I do the following:
 [EMAIL PROTECTED]:~# ps -ef | grep java
 root 27653 27651  0 18:45 pts/000:00:00 java -server -Xms256m
-Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m
   

Re: Http Sampler Problem with Name?

2008-07-10 Thread Michael McDonnell
But the only thing I have in my If Controller (I only have one) is:

${WORKITEMSEQID} == -1

And the Error Goes away when I run it without that maxRowCount

On Thu, Jul 10, 2008 at 2:36 PM, sebb [EMAIL PROTECTED] wrote:

 On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
  I have an HTTP Sampler, and if I have a sampler that has something in the
   POST with the name of maxRowCount, it causes this in the logs:
 
   2008/07/10 14:05:13 ERROR - jmeter.control.IfController: missing ;
 before
   statement (cmd#1) org.mozilla.javascript.EvaluatorException: missing ;
   before statement (cmd#1)
  at

 That's nothing to do with maxRowCount, it's an error in the If
 Controller condition.

 Probably trailing spaces.

 
  
 org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
  at
 
  
 org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
  at org.mozilla.javascript.Parser.addError(Parser.java:126)
  at org.mozilla.javascript.Parser.reportError(Parser.java:132)
  at org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
  at org.mozilla.javascript.Parser.statement(Parser.java:623)
  at org.mozilla.javascript.Parser.parse(Parser.java:355)
  at org.mozilla.javascript.Parser.parse(Parser.java:293)
  at org.mozilla.javascript.Context.compileImpl(Context.java:2238)
  at org.mozilla.javascript.Context.compileString(Context.java:1284)
  at org.mozilla.javascript.Context.compileString(Context.java:1273)
  at org.mozilla.javascript.Context.evaluateString(Context.java:1129)
  at
 
  
 org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
  at org.apache.jmeter.control.IfController.next(IfController.java:151)
  at
 
  
 org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
  at
 
  org.apache.jmeter.control.GenericController.next(GenericController.java:100)
  at
 org.apache.jmeter.control.LoopController.next(LoopController.java:91)
  at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
  at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
  at java.lang.Thread.run(Unknown Source)
 
   I took it out, and it ran, (of course, my sampler fails because its
   dependent on that, but still...) then I put it back in, and it failed
 (both
   manually and through the proxy recording).
 
   Any suggestions?
 

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




Re: Http Sampler Problem with Name?

2008-07-10 Thread sebb
On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
 But the only thing I have in my If Controller (I only have one) is:

  ${WORKITEMSEQID} == -1

  And the Error Goes away when I run it without that maxRowCount


That does not make sense, unless the variable WORKITEMSEQID is somehow
set to something other than a number when maxRowCount is used.

What happens if you replace the If Controller condition with true or false?

Or you could try setting the If Controller condition to:

${__log(${WORKITEMSEQID} == -1)}

This will log the expression.


  On Thu, Jul 10, 2008 at 2:36 PM, sebb [EMAIL PROTECTED] wrote:

   On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
I have an HTTP Sampler, and if I have a sampler that has something in the
 POST with the name of maxRowCount, it causes this in the logs:
   
 2008/07/10 14:05:13 ERROR - jmeter.control.IfController: missing ;
   before
 statement (cmd#1) org.mozilla.javascript.EvaluatorException: missing ;
 before statement (cmd#1)
at
  
   That's nothing to do with maxRowCount, it's an error in the If
   Controller condition.
  
   Probably trailing spaces.
  
   

 org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
at
   

 org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
at org.mozilla.javascript.Parser.addError(Parser.java:126)
at org.mozilla.javascript.Parser.reportError(Parser.java:132)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
at org.mozilla.javascript.Parser.statement(Parser.java:623)
at org.mozilla.javascript.Parser.parse(Parser.java:355)
at org.mozilla.javascript.Parser.parse(Parser.java:293)
at org.mozilla.javascript.Context.compileImpl(Context.java:2238)
at org.mozilla.javascript.Context.compileString(Context.java:1284)
at org.mozilla.javascript.Context.compileString(Context.java:1273)
at org.mozilla.javascript.Context.evaluateString(Context.java:1129)
at
   

 org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
at org.apache.jmeter.control.IfController.next(IfController.java:151)
at
   

 org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
at
   

 org.apache.jmeter.control.GenericController.next(GenericController.java:100)
at
   org.apache.jmeter.control.LoopController.next(LoopController.java:91)
at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
at java.lang.Thread.run(Unknown Source)
   
 I took it out, and it ran, (of course, my sampler fails because its
 dependent on that, but still...) then I put it back in, and it failed
   (both
 manually and through the proxy recording).
   
 Any suggestions?
   
  

  -
   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 Sampler Problem with Name?

2008-07-10 Thread Michael McDonnell
That worked! Thanks Sebb!

On Thu, Jul 10, 2008 at 3:00 PM, sebb [EMAIL PROTECTED] wrote:

 On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
  But the only thing I have in my If Controller (I only have one) is:
 
   ${WORKITEMSEQID} == -1
 
   And the Error Goes away when I run it without that maxRowCount
 

 That does not make sense, unless the variable WORKITEMSEQID is somehow
 set to something other than a number when maxRowCount is used.

 What happens if you replace the If Controller condition with true or
 false?

 Or you could try setting the If Controller condition to:

 ${__log(${WORKITEMSEQID} == -1)}

 This will log the expression.

 
   On Thu, Jul 10, 2008 at 2:36 PM, sebb [EMAIL PROTECTED] wrote:
 
On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
 I have an HTTP Sampler, and if I have a sampler that has something
 in the
  POST with the name of maxRowCount, it causes this in the logs:

  2008/07/10 14:05:13 ERROR - jmeter.control.IfController: missing ;
before
  statement (cmd#1) org.mozilla.javascript.EvaluatorException:
 missing ;
  before statement (cmd#1)
 at
   
That's nothing to do with maxRowCount, it's an error in the If
Controller condition.
   
Probably trailing spaces.
   

   
  
 org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
 at

   
  
 org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
 at org.mozilla.javascript.Parser.addError(Parser.java:126)
 at org.mozilla.javascript.Parser.reportError(Parser.java:132)
 at
 org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
 at org.mozilla.javascript.Parser.statement(Parser.java:623)
 at org.mozilla.javascript.Parser.parse(Parser.java:355)
 at org.mozilla.javascript.Parser.parse(Parser.java:293)
 at org.mozilla.javascript.Context.compileImpl(Context.java:2238)
 at
 org.mozilla.javascript.Context.compileString(Context.java:1284)
 at
 org.mozilla.javascript.Context.compileString(Context.java:1273)
 at
 org.mozilla.javascript.Context.evaluateString(Context.java:1129)
 at

   
  
 org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
 at
 org.apache.jmeter.control.IfController.next(IfController.java:151)
 at

   
  
 org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
 at

   
  org.apache.jmeter.control.GenericController.next(GenericController.java:100)
 at
org.apache.jmeter.control.LoopController.next(LoopController.java:91)
 at
 org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
 at
 org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
 at java.lang.Thread.run(Unknown Source)

  I took it out, and it ran, (of course, my sampler fails because its
  dependent on that, but still...) then I put it back in, and it
 failed
(both
  manually and through the proxy recording).

  Any suggestions?

   
 
   -
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 Sampler Problem with Name?

2008-07-10 Thread sebb
What was the problem?

On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
 That worked! Thanks Sebb!


  On Thu, Jul 10, 2008 at 3:00 PM, sebb [EMAIL PROTECTED] wrote:

   On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
But the only thing I have in my If Controller (I only have one) is:
   
 ${WORKITEMSEQID} == -1
   
 And the Error Goes away when I run it without that maxRowCount
   
  
   That does not make sense, unless the variable WORKITEMSEQID is somehow
   set to something other than a number when maxRowCount is used.
  
   What happens if you replace the If Controller condition with true or
   false?
  
   Or you could try setting the If Controller condition to:
  
   ${__log(${WORKITEMSEQID} == -1)}
  
   This will log the expression.
  
   
 On Thu, Jul 10, 2008 at 2:36 PM, sebb [EMAIL PROTECTED] wrote:
   
  On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
   I have an HTTP Sampler, and if I have a sampler that has something
   in the
POST with the name of maxRowCount, it causes this in the logs:
  
2008/07/10 14:05:13 ERROR - jmeter.control.IfController: missing ;
  before
statement (cmd#1) org.mozilla.javascript.EvaluatorException:
   missing ;
before statement (cmd#1)
   at
 
  That's nothing to do with maxRowCount, it's an error in the If
  Controller condition.
 
  Probably trailing spaces.
 
  
 

 org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
   at
  
 

 org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
   at org.mozilla.javascript.Parser.addError(Parser.java:126)
   at org.mozilla.javascript.Parser.reportError(Parser.java:132)
   at
   org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
   at org.mozilla.javascript.Parser.statement(Parser.java:623)
   at org.mozilla.javascript.Parser.parse(Parser.java:355)
   at org.mozilla.javascript.Parser.parse(Parser.java:293)
   at org.mozilla.javascript.Context.compileImpl(Context.java:2238)
   at
   org.mozilla.javascript.Context.compileString(Context.java:1284)
   at
   org.mozilla.javascript.Context.compileString(Context.java:1273)
   at
   org.mozilla.javascript.Context.evaluateString(Context.java:1129)
   at
  
 

 org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
   at
   org.apache.jmeter.control.IfController.next(IfController.java:151)
   at
  
 

 org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
   at
  
 

 org.apache.jmeter.control.GenericController.next(GenericController.java:100)
   at
  org.apache.jmeter.control.LoopController.next(LoopController.java:91)
   at
   org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
   at
   org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
   at java.lang.Thread.run(Unknown Source)
  
I took it out, and it ran, (of course, my sampler fails because its
dependent on that, but still...) then I put it back in, and it
   failed
  (both
manually and through the proxy recording).
  
Any suggestions?
  
 
   
 -
  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 Sampler Problem with Name?

2008-07-10 Thread Michael McDonnell
I'm not sure but doing this:
${__log(${WORKITEMSEQID} == -1)}

Seemed to work to get rid of the exception.

On Thu, Jul 10, 2008 at 3:05 PM, sebb [EMAIL PROTECTED] wrote:

 What was the problem?

 On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
  That worked! Thanks Sebb!
 
 
   On Thu, Jul 10, 2008 at 3:00 PM, sebb [EMAIL PROTECTED] wrote:
 
On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
 But the only thing I have in my If Controller (I only have one) is:

  ${WORKITEMSEQID} == -1

  And the Error Goes away when I run it without that maxRowCount

   
That does not make sense, unless the variable WORKITEMSEQID is somehow
set to something other than a number when maxRowCount is used.
   
What happens if you replace the If Controller condition with true or
false?
   
Or you could try setting the If Controller condition to:
   
${__log(${WORKITEMSEQID} == -1)}
   
This will log the expression.
   

  On Thu, Jul 10, 2008 at 2:36 PM, sebb [EMAIL PROTECTED] wrote:

   On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
I have an HTTP Sampler, and if I have a sampler that has
 something
in the
 POST with the name of maxRowCount, it causes this in the
 logs:
   
 2008/07/10 14:05:13 ERROR - jmeter.control.IfController:
 missing ;
   before
 statement (cmd#1) org.mozilla.javascript.EvaluatorException:
missing ;
 before statement (cmd#1)
at
  
   That's nothing to do with maxRowCount, it's an error in the If
   Controller condition.
  
   Probably trailing spaces.
  
   
  
   
  
 org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
at
   
  
   
  
 org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
at org.mozilla.javascript.Parser.addError(Parser.java:126)
at
 org.mozilla.javascript.Parser.reportError(Parser.java:132)
at
org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
at org.mozilla.javascript.Parser.statement(Parser.java:623)
at org.mozilla.javascript.Parser.parse(Parser.java:355)
at org.mozilla.javascript.Parser.parse(Parser.java:293)
at
 org.mozilla.javascript.Context.compileImpl(Context.java:2238)
at
org.mozilla.javascript.Context.compileString(Context.java:1284)
at
org.mozilla.javascript.Context.compileString(Context.java:1273)
at
org.mozilla.javascript.Context.evaluateString(Context.java:1129)
at
   
  
   
  
 org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
at
org.apache.jmeter.control.IfController.next(IfController.java:151)
at
   
  
   
  
 org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
at
   
  
   
  org.apache.jmeter.control.GenericController.next(GenericController.java:100)
at
  
 org.apache.jmeter.control.LoopController.next(LoopController.java:91)
at
org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
at java.lang.Thread.run(Unknown Source)
   
 I took it out, and it ran, (of course, my sampler fails
 because its
 dependent on that, but still...) then I put it back in, and it
failed
   (both
 manually and through the proxy recording).
   
 Any suggestions?
   
  

 
 -
   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 Sampler Problem with Name?

2008-07-10 Thread sebb
Again, that does not make sense.

What does the log message show?

Are you sure that there was no space after the -1 beforehand?

On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
 I'm not sure but doing this:
  ${__log(${WORKITEMSEQID} == -1)}

  Seemed to work to get rid of the exception.


  On Thu, Jul 10, 2008 at 3:05 PM, sebb [EMAIL PROTECTED] wrote:

   What was the problem?
  
   On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
That worked! Thanks Sebb!
   
   
 On Thu, Jul 10, 2008 at 3:00 PM, sebb [EMAIL PROTECTED] wrote:
   
  On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
   But the only thing I have in my If Controller (I only have one) is:
  
${WORKITEMSEQID} == -1
  
And the Error Goes away when I run it without that maxRowCount
  
 
  That does not make sense, unless the variable WORKITEMSEQID is somehow
  set to something other than a number when maxRowCount is used.
 
  What happens if you replace the If Controller condition with true or
  false?
 
  Or you could try setting the If Controller condition to:
 
  ${__log(${WORKITEMSEQID} == -1)}
 
  This will log the expression.
 
  
On Thu, Jul 10, 2008 at 2:36 PM, sebb [EMAIL PROTECTED] wrote:
  
 On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
  I have an HTTP Sampler, and if I have a sampler that has
   something
  in the
   POST with the name of maxRowCount, it causes this in the
   logs:
 
   2008/07/10 14:05:13 ERROR - jmeter.control.IfController:
   missing ;
 before
   statement (cmd#1) org.mozilla.javascript.EvaluatorException:
  missing ;
   before statement (cmd#1)
  at

 That's nothing to do with maxRowCount, it's an error in the If
 Controller condition.

 Probably trailing spaces.

 

 

 org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
  at
 

 

 org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
  at org.mozilla.javascript.Parser.addError(Parser.java:126)
  at
   org.mozilla.javascript.Parser.reportError(Parser.java:132)
  at
  org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
  at org.mozilla.javascript.Parser.statement(Parser.java:623)
  at org.mozilla.javascript.Parser.parse(Parser.java:355)
  at org.mozilla.javascript.Parser.parse(Parser.java:293)
  at
   org.mozilla.javascript.Context.compileImpl(Context.java:2238)
  at
  org.mozilla.javascript.Context.compileString(Context.java:1284)
  at
  org.mozilla.javascript.Context.compileString(Context.java:1273)
  at
  org.mozilla.javascript.Context.evaluateString(Context.java:1129)
  at
 

 

 org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
  at
  org.apache.jmeter.control.IfController.next(IfController.java:151)
  at
 

 

 org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
  at
 

 

 org.apache.jmeter.control.GenericController.next(GenericController.java:100)
  at

   org.apache.jmeter.control.LoopController.next(LoopController.java:91)
  at
  org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
  at
  org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
  at java.lang.Thread.run(Unknown Source)
 
   I took it out, and it ran, (of course, my sampler fails
   because its
   dependent on that, but still...) then I put it back in, and it
  failed
 (both
   manually and through the proxy recording).
 
   Any suggestions?
 

  
   
   -
 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 Sampler Problem with Name?

2008-07-10 Thread Michael McDonnell
The logs now show no errors.
its entirely possible I did have a space after the -1, because when I ran it
again (of course, this is after a multitude of other changes) it seemed to
run fine (this was to test for you).

Sorry to cause commotion.

Michael

On Thu, Jul 10, 2008 at 3:24 PM, sebb [EMAIL PROTECTED] wrote:

 Again, that does not make sense.

 What does the log message show?

 Are you sure that there was no space after the -1 beforehand?

 On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
  I'm not sure but doing this:
   ${__log(${WORKITEMSEQID} == -1)}
 
   Seemed to work to get rid of the exception.
 
 
   On Thu, Jul 10, 2008 at 3:05 PM, sebb [EMAIL PROTECTED] wrote:
 
What was the problem?
   
On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
 That worked! Thanks Sebb!


  On Thu, Jul 10, 2008 at 3:00 PM, sebb [EMAIL PROTECTED] wrote:

   On 10/07/2008, Michael McDonnell [EMAIL PROTECTED] wrote:
But the only thing I have in my If Controller (I only have one)
 is:
   
 ${WORKITEMSEQID} == -1
   
 And the Error Goes away when I run it without that maxRowCount
   
  
   That does not make sense, unless the variable WORKITEMSEQID is
 somehow
   set to something other than a number when maxRowCount is used.
  
   What happens if you replace the If Controller condition with
 true or
   false?
  
   Or you could try setting the If Controller condition to:
  
   ${__log(${WORKITEMSEQID} == -1)}
  
   This will log the expression.
  
   
 On Thu, Jul 10, 2008 at 2:36 PM, sebb [EMAIL PROTECTED]
 wrote:
   
  On 10/07/2008, Michael McDonnell [EMAIL PROTECTED]
 wrote:
   I have an HTTP Sampler, and if I have a sampler that has
something
   in the
POST with the name of maxRowCount, it causes this in
 the
logs:
  
2008/07/10 14:05:13 ERROR - jmeter.control.IfController:
missing ;
  before
statement (cmd#1)
 org.mozilla.javascript.EvaluatorException:
   missing ;
before statement (cmd#1)
   at
 
  That's nothing to do with maxRowCount, it's an error in the
 If
  Controller condition.
 
  Probably trailing spaces.
 
  
 
  
   
  
 org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
   at
  
 
  
   
  
 org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
   at
 org.mozilla.javascript.Parser.addError(Parser.java:126)
   at
org.mozilla.javascript.Parser.reportError(Parser.java:132)
   at
   org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
   at
 org.mozilla.javascript.Parser.statement(Parser.java:623)
   at
 org.mozilla.javascript.Parser.parse(Parser.java:355)
   at
 org.mozilla.javascript.Parser.parse(Parser.java:293)
   at
org.mozilla.javascript.Context.compileImpl(Context.java:2238)
   at
   org.mozilla.javascript.Context.compileString(Context.java:1284)
   at
   org.mozilla.javascript.Context.compileString(Context.java:1273)
   at
   org.mozilla.javascript.Context.evaluateString(Context.java:1129)
   at
  
 
  
   
  
 org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
   at
  
 org.apache.jmeter.control.IfController.next(IfController.java:151)
   at
  
 
  
   
  
 org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
   at
  
 
  
   
  org.apache.jmeter.control.GenericController.next(GenericController.java:100)
   at
 
org.apache.jmeter.control.LoopController.next(LoopController.java:91)
   at
   org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
   at
   org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
   at java.lang.Thread.run(Unknown Source)
  
I took it out, and it ran, (of course, my sampler fails
because its
dependent on that, but still...) then I put it back in,
 and it
   failed
  (both
manually and through the proxy recording).
  
Any suggestions?
  
 
   

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

Re: JMeter remote/distributed testing not working; No error message in log

2008-07-10 Thread Yaroslav

Yes, I've checked that but did not provide in my reply.
No problem to have access form my jmeter-client box (WinXP) to jmeter-server
box (Linux FC6) by  telnet. I have opening session by telnet 10.100.30.41
1099.



sebb-2-2 wrote:
 
 On 10/07/2008, Yaroslav [EMAIL PROTECTED] wrote:

  Hi All,

  I'm using jmeter 2.3.2.

  Jmeter-client is running on WinXP and Jmeter-server on Linux (FC6).

  In the same case as you described my client jmeter.log shows:

  2008/07/10 11:41:57 ERROR - jmeter.engine.ClientJMeterEngine:
  java.rmi.ConnectIOException: Exception creating connection to:
 10.100.30.41;
  nested exception is:
 java.net.NoRouteToHostException: No route to host: connect
 
 That probably means the network is not set up correctly.
 
 Try
 
 telnet 10.100.30.41 1039
 
 from the client and you will see a similar error.
 
 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.engine.RemoteJMeterEngineImpl_Stub.setHost(Unknown
  Source)
 at

 org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:126)
 at java.lang.Thread.run(Unknown Source)
  Caused by: java.net.NoRouteToHostException: No route to host: 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.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at
 sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
  Source)
 at
 sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
  Source)
 ... 7 more

  where 10.100.30.41 where the IP is correct and points to jmeter-server
  side.

  According to network firewall log - my client sent request to the
  jmeter-server on port 1099.

  But client side does not show any responds in the View Results Tree
  listener.
  So, looks like some problem is there.

  PS: if i'm using jmeter-server and jmeter-client on same WinXP box -
  remote testing works fine.


  Do you have proper setting in jmeter properties file on client side
 (sh7)?
  This setting should be shown in Run-Remote Start menu.




  Manish Chakravarty-2 wrote:
  
   On Wed, Jun 25, 2008 at 1:30 AM, sebb [EMAIL PROTECTED] wrote:
  
   On 24/06/2008, Manish Chakravarty [EMAIL PROTECTED] wrote:
Hello All,
   
 I am trying to do remote testing ; with two machines (as a
 learning
experience )
   
 The machines are on the same subnet and are as follows:
 sh6 = jmeter server
 sh7 = jmeter client
   
 On sh6 I start the jmeter server from the command line
 On sh7 i start the jmeter client as follows:
   
 [EMAIL PROTECTED]:~# jakarta-jmeter-2.3.1/bin/jmeter -n -r -t 
 TestFile.jmx
 -l
logremote.jtl
 (I have already configured sh7's jmeter.properties and pointed it
 to
   the
   IP
address of sh6 )
   
  
   Current version is 2.3.2
  
 I see the following output in the console:
 Created the tree successfully
 Configuring remote engine for 67.207.142.28
 Starting remote engines
 Starting the test @ Tue Jun 24 19:24:53 UTC 2008 (1214335493204)
 Remote engines have been started
   
   
 on sh6 (the server) , I see the following output:
   
 [EMAIL PROTECTED]:~# tail jmeter-server.log
 2008/06/24 19:14:30 INFO  - jmeter.JMeter: JMeter  Locale=English
   (United
States)
 2008/06/24 19:14:30 INFO  - jmeter.JMeter:
JMeterHome=/root/jakarta-jmeter-2.3.1
 2008/06/24 19:14:30 INFO  - jmeter.JMeter: user.dir  =/root
 2008/06/24 19:14:30 INFO  - jmeter.JMeter: PWD   =/root
 2008/06/24 19:14:30 INFO  -
jmeter.engine.RemoteJMeterEngineImpl: Starting backing
engine on 1099
 2008/06/24 19:14:30 INFO  -
jmeter.engine.RemoteJMeterEngineImpl: Creating RMI registry
(server.rmi.create=true)
 2008/06/24 19:14:30 INFO  -
jmeter.engine.RemoteJMeterEngineImpl: Creating JMeter
engine on host sh6
 2008/06/24 19:14:30 INFO  -
jmeter.engine.StandardJMeterEngine: Listeners will be
started after enabling running version
 2008/06/24 19:14:30 INFO  -
jmeter.engine.StandardJMeterEngine: To revert to the
earlier behaviour, define
jmeterengine.startlistenerslater=false
 2008/06/24 19:14:30 INFO  -
jmeter.engine.RemoteJMeterEngineImpl: Bound to registry on
port 1099
   
   
 After this /nothing/ seems to happen. I see Java utilizing 

Re: JMeter remote/distributed testing not working; No error message in log

2008-07-10 Thread sebb
Sorry, in that case I'm out of ideas.

On 10/07/2008, Yaroslav [EMAIL PROTECTED] wrote:

  Yes, I've checked that but did not provide in my reply.
  No problem to have access form my jmeter-client box (WinXP) to jmeter-server
  box (Linux FC6) by  telnet. I have opening session by telnet 10.100.30.41
  1099.




  sebb-2-2 wrote:
  
   On 10/07/2008, Yaroslav [EMAIL PROTECTED] wrote:
  
Hi All,
  
I'm using jmeter 2.3.2.
  
Jmeter-client is running on WinXP and Jmeter-server on Linux (FC6).
  
In the same case as you described my client jmeter.log shows:
  
2008/07/10 11:41:57 ERROR - jmeter.engine.ClientJMeterEngine:
java.rmi.ConnectIOException: Exception creating connection to:
   10.100.30.41;
nested exception is:
   java.net.NoRouteToHostException: No route to host: connect
  
   That probably means the network is not set up correctly.
  
   Try
  
   telnet 10.100.30.41 1039
  
   from the client and you will see a similar error.
  
   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.engine.RemoteJMeterEngineImpl_Stub.setHost(Unknown
Source)
   at
  
   
 org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:126)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.net.NoRouteToHostException: No route to host: 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.init(Unknown Source)
   at java.net.Socket.init(Unknown Source)
   at
   sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
   at
   sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
   ... 7 more
  
where 10.100.30.41 where the IP is correct and points to jmeter-server
side.
  
According to network firewall log - my client sent request to the
jmeter-server on port 1099.
  
But client side does not show any responds in the View Results Tree
listener.
So, looks like some problem is there.
  
PS: if i'm using jmeter-server and jmeter-client on same WinXP box -
remote testing works fine.
  
  
Do you have proper setting in jmeter properties file on client side
   (sh7)?
This setting should be shown in Run-Remote Start menu.
  
  
  
  
Manish Chakravarty-2 wrote:

 On Wed, Jun 25, 2008 at 1:30 AM, sebb [EMAIL PROTECTED] wrote:

 On 24/06/2008, Manish Chakravarty [EMAIL PROTECTED] wrote:
  Hello All,
 
   I am trying to do remote testing ; with two machines (as a
   learning
  experience )
 
   The machines are on the same subnet and are as follows:
   sh6 = jmeter server
   sh7 = jmeter client
 
   On sh6 I start the jmeter server from the command line
   On sh7 i start the jmeter client as follows:
 
   [EMAIL PROTECTED]:~# jakarta-jmeter-2.3.1/bin/jmeter -n -r -t 
 TestFile.jmx
   -l
  logremote.jtl
   (I have already configured sh7's jmeter.properties and pointed it
   to
 the
 IP
  address of sh6 )
 

 Current version is 2.3.2

   I see the following output in the console:
   Created the tree successfully
   Configuring remote engine for 67.207.142.28
   Starting remote engines
   Starting the test @ Tue Jun 24 19:24:53 UTC 2008 (1214335493204)
   Remote engines have been started
 
 
   on sh6 (the server) , I see the following output:
 
   [EMAIL PROTECTED]:~# tail jmeter-server.log
   2008/06/24 19:14:30 INFO  - jmeter.JMeter: JMeter  Locale=English
 (United
  States)
   2008/06/24 19:14:30 INFO  - jmeter.JMeter:
  JMeterHome=/root/jakarta-jmeter-2.3.1
   2008/06/24 19:14:30 INFO  - jmeter.JMeter: user.dir  =/root
   2008/06/24 19:14:30 INFO  - jmeter.JMeter: PWD   =/root
   2008/06/24 19:14:30 INFO  -
  jmeter.engine.RemoteJMeterEngineImpl: Starting backing
  engine on 1099
   2008/06/24 19:14:30 INFO  -
  jmeter.engine.RemoteJMeterEngineImpl: Creating RMI registry
  (server.rmi.create=true)
   2008/06/24 19:14:30 INFO  -
  jmeter.engine.RemoteJMeterEngineImpl: Creating JMeter
  engine on host sh6
   2008/06/24 19:14:30 INFO  -
  jmeter.engine.StandardJMeterEngine: Listeners will be
  started 

Re: JMeter remote test doesn't work

2008-07-10 Thread Yaroslav

If this is just Linux configuration problem - where I can read about it?

Thx



sebb-2-2 wrote:
 
 On 10/07/2008, Yaroslav [EMAIL PROTECTED] wrote:

  Hi All,

  Does somebody fix the problem with this remote configuration:

  master-client - WinXp  - server-slave - Linux FC6.

 
 This is not a JMeter problem - this works fine if the Linux box is set
 up correctly.
 


  Joe Smithian wrote:
  
   Hi All
  
   I've installed Jmeter 2.3 in a Windows and a Linux machine. I use the
   Windows machine as the Master (client)) and the Linux one as a slave
   (server)) to run remote tests.
   Local tests on the Windows machine is ok but remote test on the
 Linux(FC6)
   doesn't work.
  
   I've spent so much time reading the documents and trying different
 things
   without luck.  I'd appreciate your help to fix this problem.
  
   Notes:
   -I set the CLASSPATH on the server to include /ApacheJMeter.jar.
   -JAVA_HOME has been set in both machines
   -There is no space in any directory in client or server
   -Windows machine runs McAfee antivirus, I tried to stop the service
   manualy
   but It didn't stop.
  
  
   Here is the exception in the Windows (client) log:
  
  
   2007/12/10 11:27:14 ERROR - jmeter.engine.ClientJMeterEngine:
   java.rmi.MarshalException: error marshalling arguments; nested
 exception
   is:
  
   java.net.SocketException: Connection reset by peer: socket write
 error
   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)
   at
   org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
   Source)
   at org.apache.jmeter.engine.ClientJMeterEngine.run(
   ClientJMeterEngine.java:121)
   at java.lang.Thread.run(Thread.java:619)
   Caused by: java.net.SocketException: Connection reset by peer: socket
   write
   error
   at java.net.SocketOutputStream.socketWrite0(Native Method)
   --
   Here is parts of the Linux Jmeter-Server log:
  
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: Version 2.3.1
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: java.version=1.6.0_01
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: os.name=Linux
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: os.arch=i386
   2007/12/11 01:43:22 INFO  - jmeter.JMeter:
 os.version=2.6.20-1.2925.fc6
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: file.encoding=UTF-8
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: Default Locale=English
 (United
   States)
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: JMeter  Locale=English
 (United
   States)
   2007/12/11 01:43:22 INFO  - jmeter.JMeter:
 JMeterHome=/usr/jmeter/jakarta-
   jmeter-2.3.1
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: user.dir 
 =/usr/jmeter/jakarta-
   jmeter-2.3.1/bin
   2007/12/11 01:43:22 INFO  - jmeter.JMeter: PWD  
 =/usr/jmeter/jakarta-
   jmeter-2.3.1/bin
   2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
 Starting
   backing engine on 1099
   2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
 Creating
   RMI registry (server.rmi.create=true)
   2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
 Creating
   JMeter engine on host utspdev1
   2007/12/11 01:43:22 INFO  - jmeter.engine.StandardJMeterEngine:
 Listeners
   will be started after enabling running version
   2007/12/11 01:43:22 INFO  - jmeter.engine.StandardJMeterEngine: To
 revert
   to
   the earlier behaviour, define jmeterengine.startlistenerslater=false
   2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
 Bound to
   registry on port 1099
   2007/12/11 01:45:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
 received
   host: utspdev1
  
  


  --
  View this message in context:
 http://www.nabble.com/JMeter-remote-test-doesn%27t-work-tp14256492p18390100.html
  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]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/JMeter-remote-test-doesn%27t-work-tp14256492p18392469.html
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: JMeter remote/distributed testing not working; No error message in log

2008-07-10 Thread Yaroslav

Thx sebb-2-2.

But regardless of anything - 
HELLO - PEOPLE: 
DOES SOMEBODY HAVE WORKING JMETER REMOTE TESTING ENVIRONMENT LIKE:
JMETER-CLIENT (WINXP) - JMETER-SERVER (LINUX FC6 OR RH4) ?


sebb-2-2 wrote:
 
 Sorry, in that case I'm out of ideas.
 
 On 10/07/2008, Yaroslav [EMAIL PROTECTED] wrote:

  Yes, I've checked that but did not provide in my reply.
  No problem to have access form my jmeter-client box (WinXP) to
 jmeter-server
  box (Linux FC6) by  telnet. I have opening session by telnet
 10.100.30.41
  1099.




  sebb-2-2 wrote:
  
   On 10/07/2008, Yaroslav [EMAIL PROTECTED] wrote:
  
Hi All,
  
I'm using jmeter 2.3.2.
  
Jmeter-client is running on WinXP and Jmeter-server on Linux (FC6).
  
In the same case as you described my client jmeter.log shows:
  
2008/07/10 11:41:57 ERROR - jmeter.engine.ClientJMeterEngine:
java.rmi.ConnectIOException: Exception creating connection to:
   10.100.30.41;
nested exception is:
   java.net.NoRouteToHostException: No route to host: connect
  
   That probably means the network is not set up correctly.
  
   Try
  
   telnet 10.100.30.41 1039
  
   from the client and you will see a similar error.
  
   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.engine.RemoteJMeterEngineImpl_Stub.setHost(Unknown
Source)
   at
  
  
 org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:126)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.net.NoRouteToHostException: No route to host:
 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.init(Unknown Source)
   at java.net.Socket.init(Unknown Source)
   at
   sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
   at
   sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
   ... 7 more
  
where 10.100.30.41 where the IP is correct and points to
 jmeter-server
side.
  
According to network firewall log - my client sent request to the
jmeter-server on port 1099.
  
But client side does not show any responds in the View Results
 Tree
listener.
So, looks like some problem is there.
  
PS: if i'm using jmeter-server and jmeter-client on same WinXP box -
remote testing works fine.
  
  
Do you have proper setting in jmeter properties file on client
 side
   (sh7)?
This setting should be shown in Run-Remote Start menu.
  
  
  
  
Manish Chakravarty-2 wrote:

 On Wed, Jun 25, 2008 at 1:30 AM, sebb [EMAIL PROTECTED] wrote:

 On 24/06/2008, Manish Chakravarty [EMAIL PROTECTED] wrote:
  Hello All,
 
   I am trying to do remote testing ; with two machines (as a
   learning
  experience )
 
   The machines are on the same subnet and are as follows:
   sh6 = jmeter server
   sh7 = jmeter client
 
   On sh6 I start the jmeter server from the command line
   On sh7 i start the jmeter client as follows:
 
   [EMAIL PROTECTED]:~# jakarta-jmeter-2.3.1/bin/jmeter -n -r -t
 TestFile.jmx
   -l
  logremote.jtl
   (I have already configured sh7's jmeter.properties and pointed
 it
   to
 the
 IP
  address of sh6 )
 

 Current version is 2.3.2

   I see the following output in the console:
   Created the tree successfully
   Configuring remote engine for 67.207.142.28
   Starting remote engines
   Starting the test @ Tue Jun 24 19:24:53 UTC 2008
 (1214335493204)
   Remote engines have been started
 
 
   on sh6 (the server) , I see the following output:
 
   [EMAIL PROTECTED]:~# tail jmeter-server.log
   2008/06/24 19:14:30 INFO  - jmeter.JMeter: JMeter 
 Locale=English
 (United
  States)
   2008/06/24 19:14:30 INFO  - jmeter.JMeter:
  JMeterHome=/root/jakarta-jmeter-2.3.1
   2008/06/24 19:14:30 INFO  - jmeter.JMeter: user.dir  =/root
   2008/06/24 19:14:30 INFO  - jmeter.JMeter: PWD   =/root
   2008/06/24 19:14:30 INFO  -
  jmeter.engine.RemoteJMeterEngineImpl: Starting backing
  engine on 1099
   2008/06/24 19:14:30 INFO  -
  jmeter.engine.RemoteJMeterEngineImpl: Creating RMI registry
  (server.rmi.create=true)
   

Newbie Question - log file location

2008-07-10 Thread Z W
Hi

Whenever JMeter runs, it creates a log file which I believe contains
the messaging between JMeter and the test target/server.
Where on the JMeter GUI shows the path to the saved JMeter file location ?
If not, how does one create a JMeter log file that would contain the
actual messaging between JMEter and the test target/server ?
For example, I like to capture the actual SMTP messaging or IMAP
messaging between JMEter and the test target/server.

Advance thanks

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



Re: Newbie Question - log file location

2008-07-10 Thread sebb
On 10/07/2008, Z W [EMAIL PROTECTED] wrote:
 Hi

  Whenever JMeter runs, it creates a log file which I believe contains
  the messaging between JMeter and the test target/server.

No, the jmeter log file is for operational messages and errors.

  Where on the JMeter GUI shows the path to the saved JMeter file location ?

Not applicable, see above.

  If not, how does one create a JMeter log file that would contain the
  actual messaging between JMEter and the test target/server
  For example, I like to capture the actual SMTP messaging or IMAP
  messaging between JMEter and the test target/server.

JMeter uses the Javamail library for this - I suggest you check the
Sun Javamail documentation to see if there are any properties you can
set to enable logging.

If not, I suggest you use something like Wireshark to capture the
communications.

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