GZip good, deflate bad?

2007-07-08 Thread Bennett McElwee
It looks as if JMeter supports gzip encoding, but not deflate. Before I try to hack the source to support deflate, has anybody else done this? Is it as simple as copying the gzip code but using InflaterInputStream instead of GZIPInputStream? Cheerio, Bennett. -- Bennett McElwee E [EMAIL

Load some, but not all, embedded resources?

2007-06-27 Thread Bennett McElwee
ed resources on each page change continually, so this doesn't really help. Can it be done? Thanks, Bennett. -- Bennett McElwee This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, de

RE: BeanShell global synchronisation & variables

2006-10-26 Thread Bennett McElwee
the file. FileServer shares its file pointers between threads, which is not what I wanted. Cheerio, Bennett. -- Bennett McElwee -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 October 2006 11:36 am To: JMeter Users List Subject: Re: BeanShell global synchronisa

BeanShell global synchronisation & variables

2006-10-25 Thread Bennett McElwee
ise on the FileServer itself but that's overkill. The problem is that there's no way in BeanShell to create an appropriately global, cross-thread object to synchronise on. 2. Are JMeter variables shared across threads? I would appreciate your thoughts. Thanks Bennett. -- Bennett McElwee

RE: How to randomly choose data from a set?

2006-10-16 Thread Bennett McElwee
nstead I have to preprocess the file and split it into many smaller files before running the test. Thanks for your suggestions everyone. Cheerio, Bennett. -- Bennett McElwee From: Aycock, Glenn W. (JSC-IS)[TES] [mailto:[EMAIL PROTECTED] Sent: Tue 17/10/20

How to randomly choose data from a set?

2006-10-15 Thread Bennett McElwee
mething similar. Thanks in advance, Bennett. -- Bennett McElwee MOS Contractor Mobile 021 456 200 This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use a

RE: Bug: Post-processors run in reverse order?!

2006-10-05 Thread Bennett McElwee
hread. I just wanted to be sure that this behaviour is consistent so I can rely on simply reversing my postprocessors. It seems that this is the case. As always, thanks very much for your help, Sebb! Cheerio, Bennett On 06/10/06, Bennett McElwee <[EMAIL PROTECTED]> wrote: > Post-pro

Bug: Post-processors run in reverse order?!

2006-10-05 Thread Bennett McElwee
a known problem at all? Thanks, Bennett. -- Bennett McElwee This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose a

RE: & in dynamic links

2006-06-19 Thread Bennett McElwee
do. Maybe the most flexible solution to the original problem would be to add a built-in decode function that users could call if they know they'll need it in a RegEx extractor etc. Cheerio, Bennett. -- Bennett McElwee -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tu

RE: & in dynamic links

2006-06-19 Thread Bennett McElwee
of approval: This Page Is Valid HTML 4.01 Transitional! Many web browsers will silently "fix" unencoded ampersands, and because of this, probably a few web applications and web sites do contain unencoded ampersands. So a good tool should probably assume encoding, but be able to handle t

RE: & in dynamic links

2006-06-18 Thread Bennett McElwee
ly, of course, plenty of web apps generate invalid HTML. Maybe JMeter needs to cater for these. But it should deal with the valid cases by default. Cheerio, Bennett. -- Bennett McElwee MOS Contractor Mobile 021 456 200 -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Frid

RE: Single thread making concurrent requests?!

2006-06-13 Thread Bennett McElwee
lier that they actually did, this would create the appearance of overlapping samples. I'm pretty sure that's what happened here. As sebb suspected, the problem was with the sample durations, not the sample end times. So we will have a nice feeling of closure on this problem once Bug 3

Embedded resources in WML pages

2006-05-30 Thread Bennett McElwee
n a JDK and try to make it happen. If I can find time I will try to submit a patch, but don't hold your breath... Thanks, Bennett. -- Bennett McElwee This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contac

RE: Single thread making concurrent requests?!

2006-05-10 Thread Bennett McElwee
> Are you using "follow redirects" or "download embedded resources" ? I am using "download embedded resources", and most pages have a single embedded image. -- Bennett McElwee -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: Single thread making concurrent requests?!

2006-05-08 Thread Bennett McElwee
req 1 end, which should be impossible. Thanks for looking into it. Cheerio, Bennett. -- Bennett McElwee MOS Contractor Mobile 021 456 200 -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, 9 May 2006 11:57 am To: JMeter Users List Subject: Re: Single thread making c

Single thread making concurrent requests?!

2006-05-07 Thread Bennett McElwee
My results file seems to show a single thread making two simultaneous requests. This seems to indicate that JMeter is generating bad results. I wonder if anybody else has seen this? The following lines appeared in my CSV file for a test. (There were 50 threads total; I have omitted intervening lin

RE: initialize Variables

2006-03-07 Thread Bennett McElwee
x27;ve found this API doc very helpful when using BeanShell in JMeter, and it's quicker than reading the code. :) Cheerio, Bennett. -- Bennett McElwee -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Wednesday, 8 March 2006 7:59 am To: JMeter Users List Subject: Re: initia

RE: Sampler at beginning and the end of test plan

2006-02-26 Thread Bennett McElwee
omated testing anyway. Cheerio, Bennett. On 23/02/06, Bennett McElwee <[EMAIL PROTECTED]> wrote: > Is it possible to have a sampler that runs once at the beginning of the > test plan? > > The Once Only Controller won't do it reliably -- that's not what it's > for

Sampler at beginning and the end of test plan

2006-02-23 Thread Bennett McElwee
and then rename the new one after all samplers (and their listeners) have finished. I want to do this with a BeanShell Sampler. Is it possible? Somehow I just can't figure out a way to do it. Thanks, Bennett. -- Bennett McElwee This communication, including any attachments, is confiden

Tip: Calling BeanShell code at arbitrary points

2006-02-22 Thread Bennett McElwee
nd a BeanShell Post-Processor. These would be extremely useful. In fact, if we could get a BeanShell Timer and especially a BeanShell Listener too, JMeter would make a giant leap in usefulness and flexibility. Cheerio, Bennett. -- Bennett McElwee This communication, including any attachments, is co

RE: Add extra data to test output

2006-02-22 Thread Bennett McElwee
ssing in Microsoft Excel.) Bennett wrote: > If not, I think this could be done by writing an enhanced version of the > Simple Data Writer Listener. Actually this is much trickier than I thought... especially if you want to make it work for XML output as well as CSV. Bennett. -- Bennett Mc

Variables in a listener's Filename field?

2006-02-20 Thread Bennett McElwee
t ends up being written not to C:\output\outfile.csv, but to a file called ${outputpath}outfile.csv inside Jmeter's bin directory. Does this mean that "A user-defined function can be written into any field of any test component" (from the user manual) does not apply to Filename fie

RE: Retrieve all embedded resources does nothing

2006-02-14 Thread Bennett McElwee
I have solved the problem -- it was my web server, not JMeter. The web server was not sending the "Content-Type: text/html" header with the file. Of course, JMeter doesn't try to parse the file unless the server tells it that it really is HTML! Thanks for your suggestions. --

RE: Retrieve all embedded resources does nothing

2006-02-14 Thread Bennett McElwee
3 INFO - jmeter.engine.StandardJMeterEngine: Test has ended Cheerio, Bennett. -- Bennett McElwee This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communicat

Retrieve all embedded resources does nothing

2006-02-14 Thread Bennett McElwee
I cannot get the "Retrieve all embedded resources from HTML files" option to work at all in JMeter 2.1.1. It fails so comprehensively that I feel sure I must be doing something wrong. Can you help? The test plan is trivial: Test Plan - Thread Group (1 thread, loop once) - HTTP request (server a

Add extra data to test output

2006-02-14 Thread Bennett McElwee
Is it possible to write arbitrary data to the results file? For each line of CSV data written, I would like to include extra fields of my own devising. Essentially I want to be able to write the values of arbitrary variables to the file. The reason I want to do this is so I can include things such