Re: Communication between thread groups...

2005-04-27 Thread sebb
I also think it's likely to be sparingly used. It's just that I'm not sure that it's obvious which components would need to be able to write the global data. This is why I think a naming convention would be the most convenient - simple to implement, and applicable to all test elements without fur

Re: Communication between thread groups...

2005-04-27 Thread Michael Stover
I'm thinking wanting data to be global is a rare thing - after all, we're simulating independent users most of the time, right? I would think wanting to write data to global is a highly specific thing that only a smallish number of components would do. If I'm wrong, maybe a naming convention or

Re: Communication between thread groups...

2005-04-27 Thread sebb
Mostly agreed. But how would components know whether or not to store data globally? One way would be a naming convention (*). Otherwise, it seems to me that every component that might want to write global data would need to be extended to allow its "global" flag to be set. (*) This could be impl

Re: Communication between thread groups...

2005-04-27 Thread Michael Stover
It'll have to be synchronized no matter what. Probably don't want to extend JMeterVariables for that reason. I would say, make writing to it a custom thing - ie, if a component wants data put to global level, it can write it there, or instruct JMeter context to copy it there. For reading, I"d sa

Re: Communication between thread groups...

2005-04-27 Thread sebb
OK. Do all variables get written to this? Might be expensive (access will have to be synchronized). If not, how are the variables chosen? Naming convention perhaps? Otherwise a new syntax might be needed. S. On 4/27/05, Michael Stover <[EMAIL PROTECTED]> wrote: > So why don't we just slap anothe

Accessing a .exe file with HTTP Request

2005-04-27 Thread Marcelo de Andrade
Hi! Can I access an executable file located in a WEB page with JMeter? I'm tryng to use a HTTP Request: Server Name or IP: 111.111.111.1 Port Number: 8080 Path: /cliente/file.exe The file is in a Tomcat application. In the Vi

RE: JMeter requirements?

2005-04-27 Thread Elli Swift
Just plain HTTPS, no custom certificates. -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 9:07 AM To: JMeter Users List Subject: Re: JMeter requirements? I'm guessing it's an environment problem. the test plan works on 2 systems, but a third

Re: JMeter requirements?

2005-04-27 Thread Michael Stover
Well, "copying java JDK code" sounds weird. I hope you didn't mean that literally. Beyond that, moving to another machine with the exact same JMeter version, JMeter test script and supporting files, and same JDK, same OS, problems that result could be caused by: 1) networking - the new machine h

Re: JMeter requirements?

2005-04-27 Thread Peter Lin
I'm guessing it's an environment problem. the test plan works on 2 systems, but a third system has problems. are you using plain valina HTTPS without custom certificates or other stuff? peter On 4/27/05, Elli Swift <[EMAIL PROTECTED]> wrote: > I have a JMeter script that connects to our applic

JMeter requirements?

2005-04-27 Thread Elli Swift
I have a JMeter script that connects to our application (HTTPS) and seems to work just fine on my desktop computer. JMeter has been installed on one of our more powerful servers and the script runs just fine on there too. However, I needed to move it to a different server to test as well. I copie

Re: Communication between thread groups...

2005-04-27 Thread Michael Stover
So why don't we just slap another JMeterVariables object in the JMeterContextService class that can act as a holder for global variables? Each context has a getVariables method that retrieves the variable holder for each thread, let's make a global one too. -Mike On Wed, 2005-04-27 at 14:18 +0

Connection to a DB2 DataBase in JMeter

2005-04-27 Thread Marcelo de Andrade
Hi! I need to connect to a DB2 Database located in a server and test if a SQL is ok. I'm using JMeter in order to do that a lot of times. But I'm getting problens doing that. The biggest problem with JMeter is that it doesn't show me the error , or at least I don't know how to see it. This is wha

Re: Communication between thread groups...

2005-04-27 Thread sebb
Variables are local to a thread. Properties are global to JMeter; they can easily be read using the various property functions. However, at present the only way to set them is to use BeanShell, but it would not be difficult to enhance JMeter to add a function or some other test element to set a p

Re: Regression Testing w/ JMeter

2005-04-27 Thread Michael Stover
ha, I can never keep them straight without looking them up every time. I need a quick reference for life. On Wed, 2005-04-27 at 14:13 +0100, sebb wrote: > \s* would be better ;-) > > I think it will be much easier to replace the variable bits with > something fixed (e.g. nothing) before trying an

Re: Regression Testing w/ JMeter

2005-04-27 Thread sebb
\s* would be better ;-) I think it will be much easier to replace the variable bits with something fixed (e.g. nothing) before trying any comparisons. This should all be possible using the BeanShell Assertion - at least for proof of concept. S. On 4/27/05, Michael Stover <[EMAIL PROTECTED]> wrot

Re: Test Log [JTL]

2005-04-27 Thread sebb
It could be a problem with that particular Sampler. Do you get the correct labels in the JTL file for other Samplers? What version of JMeter are you using? S. On 4/27/05, Manjunath N.S. <[EMAIL PROTECTED]> wrote: > Hi Sebb, > > In my Test case I am using Webservice Sampler. In the JMeter Swing U

RE: Regression Testing w/ JMeter

2005-04-27 Thread Michael Stover
Maybe you'll have to take drastic steps like replacing all white space characters with \S* constructs, since whitespace could be tabs, spaces, linefeeds, carriage returns... The only way I ever have success with big regexes is to build them up from tiny to large, whereas you are trying to start ou

Communication between thread groups...

2005-04-27 Thread vincent . lortie
Hello, I recall a similar issue (relating to thread synchronisation) that was discussed recently but I can't for the life of me find the e-mails, so please forgive me if this is rehashing something that's already been addressed. Here is what I am trying to accomplish in JMeter: I want to have

Re: JMeter variable has some limitation.

2005-04-27 Thread sebb
Try the Regex Extractor with: RE: Template: $1$$2$ Index: -1 This will extract both parts as a single variable. You can also use refName_n_gm where n=1,2,3 (match number) m=0,1,2 = group number. 0 = whole text matched by RE Seems to me this does what you want. e.g refName_2_g2=item3 in t

Re: Test Log [JTL]

2005-04-27 Thread sebb
The sampler name normally appears in the label attribute - works for me with the HTTP and JavaTest samplers. Though with JavaTest, one has to provide the Label (I suppose it could default to the Name, but it doesn't). What version of JMeter are you running? JVM? OS? What sampler are you using? S

Test Log [JTL]

2005-04-27 Thread Manjunath N.S.
Hi, Is there any way to get "Sample Name" information into Test Log(.jtl) generated after running the JMeter Test Plan, right now it gives only these information thanks Manju - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Regression Testing w/ JMeter

2005-04-27 Thread sebb
AFAIK, (?x) is only for composing REs - you still need to allow for them in the pattern. There are some RE testers mentioned on the Wiki: http://wiki.apache.org/jakarta-jmeter/RegularExpressions S. On 4/27/05, Sonam Chauhan <[EMAIL PROTECTED]> wrote: > > result. I can ignore the blankline in reg