Re: Writing a filter for Access Log Sampler

2011-08-03 Thread apc
Yep, just put your jar into lib/ext and use full class name. - -- Andrey Pohilko JP@GC Maintainer -- View this message in context: http://jmeter.512774.n5.nabble.com/Writing-a-filter-for-Access-Log-Sampler-tp4662732p4662948.html Sent from the JMeter - User mailing list archive at Nabble.com

Writing a filter for Access Log Sampler

2011-08-03 Thread Will Roden
I want to write a custom filter for Access Log Sampler, and I am having trouble finding how to do it. I see SessionFilter and LogFilter in the jmeter source code, so I can figure out how to code it, but I don't know where to put my new class. Can I just put it in a jar in the ext and ha

Re: access log sampler, state thereof

2011-02-25 Thread Deepak Shetty
: > >Ideally the access log sampler would work as follows: > >-recognize 'session id' to the access log > >-access log sampler groups requests from the same sessions into the same > >session. (it can't re-use the exact same session ID as the servlet > container &

Re: access log sampler, state thereof

2011-02-25 Thread Andrey Pohilko
all 5000 requests came from the same session, we would not see the > "session expiration overhead". > > Technically I've read that Jmeter basically tries to 'recreate sessions' by > lumping together requests from the same IP address, but have not confirmed

Re: access log sampler, state thereof

2011-02-24 Thread Deepak Shetty
>Ideally the access log sampler would work as follows: >-recognize 'session id' to the access log >-access log sampler groups requests from the same sessions into the same >session. (it can't re-use the exact same session ID as the servlet container >generates it

Re: access log sampler, state thereof

2011-02-24 Thread Will Milspec
quests came from the same session, we would not see the "session expiration overhead". Technically I've read that Jmeter basically tries to 'recreate sessions' by lumping together requests from the same IP address, but have not confirmed how the access log sampler simulates t

Re: access log sampler, state thereof

2011-02-24 Thread Andrey Pohilko
meter and have interest in using the access log sampler to > recreate "actual load" from a very busy system. > > Anyone on the list using it currently? Can you share your insights & > recommendations? > > We really would like it to replay 'posts' (i.e. as well

Re: access log sampler, state thereof

2011-02-23 Thread Deepak Shetty
k On Wed, Feb 23, 2011 at 2:34 PM, Will Milspec wrote: > hi all, > > I'm new to jmeter and have interest in using the access log sampler to > recreate "actual load" from a very busy system. > > Anyone on the list using it currently? Can you share your insights & >

access log sampler, state thereof

2011-02-23 Thread Will Milspec
hi all, I'm new to jmeter and have interest in using the access log sampler to recreate "actual load" from a very busy system. Anyone on the list using it currently? Can you share your insights & recommendations? We really would like it to replay 'posts' (i.e. as

Re: Need help on Access Log Sampler

2009-02-24 Thread sebb
Please don't send duplicate messages to the mailing list. Please also read the manual before posting questions. Your question is discussed in the manual. On 24/02/2009, Rekha_Arsi wrote: > > Hi all, > > Please tell me how can I use access log sampler in my test pla

Need help on Access Log Sampler

2009-02-24 Thread Rekha_Arsi
Hi all, Please tell me how can I use access log sampler in my test plan. what is the actual purpose of using access log sampler. Please give me one example of implementing access log sampler in jmeter. Thanks and Regards Rekha Arsi Mobile : 9866501404 DISCLAIMER: This email

Need help on Access Log Sampler

2009-02-23 Thread Rekha_Arsi
Hi all, Please tell me how can I use access log sampler in my test plan. what is the actual purpose of using access log sampler. Please give me one example of implementing access log sampler in jmeter. Thanks and Regards Rekha Arsi Mobile : 9866501404 DISCLAIMER: This email

Re: Access log sampler

2009-02-22 Thread sebb
On 18/02/2009, Suvendu_Mohapatra wrote: > Hi Team, > > I want to use the Access log sampler in my test plan to access the logs of > my server which is tomcat and is configured locally. when I am executing it I > am geting error such as: > Response code: Non HTTP response cod

Access log sampler

2009-02-18 Thread Suvendu_Mohapatra
Hi Team, I want to use the Access log sampler in my test plan to access the logs of my server which is tomcat and is configured locally. when I am executing it I am geting error such as: Response code: Non HTTP response code: java.lang.Error Response message: Non HTTP response message: Problem

access log sampler

2008-12-18 Thread Jmeter PRA
hi Gurus, I want to simulate traffic on my server based upon access logs.I tired this but Jmeter is using the URI is the access logs based upon the number of threads I give.Is there a way in jmeter to execute all the URIs in access logs Thanks, Siva

Re: Access Log Sampler

2008-05-15 Thread john wu
;[EMAIL PROTECTED]> > Subject: Re: Access Log Sampler > To: "JMeter Users List" > Date: Thursday, May 15, 2008, 7:20 AM > as long as it follows normal get format > > param=value¶m2=value > > > > On Thu, May 15, 2008 at 8:17 AM, sebb > <[EMAIL PROTECTED]&

Re: Access Log Sampler

2008-05-15 Thread Peter Lin
as long as it follows normal get format param=value¶m2=value On Thu, May 15, 2008 at 8:17 AM, sebb <[EMAIL PROTECTED]> wrote: > I've just had a look at the code, and it does handle POST requests, so > if the POSTs don't have bodies, the Access Log Sampler should wor

Re: Access Log Sampler

2008-05-15 Thread sebb
I've just had a look at the code, and it does handle POST requests, so if the POSTs don't have bodies, the Access Log Sampler should work OK. @Peter: what format do the request parameters have to be in for the sampler to pick them up? On 15/05/2008, Peter Lin <[EMAIL PROTECTED]&g

Re: Access Log Sampler

2008-05-15 Thread Peter Lin
> On 14/05/2008, john wu <[EMAIL PROTECTED]> wrote: >> Hi All, >> >> Does Access Log Sampler support POST request in the log file? > > No, because in general the access log does not contain all the > information needed to recreate the request - for example as far a

Re: Access Log Sampler

2008-05-15 Thread sebb
On 14/05/2008, john wu <[EMAIL PROTECTED]> wrote: > Hi All, > > Does Access Log Sampler support POST request in the log file? No, because in general the access log does not contain all the information needed to recreate the request - for example as far as I know the access log wil

Access Log Sampler

2008-05-14 Thread john wu
Hi All, Does Access Log Sampler support POST request in the log file? How to set it up? In my log file, I have many POST request and send different parameters for each post request, do I have to pass all these parameters in HTTP Request Default? Thanks

Re: Real traffic simulation and Access Log Sampler

2008-03-17 Thread sebb
On 17/03/2008, sebb <[EMAIL PROTECTED]> wrote: > On 12/03/2008, Oren Benjamin <[EMAIL PROTECTED]> wrote: > > I wrote: "Ignoring users for now, I'd like to divide all the requests among > > > > a fixed number of threads." > > > >

Re: Real traffic simulation and Access Log Sampler

2008-03-17 Thread sebb
On 12/03/2008, Oren Benjamin <[EMAIL PROTECTED]> wrote: > I wrote: "Ignoring users for now, I'd like to divide all the requests among > > a fixed number of threads." > > > You replied: "That's how the current Access Log sampler works; when the ne

Re: Real traffic simulation and Access Log Sampler

2008-03-12 Thread Oren Benjamin
I wrote: "Ignoring users for now, I'd like to divide all the requests among a fixed number of threads." You replied: "That's how the current Access Log sampler works; when the next sampler in a thread is executed it fetches the next line from the file. But as mentioned ab

Re: Real traffic simulation and Access Log Sampler

2008-03-03 Thread sebb
On 03/03/2008, Oren Benjamin <[EMAIL PROTECTED]> wrote: > Thanks for your response. Since, my first post, I've taken JMeter for a > spin and was pleasantly surprised by how simple it was to set up a test plan > with Access Log Sampler to play back all the requests in my lo

Re: Real traffic simulation and Access Log Sampler

2008-03-02 Thread Oren Benjamin
Thanks for your response. Since, my first post, I've taken JMeter for a spin and was pleasantly surprised by how simple it was to set up a test plan with Access Log Sampler to play back all the requests in my log. I'm now ready to try and overcome the two hurdles we've discus

Re: Real traffic simulation and Access Log Sampler

2008-03-01 Thread sebb
threads to simulate multiple > users making the requests asynchronously. > > I'm looking into the use of JMeter for our purposes. From what I see it > provides great reporting facilities, test abstractions, and a flexible > architecture. The Access Log Sampler seems

Real traffic simulation and Access Log Sampler

2008-02-28 Thread Oren Benjamin
JMeter for our purposes. From what I see it provides great reporting facilities, test abstractions, and a flexible architecture. The Access Log Sampler seems like the logical starting point, but from reading the documentation and other threads on the mailing list, it looks like we're going

Re: Access Log Sampler

2008-01-04 Thread Peter Lin
in that case, if you get a rough approximation of the traffic pattern, you should be able to run it multiple times and get comparable results. peter On Jan 4, 2008 11:13 AM, Christian Hufgard <[EMAIL PROTECTED]> wrote: > > exactly as possible will never be exactly what happened in production. >

Re: Access Log Sampler

2008-01-04 Thread Christian Hufgard
> exactly as possible will never be exactly what happened in production. the > best one can hope for is the same traffic loads and patterns. Yes, I had to add some patterns and I hoped, I could do this easier with this Sampler. >>from your comments so far, it sounds like you want to reproduce a s

Re: Access Log Sampler

2008-01-04 Thread Peter Lin
, that would work. But my task is to reproduce the load as exactly > as possible. I thaught, the access log sampler could do this. > > > Christian > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

Re: Access Log Sampler

2008-01-04 Thread Christian Hufgard
groups and have some thread groups > set to a longer interval. Well, that would work. But my task is to reproduce the load as exactly as possible. I thaught, the access log sampler could do this. Christian - To unsubscribe,

Re: Access Log Sampler

2008-01-04 Thread Peter Lin
you can use multiple thread groups and control each one with a timer, though the timing is probably going to vary depending on how fast the server responds. at best, jmeter will try to simulate peak load and lull load. a simple way would be to create 10 thread groups and have some thread groups s

Re: Access Log Sampler

2008-01-04 Thread Christian Hufgard
> when I wrote the sampler, it was to run a large number of requests. In my > case, I took a sample log of 50K and set jmeter to run for 1million > iterations Ah ok. My problem is some more weird. I have to simulate peaks with response-times up to 30 seconds. Then some minutes with one or two requ

Re: Access Log Sampler

2008-01-04 Thread Peter Lin
if you want a delay between requests, add a timer. when I wrote the sampler, it was to run a large number of requests. In my case, I took a sample log of 50K and set jmeter to run for 1million iterations I added a timer to produce the desired concurrent requests per second. peter On Jan 4, 2008

Re: Access Log Sampler

2008-01-04 Thread Christian Hufgard
> change the number of iterations to 1, if you just want it to read the first > line. I want the exact oposite. :) If I increase the number of iterations, does the sampler take respect of the delay between the single requests? And how does it handle concurrent requests? Christian -

Re: Access Log Sampler

2008-01-04 Thread Peter Lin
AIL PROTECTED]> wrote: > Hi everyone, > > I am the new guy on this list. :) > > I just tried to set up and use the access log sampler and cannot get it > working. I followed this tutorial: > > http://jakarta.apache.org/jmeter/usermanual/jmeter_accesslog_sampler_step_by_s

