Question about calculating the latency

2007-11-22 Thread Thierry Boullet

Hello,

I wonder what really represents latency in the results of Jmeter (sampler
HTTP).
I read in previous e-mails that it was the time (in milliseconds) to first
response.

I understand that it is the difference between the time of receiving the
first http response packet and time of sending the request. Is that
correct?

I compared the value of the Jmeter latency with the information provided
by the sniffer Wireshark.
I do not get correspondence, the latency Jmeter is far greater than the
difference in Wireshark (between the time of receiving the first http
response packet and time of sending the request). I know there is the
processing time of Jmeter but I think this does not explain everything.

For me, the definition of latency is the time of transmission on the
network for a request or a response.

Is what someone can bring me more details about latency in Jmeter ?

Thanks

Thierry Boullet

www.kereval.com



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



Re: Question about calculating the latency

2007-11-22 Thread sebb
JMeter measures the latency from just before sending the request to
just after the first response has been received. Thus the time
includes all the processing needed to assemble the request as well as
assembling the response, which in general will be longer than one
byte.

Wireshark measures the time when bytes are actually sent/received.

The JMeter time should be closer to that which is experienced by a
browser or other application client.

On 22/11/2007, Thierry Boullet [EMAIL PROTECTED] wrote:

 Hello,

 I wonder what really represents latency in the results of Jmeter (sampler
 HTTP).
 I read in previous e-mails that it was the time (in milliseconds) to first
 response.

 I understand that it is the difference between the time of receiving the
 first http response packet and time of sending the request. Is that
 correct?

 I compared the value of the Jmeter latency with the information provided
 by the sniffer Wireshark.
 I do not get correspondence, the latency Jmeter is far greater than the
 difference in Wireshark (between the time of receiving the first http
 response packet and time of sending the request). I know there is the
 processing time of Jmeter but I think this does not explain everything.

 For me, the definition of latency is the time of transmission on the
 network for a request or a response.

 Is what someone can bring me more details about latency in Jmeter ?

 Thanks

 Thierry Boullet

 www.kereval.com



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



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



Re: UserParameters.setValues blocking

2007-11-22 Thread sebb
This is a question for the JMeter user list; please post any follow-ups there.

On 22/11/2007, Dmitry Kudrenko [EMAIL PROTECTED] wrote:
 Greetings,

 I use UserParameters to calculate, store variables which used on
 logical controllers. My test plan have a lot of places where these
 parameters are used.

 But my threads blocked because UserParameters.setValues method locks
 with synchronization object 'lock' defined in
 org.apache.jmeter.modifiers.UserParameters.

 As I understand UserParameters variables don't shared between threads
 in the Thread Group. But one thread blocks all threads.

 I found comment as for 'lock' object which is:
 * The lock ensures that all the variables are processed together, which is
 * important for functions such as __CSVRead and _StringFromFile.

Yes, this is intentional. Otherwise related variables defined by the
User Parameters element might be mixed up.

 Maybe I am using wrong approach to use UserParameters.

 Thank you for any advise.

