Visualisation from stored data in log files

2002-10-28 Thread BAZLEY, Sebastian
Is it possible use the JMeter visualisers to analyse response data from stored files? We would like to run a test using non-GUI mode, and then ship the output files to another system to be analysed. Or perhaps there are some offline tools that can be used to analyse the captured data? -- The

RE: Regex Function

2003-05-27 Thread BAZLEY, Sebastian
Tricky using regexes - not sure if it is possible. However. if all the values are known in advance, there are other approaches you could use: - StringFromFile function, reading from randomised input file(s) If the number of options is fixed for each access to the page: - random controller, with

RE: Custom Functions?

2003-06-17 Thread BAZLEY, Sebastian
Another possibility would be to sort the list into random order before putting it in a file, and then use _StringFromFile() or perhaps __CSVRead() to get the data. If the number of items in the list is small enough, you might be able to concatenate them into a single line in a CSV file, and then

RE: Logging out Users

2003-06-18 Thread BAZLEY, Sebastian
Have you tried: Test Plan Thread Group Once Only - Login Loop Controller - Process Once Only - Logout Should work. Or perhaps I've misunderstood what you are trying to do. -- The opinions expressed herein are my own, and are not necessarily endorsed by my employer ...

RE: Logging out Users

2003-06-18 Thread BAZLEY, Sebastian
] Subject: RE: Logging out Users Sorry. You're correct. I was hoping to run the tests forever and use the scheduler, though. Any ideas on how this could be accomplished? Thanks! --John -Original Message- From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 7

RE: how to configure the Counter

2003-06-19 Thread BAZLEY, Sebastian
Some possibilities as to why counter does not work: * the counter is not incrementing the variable. This could be because increment = 0 or end = start. * the variable is being incremented, but the test element that uses the variable is not picking up the changes. This can happen if the test

RE: Starting JMeter

2003-06-24 Thread BAZLEY, Sebastian
Which version of JMeter are you having problems with? JMeter 1.8 requires JVM 1.4+ JMeter 1.8.1 also 1.4+ (I think) JMeter 1.9 RC1/2 requires JVM 1.3+ -- The opinions expressed herein are my own, and are not necessarily endorsed by my employer ... -Original Message- From: Ramesh J.C

RE: __CSVRead always reads the same file.

2003-06-24 Thread BAZLEY, Sebastian
As far as I can make out from a recent look at the code, CSVRead only supports a single file. Each thread can maintain its own position in the file, but they all access the same file. By contrast, StringFromFile supports as many files as needed, but each reference in a test plan opens the file

RE: [Fwd: Re: [OT] Bandwidth Throttling]

2003-06-25 Thread BAZLEY, Sebastian
One way to do this to actually use a slower link - maybe you can run the test over a modem connection? But that starts to get a bit messy if you are simulating lots of users ...! It might be possible to hook into the sampler output and input code, and insert appropriate delays. I did this a year

RE: [OT] Bandwidth Throttling

2003-06-25 Thread BAZLEY, Sebastian
Might also be worth looking here: http://www.alphaworks.ibm.com/aw.nsf/reqs/ibmts S. -Original Message- From: ALVAREZ,GABRIEL (HP-Spain,ex2) [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 16:55 To: 'JMeter Users List' Subject: RE: [OT] Bandwidth Throttling Try to use NetLimiter

RE: native timer

2003-06-25 Thread BAZLEY, Sebastian
Sorry, replied to the wrong posting just now... -Original Message- From: BAZLEY, Sebastian Sent: 25 June 2003 17:25 To: 'JMeter Users List' Subject: RE: [OT] Bandwidth Throttling Might also be worth looking here: http://www.alphaworks.ibm.com/aw.nsf/reqs/ibmts S. -Original

RE: Maximum Throughput type test:

2003-07-01 Thread BAZLEY, Sebastian
In theory, you can do part of this with a suitable choice of maximum threads and thread ramp-up time. [The ramp-up time needs to be = maxThreads*timeToReachStableState] However, there is currently no way to stop the ramp-up or the test based on response times, so one would need to stop the test

RE: _StringFromFile Function

2003-07-01 Thread BAZLEY, Sebastian
What symptoms are you seeing? If you are seeing the function name, then either the function name has been spelt wrongly, or the number of parameters is incorrect. [This applies to all functions.] Note that StringFromFile only has one leading underscore... If you use the Function Helper, neither

RE: sometimes cannot find zip file (was __CSVRead always reads th esame file.)

