Have you tried experimenting with the "update" checkbox? What are you trying to achieve?
On 13/11/2007, Ori Marco <[EMAIL PROTECTED]> wrote: > If UP1 entered under Sampler 1 and also UP2 under Sampler 2 same > results, > What should be the correct way? > > Ori Marko > Quality Assurance Engineer > Praxell Inc. > http://www.praxell.com > > -----Original Message----- > From: sebb [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 13, 2007 6:44 PM > To: JMeter Users List > Subject: Re: User Parameters problem > > The Test Plan is > > TP > +TG > ++ Loop > +++ User Param 1 > +++ Sampler 1 > +++ User Param 2 > +++ Sampler 2 > > User Parameters are Pre-Processors, and are processed before every > sampler for which they are in scope. In this case both samplers. > > So the execution order is > > +++ User Param 1 > +++ User Param 2 > +++ Sampler 1 > +++ User Param 1 > +++ User Param 2 > +++ Sampler 2 > > Which is probably not what you intended. > Try putting them as children of the appropriate samplers. > > BTW, a Java Request Sampler is much easier to use for testing; just > use the variables in the "Label" field. > > On 13/11/2007, Ori Marco <[EMAIL PROTECTED]> wrote: > > Hi > > > > I upload jmx to > http://jmeter-tests.bravehost.com/Test-UserParameter.jmx > > First Scenario is used with C and D instead of A and B. > > > > Thanks > > > > Ori Marko > > Quality Assurance Engineer > > Praxell Inc. > > http://www.praxell.com > > > > -----Original Message----- > > From: sebb [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 13, 2007 5:30 PM > > To: JMeter Users List > > Subject: Re: User Parameters problem > > > > The behaviour of a JMeter test plan depends on the structure and > > ordering of test elements. It's just not possible to work out what > > your plan looks like from the posting. > > > > Please do not post the JMX file to the list - instead upload it to a > > public web-site and post the link. Or do the same with a screenshot of > > the plan. > > > > On 13/11/2007, Ori Marco <[EMAIL PROTECTED]> wrote: > > > Anyone? > > > > > > -----Original Message----- > > > From: Ori Marco [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, November 08, 2007 4:31 PM > > > To: JMeter Users List > > > Subject: User Parameters problem > > > > > > Hi > > > > > > > > > > > > I have a problem when using parameter few times in User Parameters > > when > > > assigning and then using it. > > > > > > It seems that when assigning a variable it takes its value from the > > > start of the loop and ignores if it was changed. > > > > > > > > > > > > Example: > > > > > > > > > > > > Variables A=2,B=3 > > > > > > Test-Set > > > > > > UP P-P1 : A=1 > > > > > > UP P-P1: B=${A} > > > > > > Sampler: B=${B}&A=${A} > > > > > > > > > > > > Results: > > > > > > Loop 1 : B=2&A=1 > > > > > > Loop 2(+) : B=1&A=1 > > > > > > > > > > > > And when UP P-P1: A=${__javaScript(${A}+1)} > > > > > > > > > > > > Results: > > > > > > Loop 1: B=2&A=3 > > > > > > Loop 2: B=3&A=4 ... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Ori Marko > > > Quality Assurance Engineer > > > Praxell Inc. > > > http://www.praxell.com <http://www.praxell.com> > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