Access Log Sampler

2008-01-04 Thread Christian Hufgard
Hi everyone, I am the new guy on this list. :) I just tried to set up and use the access log sampler and cannot get it working. I followed this tutorial: http://jakarta.apache.org/jmeter/usermanual/jmeter_accesslog_sampler_step_by_step.pdf The behaviour I am expecting is, that the sampler

RE: POST requests with Access Log Sampler

2007-07-05 Thread Yuval Kantor
I'm using Access Log Sampler, and I don't think it can send POST requests (it also can't tell from the log what arguments to send), so using HTTP Request Defaults won't help. -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 04, 2007 4:59

Re: POST requests with Access Log Sampler

2007-07-04 Thread sebb
Have you tried Http Request Defaults? On 04/07/07, Yuval Kantor <[EMAIL PROTECTED]> wrote: Hello everybody, I would like to test a site using the Access Log Sampler. The problem is that about 5% of the HTTP requests are POST method. The Access Log Sampler can't send those req

POST requests with Access Log Sampler

2007-07-04 Thread Yuval Kantor
Hello everybody, I would like to test a site using the Access Log Sampler. The problem is that about 5% of the HTTP requests are POST method. The Access Log Sampler can't send those requests since the POST arguments are not saved in the access log. I thought of sending default stubs

Re: Access log sampler : IllegalArgumentException: URI can't be null

2006-03-30 Thread Mikael Andersson
ttp:// included in the name.. > Removed http:// and only kept the host name, that removed the previous > error :) Thanks! > > But now I have anothe question, how to I run through the entire log file? > My current project structure only seem to run one query, I thought the > Acces

Re: Access log sampler : IllegalArgumentException: URI can't be null

2006-03-30 Thread Mikael Andersson
only seem to run one query, I thought the Access log sampler would iterate over the entire log? On 30/03/06, Peter Lin <[EMAIL PROTECTED]> wrote: > > are you going to a proxy by any chance? the error shows it might be proxy > related. > > peter > > > On 3/30/06, Mika

Re: Access log sampler : IllegalArgumentException: URI can't be null

2006-03-30 Thread Peter Lin
are you going to a proxy by any chance? the error shows it might be proxy related. peter On 3/30/06, Mikael Andersson <[EMAIL PROTECTED]> wrote: > > Hi > > I am encountering a problem when using Access log sampler with apache log > files. I followed "Access log samp

Access log sampler : IllegalArgumentException: URI can't be null

2006-03-30 Thread Mikael Andersson
Hi I am encountering a problem when using Access log sampler with apache log files. I followed "Access log sampler Step-by-step" turorial ( http://jakarta.apache.org/jmeter/usermanual/jmeter_accesslog_sampler_step_by_step.pdf), but still can not get it to work. Test Structure:

AW: scheduled distributed testing and access log sampler

2005-08-24 Thread Christian Baumgartner
t the override functions delay and duration ;) so that was not my problem. have a nice day Christian -Ursprüngliche Nachricht- Von: Peter Lin [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 24. August 2005 18:58 An: JMeter Users List Betreff: Re: scheduled distributed testing and access log sa

Re: scheduled distributed testing and access log sampler

2005-08-24 Thread sebb
hi, > > > > today I had to play around with distribute tests and wanted to use an access > > log sampler for realistig usage simulation. > > well, may i am right, that i have to have the access logs on each server in > > the same directory where it is in the original t

Re: scheduled distributed testing and access log sampler

2005-08-24 Thread Peter Lin
time is correct. Also, make sure the time is synchronized across the machines. if they are out of sync, that may have a problem. hope that helps peter On 8/24/05, Christian Baumgartner <[EMAIL PROTECTED]> wrote: > hi, > > today I had to play around with distribute tests and wanted

scheduled distributed testing and access log sampler

2005-08-24 Thread Christian Baumgartner
hi, today I had to play around with distribute tests and wanted to use an access log sampler for realistig usage simulation. well, may i am right, that i have to have the access logs on each server in the same directory where it is in the original test plan? so i am not able to have linux