2003-07-02 Thread BAZLEY, Sebastian
JVM? OS? Do you know which zip file it is? We saw something vaguely similar using Tomcat on VMS. But the error was permanent. I believe the actual error was in trying to create a temporary file somewhere within the Zip code. Might be an idea to try turning on some more debugging. You can now

RE: Regular expressions again

2003-07-08 Thread BAZLEY, Sebastian
JMeter currently uses Apache ORO (http://jakarta.apache.org/oro/index.html) to handle regular expressions. These are Perl5 compatible so a Perl book might help, otherwise Mastering Regular Expressions by O'Reilly is recommended in the JavaDoc for JDK 1.4 (Java regular expressions are based on

RE: Regular expressions again

2003-07-08 Thread BAZLEY, Sebastian
Just happened across the Sun Java regex tutorial: http://java.sun.com/docs/books/tutorial/extra/regex/index.html JMeter does not use Java.util.regex - but I imagine most of the material will be relevant. HTH. -Original Message- From: BAZLEY, Sebastian Sent: 08 July 2003 16:47

RE: number of counters

2003-07-14 Thread BAZLEY, Sebastian
As far as I know, yes. Just make sure you use different variable names for each counter. -- The opinions expressed herein are my own, and are not necessarily endorsed by my employer ... -Original Message- From: Zhanna Panich [mailto:[EMAIL PROTECTED] Sent: 12 July 2003 01:01 To: JMeter

RE: using the regular expression extractor to obtain a form value

2003-07-18 Thread BAZLEY, Sebastian
For testing scripts, you can also use the JavaTest JavaSampler to produce samples with any desired values in the sample fields. Might be useful for testing your regex. For checking variables, I do much the same as Mike suggested, except I change the JavaTest Label to something like: var1=${VAR1}

RE: Saved JMeter Test Plans not reloading

2003-08-14 Thread BAZLEY, Sebastian
The offending line of code appears to be: JMeterContextService.getContext().getVariables().put(c.getName(),c.getValue( )); Do all your cookies have values? Is it just the Cookie Manager - i.e. can you create a short test case? If so, please can you post it to Bugzilla? -- The opinions

RE: Thread groups run simultaneously, possible not to?

2003-08-14 Thread BAZLEY, Sebastian
If you look at the Test Plan screen, you should find a check-box entitled Run each Thread Group separately. {Upgrade if necessary to JMeter 1.9). If you enable the checkbox, this will run eace Thread Group in sequence, rather than all at once. Perhaps the check-box text could be clearer...

RE: Saved JMeter Test Plans not reloading

2003-08-15 Thread BAZLEY, Sebastian
I looked into this a bit further, and it appears that the problem also goes away if there are no cookies stored in the Cookie Manager. To get rid of the cookies, and keep the manager, remove the testelement and nested property nodes from the collection - see below for details of what to snip.

RE: Solution! (was: Memory / CPU usage)

2003-09-04 Thread BAZLEY, Sebastian
Might also be worth testing using batch mode (non-GUI)? Don't know how much this would save on resouces - let us know if this helps ... or if it does not work (there have been problems in the past with non-GUI mode initialisation). BTW, on some OSes, memory allocated by a process is not

RE: Antw: Re: charset parameter in content type of Soap/XML-RPC S ampler

2003-09-11 Thread BAZLEY, Sebastian
In case you want to know why using the classpath did not work: When java starts an application using the -jar flag the classpath is totally ignored. This means the CLASSPATH variable, and the -cp/-classpath flags. [Not all the Java books mention this behaviour, but you can find it in the Sun

RE: Loading new test plans without JMeter restart

2003-09-17 Thread BAZLEY, Sebastian
Have you tried: FileNew or ^N ? -Original Message- From: Lars-Erik Helander [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 09:02 To: [EMAIL PROTECTED] Subject: Loading new test plans without JMeter restart This is what I want to do: Having a test plan loaded into JMeter (in

RE: How to register Plug In

2003-09-19 Thread BAZLEY, Sebastian
Just put the jar in the lib/ext with the other JMeter jars (and restart JMeter) JMeter Knows to pick up all the jars in that directory. S -Original Message- From: Dimitri Nagiev [mailto:[EMAIL PROTECTED] Sent: 19 September 2003 11:57 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:

RE: Keeping track of machines used during remote tests

2003-09-22 Thread BAZLEY, Sebastian
Note that command line flags can also be used to change the behaviour of JMeter. I think these are already logged (but possibly not with the default logging level). The JMeter log file should also form part of the test results. If it does not do so already, it should be easy enough to log the

RE: ab vs jmeter

2003-09-25 Thread BAZLEY, Sebastian
IMO, it must be a _very_ small system to max out on 2-3 threads. What OS/RAM/JVM are you using? [We did find that JMeter client-server mode was quite slow, but that was largely because of network traffic over a WAN.] Might be worth trying batch (non-gui) mode - some JVMs don't have very

RE: CLASSPATH woes with Java Request Sampler

2003-09-29 Thread BAZLEY, Sebastian
For another possible solution, see bug 23366: http://issues.apache.org/bugzilla/show_bug.cgi?id=23366 Sebastian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 September 2003 14:35 To: JMeter Users List Subject: Re: CLASSPATH woes with Java Request Sampler

RE: Loading new test plans without JMeter restart

2003-09-30 Thread BAZLEY, Sebastian
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 September 2003 14:48 To: JMeter Users List Subject: Re: Loading new test plans without JMeter restart Yeah, we could call it Merge. -Mike On 23 Sep 2003 at 11:27, Mark Lassau wrote: BAZLEY, Sebastian wrote

RE: Using Response Assertion to evaluate HTML details

2003-10-01 Thread BAZLEY, Sebastian
JMeter uses Jakarta ORO (http://jakarta.apache.org/oro/index.html) to implement Perl5 patterns. Since Perl includes multi-line patterns using the m and s modifiers: quote from Perlre document m Treat string as multiple lines. That is, change ``^'' and ``$'' from matching the start or end of the

RE: Using Response Assertion to evaluate HTML details

2003-10-01 Thread BAZLEY, Sebastian
8 occurrences. -Mike On 1 Oct 2003 at 10:41, BAZLEY, Sebastian wrote: JMeter uses Jakarta ORO (http://jakarta.apache.org/oro/index.html) to implement Perl5 patterns. Since Perl includes multi-line patterns using the m and s modifiers: quote from Perlre document m Treat string

RE: Question about results

2003-10-01 Thread BAZLEY, Sebastian
[Redirected to JMeter User] If you run jmeter in non-GUI mode (-n flag) there will be fewer overheads. Also, the number and type of listeners (visualisers) can make a big difference to resource usage. View tree is expensive. Aggregate is cheaper. See Mike's posting a few days ago in JMeter

RE: Run Thread Group Seperatly

2003-10-01 Thread BAZLEY, Sebastian
Can't find the doc at present, but the difference is that one runs the groups concurrently and the other consecutively. S. -Original Message- From: Renee Dunn [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 16:55 To: JMeter Users List Subject: Run Thread Group Seperatly What exactly is

RE: Using Response Assertion to evaluate HTML details

2003-10-01 Thread BAZLEY, Sebastian
far, the patterns in the Response Assertion will only match on a one-line-at-a-time basis and are not used to match the response as a whole. Thanks very much. Dan Yuen --- BAZLEY, Sebastian [EMAIL PROTECTED] wrote: True, but won't it stop looking when it has found 8 matches? i.e

RE: Question about results - importing results

2003-10-02 Thread BAZLEY, Sebastian
Morisset [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 21:31 To: JMeter Users List Subject: Re: Question about results On Wed, Oct 01, 2003 at 05:13:01PM +0100, BAZLEY, Sebastian wrote: [Redirected to JMeter User] If you run jmeter in non-GUI mode (-n flag) there will be fewer overheads. I would

RE: Using Response Assertion to evaluate HTML details

2003-10-02 Thread BAZLEY, Sebastian
responses containing 8 (but not 9) foos independently of whether they occur in the same or separate lines. Good luck. -- Salut, Jordi. BAZLEY, Sebastian wrote: True, but won't it stop looking when it has found 8 matches? i.e. there could be more samples later in the buffer

RE: Scheduler

2003-10-06 Thread BAZLEY, Sebastian
I'm surprised it doesn't do this already, but I've just checked the code, and it sets running to false if the delay has expired. I guess the idea was to not run the thread group at all if the start time was missed, as that would mean it did not run for as long as intended. I, for one, agree that

RE: JMeter remote test performance problems?

2003-10-07 Thread BAZLEY, Sebastian
[I think functional mode should mean don't batch.] It would also be nice to be able to aggregate results in the server, and send them back on demand or every so oftem, but that would presumably mean bigger changes. We'd be happy with the all-or-nothing approach (and maybe others would be too) so

RE: JMeter open sockets

2003-10-08 Thread BAZLEY, Sebastian
Yes it is, unfortunately. The default HttpUrlConnection implementation provides no control over when sockets are re-used, and does not allow more than one request per connection. [Nor does it allow one to specify HTTP version, as far as I can tell.] You should find you get better behaviour by

RE: JMeter open sockets

2003-10-08 Thread BAZLEY, Sebastian
for that info, but it didnt work for us, i'm trying to track down the setKeepAlive method calls in the src now. but the netstat still shows the same number of open sockets all the way until the test ends. - Jose -Original Message- From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED] Sent

RE: Getting started -- classloading errors / confusion

2003-10-13 Thread BAZLEY, Sebastian
I noticed yesterday that the docs say JMeter uses log4j - but in fact it doesn't, it uses Avalon logkit as you've noticed ... [documentation bug!] You need to use: transient private static Logger log = LoggingManager.getLoggerForClass(); See one of the other samplers (e.g. FTP) for examples.

RE: Getting started -- classloading errors / confusion

2003-10-13 Thread BAZLEY, Sebastian
that JMeter must have some control over the classloader, and isn't behaving as expected. If there's a way to avoid this mechanism entirely, I'd like to do that. - Matt -Original Message- From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED] Sent: Mon 10/13/2003 11:31 AM To: 'JMeter Users

RE: problem with _StringFromFile

2003-10-14 Thread BAZLEY, Sebastian
**ERR** is returned whenever there is an error, but there should be further information in the log file. JMeter starts in the bin directory - is that where the file data.txt is? S. -Original Message- From: Veronica Baiceanu [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 18:25 To: [EMAIL

RE: SQL query test, HELP

2003-10-22 Thread BAZLEY, Sebastian
-Original Message- From: Tajinder Mudan [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 15:36 To: '[EMAIL PROTECTED]' Subject: SQL query test, HELP Hi, I need to connect to our applications database through jmeter basically to do some performance tests. I mentioned the

RE: SQL query test, HELP

2003-10-22 Thread BAZLEY, Sebastian
: java.lang.NullPointerException Looked at the JMeter-user archives and not found a solution. -Original Message- From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 15:47 To: 'JMeter Users List' Subject: RE: SQL query test, HELP -Original Message- From

RE: Regular Expressions in parameter names

2003-10-22 Thread BAZLEY, Sebastian
-Original Message- From: peter lin [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 18:59 To: JMeter Users List Subject: Re: Regular Expressions in parameter names therefore, it might be feasible to write a parser that generates the request parameters and passes them to the

RE: ZipException during batch invocation

2003-10-22 Thread BAZLEY, Sebastian
-Original Message- From: Lee Peterson [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 19:15 To: JMeter Users List Subject: RE: ZipException during batch invocation Thanks Jordi, ... Also, I still want to invoke JMeter in batch mode ... so I'd appreciate anyone's advice on

RE: ZipException during batch invocation

2003-10-23 Thread BAZLEY, Sebastian
-Original Message- -Original Message- From: Lee Peterson [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 19:15 To: JMeter Users List Subject: RE: ZipException during batch invocation ... Also, I still want to invoke JMeter in batch mode ... so I'd

RE: Scheduler problems - where to post

2003-10-23 Thread BAZLEY, Sebastian
Depend on what you mean by you, I guess! I imagine all the JMeter committers read both groups. [I do, and so does Mike] == In my view, discussions on enhancing JMeter would probably be best in jmeter-dev - a summary can always be copied to jmeter-user when the discussion has been resolved, or

RE: Using csv data as input

2003-10-31 Thread BAZLEY, Sebastian
JMeter also has functions and variables, which can be used to parameterise just about anything, including Samplers and Assertions. If your test cases consist of lots of similar samples and assertions, and the only variation is in the parameters to same, then you can create a generic test plan,

RE: Preserving 'logins' accross jmeter sessions

2003-11-03 Thread BAZLEY, Sebastian
IMO, JMeter is not really designed for such usage ... Can you not use Response Assertions to do the checking instead of using the shell? Could you not build up a JMX file to contain all the tests? It is possible to use functions and variables to parameterise tests (see my posting in the thread

RE: Preserving 'logins' accross jmeter sessions

2003-11-03 Thread BAZLEY, Sebastian
that are running serially. Since this isn't the first time it's been asked for, it seems worthwhile to do. -Mike On 3 Nov 2003 at 12:46, BAZLEY, Sebastian wrote: IMO, JMeter is not really designed for such usage ... Can you not use Response Assertions to do the checking instead of using

RE: Preserving 'logins' accross jmeter sessions

2003-11-04 Thread BAZLEY, Sebastian
from the logs and find out if it actually restarted tomcat. What the httpd returns would be a response of 200 OK which would not validate the test. I will try the jmeter server approach and let you know the results. Thanks Karthik BAZLEY, Sebastian wrote: Likewise, I'm sure it could be done

RE: Test Management?

2003-11-06 Thread BAZLEY, Sebastian
It's not possible to set Checkboxes to a variable using the GUI. (obviously!) But it might be worth editting a simple JMX script to see what happens if you replace false with ${FOLLOW} or ${__P{follow.redirect,false)} for example This might work - try it and see! - but the edit might not be

JMeter mentioned in article on IBM developerworks

2003-11-07 Thread BAZLEY, Sebastian
Just came across the following article: Eye on performance: A load of stress Stress testing and the factors that go into choosing the right tool for your project This mentions JMeter, and even as a screen-shot showing it in use: Figure 1 illustrates Apache JMeter, one of the free load

RE: Preserving 'logins' accross jmeter sessions

2003-11-07 Thread BAZLEY, Sebastian
PROTECTED] Sent: 06 November 2003 22:08 To: JMeter Users List Subject: Re: Preserving 'logins' accross jmeter sessions Or write a CommandSampler using Runtime.exec to run an arbitrary command -- failing if Process.exitValue is non-zero. -- Salut, Jordi. BAZLEY, Sebastian wrote: OK, I see

RE: Initial problems when using jmeter

2003-11-24 Thread BAZLEY, Sebastian
Functional test mode and debug logging will also slow things down. If you do want to download images etc, you can always add them as separate samples. S. -Original Message- From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 16:43 To: JMeter Users List Subject:

RE: Subject: Re: JMeter remote test performance problems?

2003-11-26 Thread BAZLEY, Sebastian
If you want to combine the information from the log files, it helps if the various system clocks agree. == See: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03031.html and http://www.geocities.com/jmeter_analyze/ for a utility to massage JMeter CSV files for use with Excel. I've not tried

RE: How to get logging to go to stdout?

2003-12-02 Thread BAZLEY, Sebastian
with an empty name). Thanks, Jordi. En/na BAZLEY, Sebastian ha escrit: Try: DOS: log_file=CON Unix log_file=/dev/tty S. -Original Message- From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] Sent: 02 December 2003 14:52 To: JMeter Users List Subject: How to get

RE: Antwort: Jmeter :: Save test plan :: Open test Plan ['Watchdo g': checked]

2003-12-03 Thread BAZLEY, Sebastian
I've suddenly remembered - we had this error, or something very much like it. If you can, I suggest trying one of the recent nightly builds using JVM 1.4 - but be warned that nightly builds are not stable. There are links to the builds on the JMeter web-site. You need to download and unzip the

RE: Antwort: Jmeter :: Save test plan :: Open test Plan ['Watchdo g': checked] ['Watchdog': checked]

2003-12-03 Thread BAZLEY, Sebastian
It may be possible to solve your problems on JDK 1.2 and Jmeter 1.8.1, but they are both old releases. The JMeter nightly builds will not run properly on anything less than 1.4. I would suggest you start by installing the latest release of Java (I use 1.4.2_02). As to JMeter, try using the 1.9.1

RE: Antwort: Jmeter :: Save test plan :: Open test Plan

2003-12-03 Thread BAZLEY, Sebastian
(JMeter.java:242) at org.apache.jmeter.JMeter.start(JMeter.java:307) at java.lang.reflect.Method.invoke(Native Method) at org.apache.jmeter.NewDriver.main(NewDriver.java:180) Is it bcoz of JDK 1.2.2 ? What you say??? -kannan BAZLEY, Sebastian

RE: http proxy

2003-12-04 Thread BAZLEY, Sebastian
-Original Message- From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] Sent: 04 December 2003 09:51 To: JMeter Users List Subject: Re: http proxy We're not aware of any problem causing requests not being recorded, or the filters to fail. Can you please post steps to

RE: JMeter::Session Maintanence ['Watchdog': checked]

2003-12-04 Thread BAZLEY, Sebastian
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 December 2003 12:25 To: JMeter Users List Subject: Re: JMeter::Session Maintanence ['Watchdog': checked] Hi Jordi, Yes u r correct. For first request no session id will be there, for second

RE: JMeter :: Render HTML ['Watchdog': checked]

2003-12-05 Thread BAZLEY, Sebastian
See bug 23315 http://issues.apache.org/bugzilla/show_bug.cgi?id=23315 Fixed in CVS. S. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 10:08 To: JMeter Users List Subject: JMeter :: Render HTML ['Watchdog': checked] Dear

RE: Remote-Testing Problems

2003-12-05 Thread BAZLEY, Sebastian
-Original Message- From: Steffen Fiedler [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 14:13 To: JMeter Users List Subject: Re: Remote-Testing Problems BAZLEY, Sebastian wrote: -Original Message- From: Steffen Fiedler [mailto:[EMAIL PROTECTED] Sent: 05 December 2003

RE: Extending Jmeter !

2003-12-08 Thread BAZLEY, Sebastian
-Original Message- From: zze-Clic To Contact JEAN K ext FTRD/DMI/SOP [mailto:[EMAIL PROTECTED] Sent: 08 December 2003 14:59 To: JMeter Users List Subject: Extending Jmeter ! Hi, In my application, I have to save the xml returned by the HTTP server in a text file. For that,

RE: testing multiple text expressions

2003-12-09 Thread BAZLEY, Sebastian
-Original Message- From: Becky Moore [mailto:[EMAIL PROTECTED] Sent: 09 December 2003 16:35 To: 'JMeter Users List' Subject: testing multiple text expressions I am trying to test multiple text expressions on the same page. I have attempted to force each word to return an error

RE: Hassles generating text assertions

2003-12-10 Thread BAZLEY, Sebastian
In your example, the only meta characters that need escaping are the square brackets, which are used to introduce character classes. Quotes are not special. == It might be useful to be able to specify that a string is to be treated literally, not as a regular expression This might save a bit of

RE: Hassles generating text assertions

2003-12-10 Thread BAZLEY, Sebastian
Forgot to add - an easy way to test Assertions (and indeed other aspects of test scripts) is to use the Java Sampler. You can put whatever you like in the the various fields, so you can easily simulate errors etc. S. -Original Message- From: BAZLEY, Sebastian Sent: 10 December 2003 15

RE: problem with second log in

2003-12-12 Thread BAZLEY, Sebastian
There's not enough information to suggest a cause, but here are some suggestions as to how you can find out what is going on: Use the tree listener to check what is being sent and received. Turn on web-server logging. Switch on debug for the HTTP protocol (-Ljmeter.protocol.http=DEBUG) What

RE: using response assertion to detect certain type of text

2003-12-12 Thread BAZLEY, Sebastian
The response assertion documentation says that you can use regular expressions. The JMeter FAQ has some pointers to documentation thereon. S. -Original Message- From: Becky Moore [mailto:[EMAIL PROTECTED] Sent: 12 December 2003 14:36 To: 'JMeter Users List' Subject: using response

RE: problem with second log in

2003-12-12 Thread BAZLEY, Sebastian
-Original Message- From: Becky Moore [mailto:[EMAIL PROTECTED] Sent: 12 December 2003 14:33 To: 'JMeter Users List' Subject: RE: problem with second log in I am using version 1.9.1. Might be worth trying a recent nightly - see below. I have a tree listener at key points in

RE: attempting to correct http response 500

2003-12-16 Thread BAZLEY, Sebastian
Does the error correspond with anything in the server logs? What is the *exact* message text that corresponds with the error code ? This should be available from JMeter. S. -Original Message- From: Becky Moore [mailto:[EMAIL PROTECTED] Sent: 16 December 2003 15:33 To: 'JMeter Users

RE: Regular Expressions - Doubts

2003-12-18 Thread BAZLEY, Sebastian
-Original Message- From: Sonam Chauhan [mailto:[EMAIL PROTECTED] Sent: 18 December 2003 04:35 To: 'JMeter Users List' Subject: RE: Regular Expressions - Doubts Eda: Please suggest me a good book for Regular expressions. If you have access to a Unix/Linux machine with

RE: Servlet Testing?

2003-12-18 Thread BAZLEY, Sebastian
-Original Message- From: Trevor Johnson [mailto:[EMAIL PROTECTED] Sent: 18 December 2003 13:31 To: JMeter Users List Subject: Re: Servlet Testing? Hi Lee, Partial success at last! I can record some internal sites now. I had to modify my browser's Internet Connection LAN

RE: Practices for JMeter command line testing

2003-12-19 Thread BAZLEY, Sebastian
-Original Message- From: BAZLEY, Sebastian Sent: 19 December 2003 00:50 - Original Message - From: Sonam Chauhan [EMAIL PROTECTED] Sent: Thursday, December 18, 2003 4:32 AM [...] E.g.: Here is a single error line in test.log: What do 1071715008642 and Thread Group

RE: jorphan.io.TextFile always uses default encoding, ResultColle ctor always uses UTF-*

2004-01-05 Thread BAZLEY, Sebastian
As an aside - did you try using the Post-Processor Save Responses to a FIle ? I'd be interested to know if this preserved the response data correctly - or not. Just curious. S. -Original Message- From: Vincent Partington [mailto:[EMAIL PROTECTED] Sent: 05 January 2004 15:43 To: JMeter

RE: user parameter modifier

2004-01-05 Thread BAZLEY, Sebastian
There's some info in the JMeter FAQ that might help you. -Original Message- From: Becky Moore [mailto:[EMAIL PROTECTED] Sent: 05 January 2004 17:23 To: 'JMeter Users List' Subject: user parameter modifier I am using the User Parameter Modifier to handle logging in different users and

RE: Use of conditional IF in the JMeter Scripting

2004-01-05 Thread BAZLEY, Sebastian
20030909 is rather old. Try a more recent nightly - there are links on the JMeter home page. Other links to nighlies may be out of date (if so. please let us know). Note: JMeter nightlies currently require Java 1.4 [Some 1.4 dependencies crept into the recent code, bur we may well revert to

RE: How to change context root in generic manner?

2004-01-06 Thread BAZLEY, Sebastian
Don't think it can be done at present using JMeter alone, but you should be able to do half of it, and then use an editor to fix the rest. IIRC, path prefix extraction has been wished for. == Record the tests for a single host, using the appropriate defaults for host name and port. This should

RE: Suggestions for flexible random parameter generation please

2004-01-07 Thread BAZLEY, Sebastian
One way to do this is to set up a file containing a random permutation of the allowed values, and then use the _StringFromFile() function to read them into the test plan at the appropriate point. You can generate multiple files with different sequences. We use this technique for testing random

RE: How to change context root in generic manner?

2004-01-07 Thread BAZLEY, Sebastian
-Original Message- From: Andrew Chapman [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 16:58 To: [EMAIL PROTECTED] Subject: RE: How to change context root in generic manner? Mike, I found this tricky to do but here's some notes I made yesterday... Feel free to update the

RE: How to change context root in generic manner?

2004-01-08 Thread BAZLEY, Sebastian
PROTECTED] Subject: RE: How to change context root in generic manner? Is there a way to do this from within the gui? We have some unsavy users. -Original Message- From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 10:24 AM To: 'JMeter Users List' Subject: RE: How

RE: defining a varibale in a variable?

2004-01-12 Thread BAZLEY, Sebastian
Might be worth trying with an intermediate variable: TEMP = userpassword_${countNumber} PASSWORD = ${TEMP} Not tested. Let us know if it does...! If this does not work, then you could always use StringFromFile or CSVRead to set up the two variables. S. -Original Message- From:

RE: Experience using __counter

2004-01-13 Thread BAZLEY, Sebastian
Try unchecking the Once per iteration box. S. -Original Message- From: Sonam Chauhan [mailto:[EMAIL PROTECTED] Sent: 13 January 2004 03:00 To: 'JMeter Users List' Subject: RE: Experience using __counter Try the Pre-Processor User Parameters instead - there is no need to use more than

RE: How to load the last test file(jmx) automatically when jmeter restarts

2004-01-13 Thread BAZLEY, Sebastian
Good idea. [The current working directory must be set to the JMeter bin directory for this to work] == JMeter supports loading a specific JMS file (using the -t command-line flag - see the example below), so one way to achieve rhis is to always use the same name for your current JMX file, and

Example Sampler committed to CVS

2004-01-15 Thread BAZLEY, Sebastian
An Example Sampler has just been committed to CVS. See: http://cvs.apache.org/viewcvs.cgi/jakarta-jmeter/src/core/org/apache/jmeter/ samplers/ ExampleSampler.java and http://cvs.apache.org/viewcvs.cgi/jakarta-jmeter/src/core/org/apache/jmeter/ samplers/gui/ ExampleSamplerGui.java It is

RE: JMeter not saving test!

2004-01-16 Thread BAZLEY, Sebastian
Glad the increase memory has fixed the problem. Just a thought - is there no way to reduce the size of your test plan, for example by extracting any variable information into external files and combining some samplers? 6.5MB seems huge, and it will impact JMeter at runtime as well as design time.

RE: Regular Expression Extractor?

2004-01-27 Thread BAZLEY, Sebastian
It would be safer to use: def name=(.*?) / i.e. make the expression non-greedy. S. -Original Message- From: prabhu varma [mailto:[EMAIL PROTECTED] Sent: 27 January 2004 05:22 To: JMeter Users List Subject: Re: Regular Expression Extractor? Hi Ryo, If You want to match the string

RE: Trying to work with Java Request, parameter add/delete doesn' t stick

2004-01-28 Thread BAZLEY, Sebastian
There does seem to be a bug - in 1.9.1 it looks like the Java defaults over-ride all the sampler values, at least for the JavaTest Sampler. The existing example samplers ignore any *extra* parameters - not sure what they would do with them anyway. Perhaps the Add/Delete buttons should be

RE: Adding Notes?

2004-02-02 Thread BAZLEY, Sebastian
The TestPlan has a comments section, but so far that is the only screen to allow this. Suggest you file this as a Bugzilla enhancement request. S. -Original Message- From: Craig Palmer [mailto:[EMAIL PROTECTED] Sent: 01 February 2004 23:16 To: JMeter Users List Subject: Adding Notes?

RE: Linux init scripts

2004-02-05 Thread BAZLEY, Sebastian
Check the bin directory. jmeter-server.bat does this for Windows. I assume jmeter-server does the same for Unix, but I've not tried. S. -Original Message- From: Pep Serrano [mailto:[EMAIL PROTECTED] Sent: 05 February 2004 10:30 To: [EMAIL PROTECTED] Subject: Linux init scripts Perhaps

RE: testing with multipe usernames

2004-02-05 Thread BAZLEY, Sebastian
Sorry, that was misleading: Although the filename is important, it can indeed be omitted - so long as there is only the one file name used. So for example you can set up User Parameters as follows: Name User_1 A ${__CSVRead(data.csv,0)} B ${__CSVRead(,1)} C

RE: Changing controller type

2004-02-06 Thread BAZLEY, Sebastian
In that case, I think you could have selected the simple controller, and inserted a loop controller as its parent. But that would leave the Simple Controller in place - and deleting it would have deleted all its children... May I suggest someone fill in a Bugzilla enhancement request? S.

RE: Remote question

2004-02-09 Thread BAZLEY, Sebastian
AIUI, the full test plan is sent to each of the remote systems - it is not divided up. In your example, each system will run the full 200 threads. S. -Original Message- From: Shawn Elliott [mailto:[EMAIL PROTECTED] Sent: 09 February 2004 15:21 To: 'JMeter Users List' Subject: Remote

RE: JMeter from time to time doesn't calculate regular expression s for some threads

2004-02-09 Thread BAZLEY, Sebastian
-Original Message- From: Vladimir Tsygankov [mailto:[EMAIL PROTECTED] Sent: 09 February 2004 18:02 To: 'JMeter Users List' Subject: RE: JMeter from time to time doesn't calculate regular expressions for some threads Hello, colleagues, I'm returning to the problem of Regular expression

Nightly JMeter build problems

2004-02-10 Thread BAZLEY, Sebastian
-Original Message- From: Vladimir Tsygankov [mailto:[EMAIL PROTECTED] Sent: 09 February 2004 19:36 To: 'JMeter Users List' Subject: RE: JMeter from time to time doesn't calculate regular expression s for some threads -Original Message- From: BAZLEY, Sebastian [mailto:[EMAIL

RE: newbie? Response Assertions not finding Flash elements and d ata-driven text

2004-02-11 Thread BAZLEY, Sebastian
-Original Message- From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] Sent: 10 February 2004 22:54 To: JMeter Users List Subject: Re: newbie? Response Assertions not finding Flash elements and data-driven text I don't think Response Assertions are capable of working INSIDE flash

RE: Distributed test for over 2000 Users

2004-02-13 Thread BAZLEY, Sebastian
-Original Message- From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] Sent: 13 February 2004 15:16 To: JMeter Users List Subject: Re: Distributed test for over 2000 Users Prakash M V wrote: Hi, Can any one help my problem I have to test for over 2000+ Users simulation in Jmeter

  1   2   3   >