sorry, I forgot attach the file in my previous mail. ----- Original Message ----- From: "Venkat Dosapati" <[EMAIL PROTECTED]> To: "JMeter Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 3:35 PM Subject: Re: problem with _regexFunction
> Mike, > > I think I fixed this problem. Can you please look into the attached file. > You can see my > code from line number 97 - 100. Can you update RegexFunction.java in JMeter > source files if my fix is correct. > > The problem was function value is not getting updated with default value in > JMeterVariables when no match is found in the previous response. > > --tnx > Venkat > > > ----- Original Message ----- > From: "Venkat Dosapati" <[EMAIL PROTECTED]> > To: "JMeter Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, October 23, 2002 8:42 PM > Subject: problem with _regexFunction > > > > Hello Mike, > > > > [I am using nightly build on October 7th 2002.] > > > > I am using regexFunction in my TestPlan. My testplan has the following > > requests in a > > LoopController. > > > > 1. HTTP request: > > which gives the data on which my function is executed. > > 2.HTTP request: > > Where regexFunction is executed on previous request's response data. > > 3.HTTP request: > > Where the functionName is used to use the above value. > > > > Situation 1: > > LoopController has 1 iteration. > > In the iteration, first request's response doesnt have the required data > for > > which > > the function is looking for and the function name is replaced with default > > value. Here it > > is working correct. > > > > > > Situation 2: > > LoopController has 2 iterations. > > In first iteration, first request's response has the required data for > which > > the function is > > looking. > > In the second iteration, first request's response doesnt have the required > > data for which > > function is looking. "But the function value is not replaced with default > > value", it is taking > > previous value which was found in the first iteration. > > > > > > Why function's value in the "situation 2" is not updated with default > value > > when no-match > > is found in the second iteration. Is it a bug. Or I'm missing anything. > > > > Please help me out. > > > > --tnx > > Venkat > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:jmeter-user-unsubscribe@;jakarta.apache.org> > > For additional commands, e-mail: > <mailto:jmeter-user-help@;jakarta.apache.org> > > > -- > To unsubscribe, e-mail: <mailto:jmeter-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:jmeter-user-help@;jakarta.apache.org>
RegexFunction.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:jmeter-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:jmeter-user-help@;jakarta.apache.org>