RE: Timer

2005-11-28 Thread Bruno Charloup
There is a problem in the JMeter document, in the section 18.6 about Timers. It is written ... To apply a timer after a sampler, either add it to the next sampler, or add it as the child of a simple logic controller immediately after the sampler. Only the 1st proposition works, and it works fine.

If Controller and user defined variables : problem of scope (value overwritten) ?

2005-11-28 Thread Bruno Charloup
Hi all, i need to perform the following action to have in my tree listener : http_request1 http_request2 http_request2 http_request2 http_request2 ... My test plan is defined as below : myvar = 1 (user defined variable) if myvar==1 then (1st If Controller) http_request1 myvar = 2

Re: Timer

2005-11-28 Thread sebb
Unless there is also a sampler in the Logic controller ... but point taken; the documentation is misleading. S. On 28/11/05, Bruno Charloup [EMAIL PROTECTED] wrote: There is a problem in the JMeter document, in the section 18.6 about Timers. It is written ... To apply a timer after a sampler,

Re: Newbie Q re merging JTL files

2005-11-28 Thread Will Meyer
Oh ok, I thought there was a sample counter in there as well, but it looks like just the start time and sampled time, so it's as you say, pretty simple. I'll let the list know once I get around to doing this, I will probably do it in Java (since JMeter users obviously already have it) and not

Re: Newbie Q re merging JTL files

2005-11-28 Thread sebb
Thanks - have fun! ... If you want to post the code, please create a Buzilla enhancement request, and then attach the code to that. Code sent to the list tends to get lost/mangled/forgotten/etc. S. On 28/11/05, Will Meyer [EMAIL PROTECTED] wrote: Oh ok, I thought there was a sample counter in

Increasing memory consumption in test with no listeners?

2005-11-28 Thread Will Meyer
Hi. I have a test that, among many other things, uploads a huge file via a POST. I have all of the listeners disabled, and am running the test in command-line mode. Eventually, with high enough numbers of loops and threads, I run out of memory. I have set the max heap quite high. Does anyone

RE: If Controller and user defined variables : problem of scope (value overwritten) ?

2005-11-28 Thread Bruno Charloup
Seb, Thanks for your answer. I think the OnceOnly Controller is not the right controller for my test plan, because the OnceOnlyController is applied for each thread. In my test, I want to execute the 1st request only once, whatever the thread, i.e. for the 2nd and other threads, http_request1 must

RE: function StringFromFile could not read data file in UNIX?

2005-11-28 Thread Liu, Julia
Hi Bryn, You are right. Thanks a lot! -Original Message- From: Bryn Evans [mailto:[EMAIL PROTECTED] Sent: Monday, November 28, 2005 10:38 AM To: JMeter Users List Subject: RE: function StringFromFile could not read data file in UNIX? is it because you've got the wrong slash at the

Testing the effect of page compression with Jmeter; Any gotchas?

2005-11-28 Thread Christensen, Alan
Has anyone used Jmeter to test the effects of using page compression vs not using page compression? Any gotchas that should be avoided, or best practices that will make this easier? What would you suggest be used to mimic slower connections?

RE: If Controller and user defined variables : problem of scope (value overwritten) ?

2005-11-28 Thread Christensen, Alan
I got around a similar problem by having a distinct thread group that immediately executed the initialization code when Jmeter started executing my script. I used delays in all the other thread groups to prevent them from starting up until after this was complete. Cludgy, but it worked for

XML output

2005-11-28 Thread Morten Kristiansen
An example from an xml output from JMeter. What is lt here? I guess t is time (or total time)? httpSample t=608 lt=329 ts=1133195467745 s=true lb=Request 1 rc=200 rm=OK tn=Thread 1 1-1 dt=text/ Morten - To unsubscribe,

Re: Increasing memory consumption in test with no listeners?

2005-11-28 Thread Peter Lin
other people have also tried large files in the past and jmeter definitely has a limit. the current implementation simply passes the inputstream from the file to the output stream to http connection. beyond that, unless a server is hosted at a tier 1 or tier 2 ISP, chances are the connection

Re: If Controller and user defined variables : problem of scope (value overwritten) ?

2005-11-28 Thread sebb
UDVs won't ever work, because they are per thread. You could use a property - there are functions to get and set them - but it seems to me that the separate thread group (or indeed a separate JMeter test plan?) is a good solution at present. S. On 28/11/05, Christensen, Alan [EMAIL PROTECTED]

Re: function StringFromFile could not read data file in UNIX?

2005-11-28 Thread sebb
BTW, the unix format works on Windows - assuming the file is on the same disk - but not the other way round. S. On 28/11/05, Liu, Julia [EMAIL PROTECTED] wrote: Hi Bryn, You are right. Thanks a lot! -Original Message- From: Bryn Evans [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Testing the effect of page compression with Jmeter; Any gotchas?

2005-11-28 Thread sebb
As to slower connections, the latest nightly builds include a means of simulating slow connections for the Apache HttpClient sampler. See jmeter.properties: #httpclient.socket.http.cps=0 #httpclient.socket.https.cps=0 == I looked at extending this to the default Http implementation, but it is

RE: If Controller and user defined variables : problem of scope (value overwritten) ?

2005-11-28 Thread Bruno Charloup
I was reading chapter 19 on documentation about Functions and I was tempted by use of property. So, your answer encourage me to follow this way ... I've tryed also the solution from Alan, and for the present time it solves my problem (I made the same organization in my test plan this morning but I

RE: If Controller and user defined variables : problem of scope (value overwritten) ?

2005-11-28 Thread Christensen, Alan
To be precise on my cludgy solution, the delays in the thread groups (used to delay beyond the completion of the initialization thread) were enclosed in Once Only controllers so that they would only run on the first iteration of each thread. -Original Message- From: Bruno Charloup

Regarding the CSV Data Set Config

2005-11-28 Thread Anurodh Jain
Hi Peter, How do we retrieve the values from the CSV file when using CSV Data Set Config element. I need to pass the values Retrieved by the Data set to the Bean Shell Script. How do I do that? Appreciate any help. With Regards Anurodh

RE: setting up timer for the whole Thread Group

2005-11-28 Thread Christensen, Alan
Add a simple controller at the end of the list of samplers in your thread group. Within this simple controller place a 5 minute constant timer and a single sampler (you must have a sampler within this controller for the delay to work). Set your thread group to run forever. This should exhibit

RE: XML output

2005-11-28 Thread Morten Kristiansen
Hmm. The label says lt and not it doesn't it? And each element in the httpSample represents one request, so I don't see how iteration fits in this case. The number 329 says nothing to me. My test was 1 thread with 5 iterations and I got 5 httpSample results (like the one below) in my result

Re: XML output

2005-11-28 Thread sebb
From reading the code: t = elapsed time for whole sample lt = latency = time to first response It looks as though the latency only applies to the HttpSampler (plus its derived classes AccessLogSampler and SoapSampler) at present. I guess it ought to be added to the others (if appropriate). And

Load distribution

2005-11-28 Thread Shaik Afgal Bhasha
Hi, I need help in distributing the load across different pages of an application. Basically we are load testing an application where in I need to distribute the load. I am trying to create a scenario like this- 100 users for log in page Page 1 25 users for composing a mail Page