Hello Mike,
I found a bug in execute(SampleResult previousResult,Sampler currentSampler)
method
of RegExFunction.java.
When a Match is not found in the previous result, it is not updating the
function value with the default value in JUnitVariables. It is happening in
a LoopController.
Please check the code.
--tnx
Venkat
----- Original Message -----
From: "Mike Stover" <[EMAIL PROTECTED]>
To: "Venkat Dosapati" <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 11:41 PM
Subject: Re: problem with HTTP Parameter Mask from cmd line
> Upgrade to JDK 1.4.x
>
> -Mike
>
> On 23 Oct 2002 at 20:51, Venkat Dosapati wrote:
>
> > Hi Mike,
> >
> > Thannk You for your response!
> >
> > I think you have fixed the bug. I downloaded nightly build of October 22
> > 2002.
> > But it is giving errors when I build from the source. I am using
jdk1.3.1.
> > Can you give me the file which one should I update in my JMeter source.
> >
> >
> >
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02>ant
> > Buildfile: build.xml
> >
> > clean:
> > [delete] Deleting directory
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build
> >
> > init:
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build\core
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build\protocol\http
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build\protocol\jdbc
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build\protocol\ftp
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build\protocol\java
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build\components
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build\functions
> > [mkdir] Created dir:
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build\jorphan
> >
> > check.jsse.libs:
> >
> > check.iaik.libs:
> >
> > iaik.message:
> > [echo] Classes for IAIK iSaSiLk not found in classpath
> >
> > ssl.message:
> > [echo] Classes for SSL not found in classpath
> >
> > check.mail.libs:
> >
> > mail.message:
> >
> > compile_all:
> > [javac] Compiling 320 source files to
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\build
> > [javac]
> >
D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\src\jorphan\org\apache\jor
> > phan\collections\Data.java:520: cannot
> > resolve symbol
> > [javac] symbol : method split (java.lang.String)
> > [javac] location: class java.lang.String
> > [javac] setHeaders(contents[0].split(delimiter));
> > [javac] ^
> > [javac]
> >
D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\src\jorphan\org\apache\jor
> > phan\collections\Data.java:524: cannot
> > resolve symbol
> > [javac] symbol : method split (java.lang.String)
> > [javac] location: class java.lang.String
> > [javac] setLine(contents[x++].split(delimiter));
> > [javac] ^
> > [javac]
> >
D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\src\jorphan\org\apache\jor
> > phan\test\AllTests.java:222: cannot re
> > solve symbol
> > [javac] symbol : method split (java.lang.String)
> > [javac] location: class java.lang.String
> > [javac] Iterator classes =
> > ClassFinder.findClassesThatExtend(searchPaths.split(","),
> > [javac]
> > ^
> > [javac] 3 errors
> >
> > BUILD FAILED
> >
> >
> >
> >
> > If I am trying to run the JMeter
> >
> > D:\Tech\jakarta\jakarta-jmeter-src\jmeter-22Oct02\bin>jmeter
> > Exception in thread "main" java.util.zip.ZipException: The system cannot
> > find the file specified
> > at java.util.zip.ZipFile.open(Native Method)
> > at java.util.zip.ZipFile.<init>(Unknown Source)
> > at java.util.jar.JarFile.<init>(Unknown Source)
> > at java.util.jar.JarFile.<init>(Unknown Source)
> >
> >
> > --tnx
> > Venkat
> >
> >
> >
> > ----- Original Message -----
> > From: "Mike Stover" <[EMAIL PROTECTED]>
> > To: "Venkat Dosapati" <[EMAIL PROTECTED]>
> > Sent: Monday, October 21, 2002 10:05 PM
> > Subject: Re: problem with HTTP Parameter Mask from cmd line
> >
> >
> > > Looks like a bug - the param mask modifier getst initialized by the
gui,
> > but not by a
> > > nongui test. It's a quick fix and I'll have it in CVS and tomorrow's
> > nightly build.
> > >
> > > -Mike
> > >
> > > On 21 Oct 2002 at 19:16, Venkat Dosapati wrote:
> > >
> > > > Hi,
> > > >
> > > > I am using JMeter nightly build on October 7th 2002.
> > > > I defined a testplan using HTML Parameter Mask to use different
> > > > login Ids in the execution of the following requests in the
TestPlan.
> > > >
> > > > Please see the attachment:
> > > > This HTML Parameter Mask is added under Root->TestPlan->CSR Group
> > > > ->CSR Login node.
> > > > The parameter details:
> > > > Name: loginId
> > > > ID Prefix: csr_
> > > > LowerBound: 1
> > > > UpperBound: 5
> > > > Increment: 1
> > > >
> > > >
> > > > And in the following request I used the above parameter loginId and
> > > > its value as '*'.
> > > >
> > > >
> > > > When I run the above TestPlan from GUI, it is replacing loginId's
> > > > value with one of the csr_1, csr_2, csr_3, csr_4 or csr_5. It is
working
> > > > fine.
> > > > But when I run the above TestPlan from command line, it is replacing
> > > > loginId's value with starting from csr_0. Why is it taking '0' as
> > > > lower bound when I run the testplan from cmd line?.
> > > >
> > > > ----tnx
> > > > Venkat Dosapati
> > > > ATS TransLogic Systems
> > > > 5th floor Amogh Plaza, Green Lands
> > > > Hyderabad, AP-500 016, India
> > > > ph : +91-40-3401795 x24
> > > > fax : +91-40-3407943
> > > >
> > >
> > >
> > >
> > > --
> > > Michael Stover
> > > [EMAIL PROTECTED]
> > > Yahoo IM: mstover_ya
> > > ICQ: 152975688
> >
>
>
>
> --
> Michael Stover
> [EMAIL PROTECTED]
> Yahoo IM: mstover_ya
> ICQ: 152975688
--
To unsubscribe, e-mail: <mailto:jmeter-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@;jakarta.apache.org>