Make sure any functions used on the User Parameters screen are quick running.

 --
 Best regards,
 Dmitry Kudrenko
 ARDAS group (http://www.ardas.dp.ua)
 mailto:[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: Proportioning of Request

2007-11-22 Thread Joseph Ribin Roy

hi sebb

 I have written a bean shell script which would return me 0,1,2 from the 
random generation. but the switch is not working fine. Its not sending request 
in expected order. I had read the issue in users mailing list. is it a bug

so i thought of trying through put controller. i am not still clear how can i 
proportionate using Throughput controller. can you through some light on this.



From: sebb [mailto:[EMAIL PROTECTED]
Sent: Wed 11/21/2007 9:09 PM
To: JMeter Users List
Subject: Re: Proportioning of Request



You could try:

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

You would need one as a parent of each request, and you may not get
exactly one of the samples per loop.

Otherwise, I would probably use the Switch Controller:

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

in conjunction with a function that returns 0,1 or 2 in the
appropriate proportions.

e.g. generate a random number between 1 and 10 (inclusive) and then
divide into suitable portions:

1-5 - 0
6-8 - 1
9-10 - 2

You could use javascript, jexl or beanshell for this.

On 21/11/2007, Joseph Ribin Roy [EMAIL PROTECTED] wrote:

 Hi all,

   I have 3 http request. Is it possible to send it in 50:30:20 ratio. 
 Does any controller can do it. Putting it in different Thread group will help 
 in doing it [spliting the user proportion]. But I ll have to rewrite other 
 requests in all thread groups. Can any one through some light on this.

 Thanks
 Joseph



 The information contained in, or attached to, this e-mail, contains 
 confidential information and is intended solely for the use of the individual 
 or entity to whom they are addressed and is subject to legal privilege. If 
 you have received this e-mail in error you should notify the sender 
 immediately by reply e-mail, delete the message from your system and notify 
 your system manager. Please do not copy it for any purpose, or disclose its 
 contents to any other person. The views or opinions presented in this e-mail 
 are solely those of the author and do not necessarily represent those of the 
 company. The recipient should check this e-mail and any attachments for the 
 presence of viruses. The company accepts no liability for any damage caused, 
 directly or indirectly, by any virus transmitted in this email.

 www.aztecsoft.com

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






The information contained in, or attached to, this e-mail, contains 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and is subject to legal privilege. If you 
have received this e-mail in error you should notify the sender immediately by 
reply e-mail, delete the message from your system and notify your system 
manager. Please do not copy it for any purpose, or disclose its contents to any 
other person. The views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company. The 
recipient should check this e-mail and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email.

www.aztecsoft.com

Re: Proportioning of Request

2007-11-22 Thread sebb
On 22/11/2007, Joseph Ribin Roy [EMAIL PROTECTED] wrote:



 Hi Sebb

 This is my function.
 I checked the values comming out for the switch it would be 0, 1, 2 . and i 
 tried placing 3 request in simple controller also and also putting bean shell 
 function inside __log(). but the order of sending request is not correct

There can be no order of requests since you are using a random function.

 ${__BeanShell(if(${__Random(0,10,rand)}  6){return 0;}else if(${rand}  
 9){return 1;}else{return 2;},switchVar)})


That won't work properly, because ${rand} will be replaced by its
value before the script is executed. Either use a Java random function
in BeanShell, or set the value of rand before calling the BeanShell
script.

 i am attaching you the logic script. am i missing something

 Joseph

 
From: sebb [mailto:[EMAIL PROTECTED]
 Sent: Thu 11/22/2007 4:50 PM

 To: JMeter Users List
 Subject: Re: Proportioning of Request





 On 22/11/2007, Joseph Ribin Roy [EMAIL PROTECTED] wrote:
 
  hi sebb
 
  I have written a bean shell script which would return me 0,1,2 from the 
  random generation. but the switch is not working fine. Its not sending 
  request in expected order. I had read the issue in users mailing list. is 
  it a bug

 Are you sure that the script is returning the correct values?
 Add a Java Request sampler to check it, or enclose the function call in 
 __log().

 e.g. ${__log(${__beanShell(function code)})}

 The Switch Controller should look like:

 Switch Controller
 + Sampler 0
 + Sampler 1
 + Sampler 2

 or you could use Simple Controller parents:

 Switch Controller
 + Simple Controller
 + + Sampler 0
 + Simple Controller
 + + Sampler 1
 + Simple Controller
 + + Sampler 2

  so i thought of trying through put controller. i am not still clear how can 
  i proportionate using Throughput controller. can you through some light on 
  this.

 Just use a TC with the appropriate percentage as the parent of each sampler:

 TC 1 (50%)
 + sampler 1
 TC 2 (30%)
 + sampler 2

 etc.

  
 
  From: sebb [mailto:[EMAIL PROTECTED]
  Sent: Wed 11/21/2007 9:09 PM
  To: JMeter Users List
  Subject: Re: Proportioning of Request
 
 
 
  You could try:
 
  http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Throughput_Controller
 
  You would need one as a parent of each request, and you may not get
  exactly one of the samples per loop.
 
  Otherwise, I would probably use the Switch Controller:
 
  http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Switch_Controller
 
  in conjunction with a function that returns 0,1 or 2 in the
  appropriate proportions.
 
  e.g. generate a random number between 1 and 10 (inclusive) and then
  divide into suitable portions:
 
  1-5 - 0
  6-8 - 1
  9-10 - 2
 
  You could use javascript, jexl or beanshell for this.
 
  On 21/11/2007, Joseph Ribin Roy [EMAIL PROTECTED] wrote:
  
   Hi all,
  
 I have 3 http request. Is it possible to send it in 50:30:20 ratio. 
   Does any controller can do it. Putting it in different Thread group will 
   help in doing it [spliting the user proportion]. But I ll have to rewrite 
   other requests in all thread groups. Can any one through some light on 
   this.
  
   Thanks
   Joseph
  
  
  
   The information contained in, or attached to, this e-mail, contains 
   confidential information and is intended solely for the use of the 
   individual or entity to whom they are addressed and is subject to legal 
   privilege. If you have received this e-mail in error you should notify 
   the sender immediately by reply e-mail, delete the message from your 
   system and notify your system manager. Please do not copy it for any 
   purpose, or disclose its contents to any other person. The views or 
   opinions presented in this e-mail are solely those of the author and do 
   not necessarily represent those of the company. The recipient should 
   check this e-mail and any attachments for the presence of viruses. The 
   company accepts no liability for any damage caused, directly or 
   indirectly, by any virus transmitted in this email.
  
   www.aztecsoft.com
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
  The information contained in, or attached to, this e-mail, contains 
  confidential information and is intended solely for the use of the 
  individual or entity to whom they are addressed and is subject to legal 
  privilege. If you have received this e-mail in error you should notify the 
  sender immediately by reply e-mail, delete the message from your system and 
  notify your system manager. Please do not copy it for any purpose, or 
  disclose its contents to any other person. The views or opinions presented 
  in this e-mail are solely those of the author and do not necessarily 
  represent 

RE: Proportioning of Request

2007-11-22 Thread Joseph Ribin Roy

Hi Sebb

This is my function.
I checked the values comming out for the switch it would be 0, 1, 2 . and i 
tried placing 3 request in simple controller also and also putting bean shell 
function inside __log(). but the order of sending request is not correct

${__BeanShell(if(${__Random(0,10,rand)}  6){return 0;}else if(${rand}  
9){return 1;}else{return 2;},switchVar)})

i am attaching you the logic script. am i missing something

Joseph



From: sebb [mailto:[EMAIL PROTECTED]
Sent: Thu 11/22/2007 4:50 PM
To: JMeter Users List
Subject: Re: Proportioning of Request



On 22/11/2007, Joseph Ribin Roy [EMAIL PROTECTED] wrote:

 hi sebb

 I have written a bean shell script which would return me 0,1,2 from the 
 random generation. but the switch is not working fine. Its not sending 
 request in expected order. I had read the issue in users mailing list. is it 
 a bug

Are you sure that the script is returning the correct values?
Add a Java Request sampler to check it, or enclose the function call in __log().

e.g. ${__log(${__beanShell(function code)})}

The Switch Controller should look like:

Switch Controller
+ Sampler 0
+ Sampler 1
+ Sampler 2

or you could use Simple Controller parents:

Switch Controller
+ Simple Controller
+ + Sampler 0
+ Simple Controller
+ + Sampler 1
+ Simple Controller
+ + Sampler 2

 so i thought of trying through put controller. i am not still clear how can i 
 proportionate using Throughput controller. can you through some light on this.

Just use a TC with the appropriate percentage as the parent of each sampler:

TC 1 (50%)
+ sampler 1
TC 2 (30%)
+ sampler 2

etc.

 

 From: sebb [mailto:[EMAIL PROTECTED]
 Sent: Wed 11/21/2007 9:09 PM
 To: JMeter Users List
 Subject: Re: Proportioning of Request



 You could try:

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

 You would need one as a parent of each request, and you may not get
 exactly one of the samples per loop.

 Otherwise, I would probably use the Switch Controller:

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

 in conjunction with a function that returns 0,1 or 2 in the
 appropriate proportions.

 e.g. generate a random number between 1 and 10 (inclusive) and then
 divide into suitable portions:

 1-5 - 0
 6-8 - 1
 9-10 - 2

 You could use javascript, jexl or beanshell for this.

 On 21/11/2007, Joseph Ribin Roy [EMAIL PROTECTED] wrote:
 
  Hi all,
 
I have 3 http request. Is it possible to send it in 50:30:20 ratio. 
  Does any controller can do it. Putting it in different Thread group will 
  help in doing it [spliting the user proportion]. But I ll have to rewrite 
  other requests in all thread groups. Can any one through some light on this.
 
  Thanks
  Joseph
 
 
 
  The information contained in, or attached to, this e-mail, contains 
  confidential information and is intended solely for the use of the 
  individual or entity to whom they are addressed and is subject to legal 
  privilege. If you have received this e-mail in error you should notify the 
  sender immediately by reply e-mail, delete the message from your system and 
  notify your system manager. Please do not copy it for any purpose, or 
  disclose its contents to any other person. The views or opinions presented 
  in this e-mail are solely those of the author and do not necessarily 
  represent those of the company. The recipient should check this e-mail and 
  any attachments for the presence of viruses. The company accepts no 
  liability for any damage caused, directly or indirectly, by any virus 
  transmitted in this email.
 
  www.aztecsoft.com

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






 The information contained in, or attached to, this e-mail, contains 
 confidential information and is intended solely for the use of the individual 
 or entity to whom they are addressed and is subject to legal privilege. If 
 you have received this e-mail in error you should notify the sender 
 immediately by reply e-mail, delete the message from your system and notify 
 your system manager. Please do not copy it for any purpose, or disclose its 
 contents to any other person. The views or opinions presented in this e-mail 
 are solely those of the author and do not necessarily represent those of the 
 company. The recipient should check this e-mail and any attachments for the 
 presence of viruses. The company accepts no liability for any damage caused, 
 directly or indirectly, by any virus transmitted in this email.

 www.aztecsoft.com

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






The information contained in, or attached to, this e-mail, 

Re: Getting a problem while recording a session via Http proxy Server. Please Help.

2007-11-22 Thread sebb
On 22/11/2007, Momog [EMAIL PROTECTED] wrote:

 Since yesterday morning I am trying to record a session via http proxy
 server, but Jmeter does not record anything.

 Please help me.

 My test is as follows :

 Test Plan
  -Thread Group
  --HTTP Request Defaults [Server Name: localhost, Port: 80, protocol:
  http]
  --Recording controller

  WorkBench
  -HTTP Proxy Server [pointed to port 8080, Target Controller: Use Recording
  Controller]
  --View Result Tree Listener
 
  I've set my IE Proxy settings to Address: localhost Port 8080
  I've also set my caching to Every visit to page


 But it do not record anything.

 Does anybody have any idea what am I missing ?

Does the browser display the pages?

What happens if you stop the JMeter proxy?
Does the browser still work?
If so, then the browser is not using the proxy.
Check that the target address is not excluded from the proxy.

Are you trying to record against a localhost server?
I've found problems trying to record localhost URLs with MSIE 7.
It seems to ignore the proxy settings, no matter what I do.
[I don't have the same problem with FireFox.]

 Thanks a lot.

 --
 View this message in context: 
 http://www.nabble.com/Getting-a-problem-while-recording-a-session-via-Http-proxy-Server.-Please-Help.-tf4856612.html#a13897429
 Sent from the JMeter - User mailing list archive at Nabble.com.


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



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



RE: Getting a problem while recording a session via Http proxy Server. Please Help.

2007-11-22 Thread Modha Khammammettu
http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pd
f   I followed it to the letter and got it working.

Did you do Tools - Internet options - Connections - Lan Settings -
Click on Proxy Server and specify port there? 

In your test, To WorkBench Add- Non Test Element - HTTP Proxy Server 
Under Target Controller use TestPlan - ThreadGroup.

-Original Message-
From: Momog [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 22, 2007 7:23 AM
To: jmeter-user@jakarta.apache.org
Subject: Getting a problem while recording a session via Http proxy
Server. Please Help.


Since yesterday morning I am trying to record a session via http proxy
server, but Jmeter does not record anything.

Please help me.

My test is as follows :

Test Plan
 -Thread Group
 --HTTP Request Defaults [Server Name: localhost, Port: 80, protocol:
 http]
 --Recording controller

 WorkBench
 -HTTP Proxy Server [pointed to port 8080, Target Controller: Use 
 Recording Controller] --View Result Tree Listener
 
 I've set my IE Proxy settings to Address: localhost Port 8080 I've 
 also set my caching to Every visit to page


But it do not record anything.

Does anybody have any idea what am I missing ?

Thanks a lot.

--
View this message in context:
http://www.nabble.com/Getting-a-problem-while-recording-a-session-via-Ht
tp-proxy-Server.-Please-Help.-tf4856612.html#a13897429
Sent from the JMeter - User mailing list archive at Nabble.com.


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


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



RE: 'Spread' for distributed testing

2007-11-22 Thread Sonam Chauhan
Oops sorry... the attached thread from the spread list did not come
through, so here's a link to it: 
http://article.gmane.org/gmane.network.spread.user/2818 

Thanks again Sebb for all your help! 

Best regards,
Sonam Chauhan
-- 
Corporate Express Australia Ltd. 
Phone: +61-2-93350725, Email: [EMAIL PROTECTED]

-Original Message-
From: Sonam Chauhan [mailto:[EMAIL PROTECTED] 
Sent: Friday, 23 November 2007 6:45 PM
To: JMeter Users List
Subject: RE: 'Spread' for distributed testing

Hi again Sebb... This is an older thread? Anyway, I had a good
discussion about this issue on the Spread list (email attached). 

The approach suggested there was a second process (not JMeter) read the
JMeter disk logs and publishing them out the spread daemon in a
bandwidth limited manner. This neatly sidesteps the problems incorporate
the Spread protocol into JMeter, does not interfere with the length of
JMeter test runs, and also will not soak up network bandwidth. 

 Ah - I see. That might help, but it would prolong the end of a test,
 as the queued entries must be allowed to filter through. There's also
 the question of where the queued entries are stored.

The cool thing is that the entries could be 'published' in a standard
format, to whichever application wanted to 'listen' to them -- these
could be log-unification tool, syslog, or a test results database where
test data could be sliced/diced at will. 

Can you comment on how JMeter logs are written to disk? Is there
buffering involved, or does it write to disk as soon as it can? 

Kind regards,
Sonam Chauhan
-- 
Corporate Express Australia Ltd. 
Phone: +61-2-93350725, Email: [EMAIL PROTECTED]
-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Monday, 12 November 2007 7:37 PM
To: JMeter Users List
Subject: Re: 'Spread' for distributed testing

On 12/11/2007, Sonam Chauhan [EMAIL PROTECTED] wrote:
 Sebb:

  It's mainly a problem because of the data volumes that are required.
I
  don't see how changing the transport mechanism can change that.

 I thought Spread had bandwidth throttling features so that logs
entries
 could queue up and stream in a bandwidth limited manner to the end
 destination - however Spread may not have these features. A workaround

Ah - I see. That might help, but it would prolong the end of a test,
as the queued entries must be allowed to filter through. There's also
the question of where the queued entries are stored.

 would be to setup virtual network interfaces limited to, say, 10 Mbps
 and have the Spread components bind to those interfaces, but that may
be
 too much work.

It may also be a lot of work to incorporate the Spread protocol into
JMeter.

 In any case, I've asked the question on the Spread user
 list.

Thanks.

   Is it possible to prototype this idea using a BeanShell listener?
 
 
  I think it would be difficult.
 
  Listeners are handled specially in client-server mode.

 Thanks.

 Kind regards,
 Sonam Chauhan
 --
 Corporate Express Australia Ltd.
 Phone: +61-2-93350725, Email: [EMAIL PROTECTED]

 -Original Message-
 From: sebb [mailto:[EMAIL PROTECTED]
 Sent: Friday, 9 November 2007 12:57 AM
 To: JMeter Users List
 Subject: Re: 'Spread' for distributed testing

 In 08/11/2007, Sonam Chauhan [EMAIL PROTECTED] wrote:
  Just a thought - Would the 'Spread Toolkit' (http://www.spread.org/)
 be
  useful in JMeter distributed testing?
 
 
 
  From the Spread website:
 
  Spread functions as a unified message bus for distributed
 applications,
  and provides highly tuned application-level multicast, group
  communication, and point to point support.
 
 
 
  From what I understand, an existing problem in JMeter distributed
  testing is collating logs back to the master server, particularly
when
  the logs capture extra information (e.g., the HTTP response).
Perhaps
  using Spread could help in this? It has a Java API encapsulated in
one
  package.
 

 It's mainly a problem because of the data volumes that are required. I
 don't see how changing the transport mechanism can change that.

 
  Is it possible to prototype this idea using a BeanShell listener?
 

 I think it would be difficult.

 Listeners are handled specially in client-server mode.

 
  Kind regards,

 Thanks anyway.

  Sonam Chauhan
 
  --
 
  Corporate Express Australia Ltd.
 
  Phone: +61-2-93350725, Email: [EMAIL PROTECTED]
 
 
 
  Spread Toolkit
 
  http://www.spread.org/
 
 
 
  Java Interface to the Spread Toolkit
 
  http://www.spread.org/docs/javadocs/java.html
 
 
 
  An interesting article on using Spread to unify apache access logs.
 
  http://www.samag.com/documents/s=7789/sam0302a/0302a.htm
 
 

 -
 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 

RE: 'Spread' for distributed testing

2007-11-22 Thread Sonam Chauhan
Hi again Sebb... This is an older thread? Anyway, I had a good
discussion about this issue on the Spread list (email attached). 

The approach suggested there was a second process (not JMeter) read the
JMeter disk logs and publishing them out the spread daemon in a
bandwidth limited manner. This neatly sidesteps the problems incorporate
the Spread protocol into JMeter, does not interfere with the length of
JMeter test runs, and also will not soak up network bandwidth. 

 Ah - I see. That might help, but it would prolong the end of a test,
 as the queued entries must be allowed to filter through. There's also
 the question of where the queued entries are stored.

The cool thing is that the entries could be 'published' in a standard
format, to whichever application wanted to 'listen' to them -- these
could be log-unification tool, syslog, or a test results database where
test data could be sliced/diced at will. 

Can you comment on how JMeter logs are written to disk? Is there
buffering involved, or does it write to disk as soon as it can? 

Kind regards,
Sonam Chauhan
-- 
Corporate Express Australia Ltd. 
Phone: +61-2-93350725, Email: [EMAIL PROTECTED]
-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Monday, 12 November 2007 7:37 PM
To: JMeter Users List
Subject: Re: 'Spread' for distributed testing

On 12/11/2007, Sonam Chauhan [EMAIL PROTECTED] wrote:
 Sebb:

  It's mainly a problem because of the data volumes that are required.
I
  don't see how changing the transport mechanism can change that.

 I thought Spread had bandwidth throttling features so that logs
entries
 could queue up and stream in a bandwidth limited manner to the end
 destination - however Spread may not have these features. A workaround

Ah - I see. That might help, but it would prolong the end of a test,
as the queued entries must be allowed to filter through. There's also
the question of where the queued entries are stored.

 would be to setup virtual network interfaces limited to, say, 10 Mbps
 and have the Spread components bind to those interfaces, but that may
be
 too much work.

It may also be a lot of work to incorporate the Spread protocol into
JMeter.

 In any case, I've asked the question on the Spread user
 list.

Thanks.

   Is it possible to prototype this idea using a BeanShell listener?
 
 
  I think it would be difficult.
 
  Listeners are handled specially in client-server mode.

 Thanks.

 Kind regards,
 Sonam Chauhan
 --
 Corporate Express Australia Ltd.
 Phone: +61-2-93350725, Email: [EMAIL PROTECTED]

 -Original Message-
 From: sebb [mailto:[EMAIL PROTECTED]
 Sent: Friday, 9 November 2007 12:57 AM
 To: JMeter Users List
 Subject: Re: 'Spread' for distributed testing

 In 08/11/2007, Sonam Chauhan [EMAIL PROTECTED] wrote:
  Just a thought - Would the 'Spread Toolkit' (http://www.spread.org/)
 be
  useful in JMeter distributed testing?
 
 
 
  From the Spread website:
 
  Spread functions as a unified message bus for distributed
 applications,
  and provides highly tuned application-level multicast, group
  communication, and point to point support.
 
 
 
  From what I understand, an existing problem in JMeter distributed
  testing is collating logs back to the master server, particularly
when
  the logs capture extra information (e.g., the HTTP response).
Perhaps
  using Spread could help in this? It has a Java API encapsulated in
one
  package.
 

 It's mainly a problem because of the data volumes that are required. I
 don't see how changing the transport mechanism can change that.

 
  Is it possible to prototype this idea using a BeanShell listener?
 

 I think it would be difficult.

 Listeners are handled specially in client-server mode.

 
  Kind regards,

 Thanks anyway.

  Sonam Chauhan
 
  --
 
  Corporate Express Australia Ltd.
 
  Phone: +61-2-93350725, Email: [EMAIL PROTECTED]
 
 
 
  Spread Toolkit
 
  http://www.spread.org/
 
 
 
  Java Interface to the Spread Toolkit
 
  http://www.spread.org/docs/javadocs/java.html
 
 
 
  An interesting article on using Spread to unify apache access logs.
 
  http://www.samag.com/documents/s=7789/sam0302a/0302a.htm
 
 

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