hi yes . I wont be able to try it out till later today though . regards deepak
On Wed, Sep 29, 2010 at 4:20 PM, Derry, Stanton <[email protected]>wrote: > Can I send the link directly to you? > > -----Original Message----- > From: Deepak Shetty [mailto:[email protected]] > Sent: Wednesday, September 29, 2010 3:47 PM > To: JMeter Users List > Subject: Re: Problem with If Controller - Evaluate for all Children > > How many threads do you have running and from the screenshot I cant make > out > whether they are simple controllers / if controllers or something > completely > different? Again whether or not the test fails at the same point > depends on > your test. > Ill try this for simplified test case and see if it behaves as > expected... > > On Wed, Sep 29, 2010 at 3:40 PM, Derry, Stanton > <[email protected]>wrote: > > > The two passes, from InTheBeginning to AtTheEnd, should have produced > > the same set of samplers and errors. In the first pass the flow > fails > > at TTO-0090-ttoentry/SSO.... and all samplers after that in the scope > of > > LastSampleOk are not executed. In the second pass, a failure occurs > > at TTO-0100-/secure... and NOT AT TTO-0090-ttoentry/SSO...., for > > TTO-0100 to have been executed JMeter should have executed 6 prior > > samplers, TTO-0010..., TTO-0050,0060,0070,0080, and 0090. > > > > Stan > > > > -----Original Message----- > > From: Deepak Shetty [mailto:[email protected]] > > Sent: Wednesday, September 29, 2010 3:28 PM > > To: JMeter Users List > > Subject: Re: Problem with If Controller - Evaluate for all Children > > > > Hi > > I dont see a problem with Last Sampler Ok, its terminating correctly > > right , > > no sampler after the error is executed? > > > > >The second pass should execute the same set of samplers failing at > the > > same spot, however, it doesn't. > > Not necessarily. Your test might be passing something incorrectly at > the > > next *pass* (Incidentally when you mean pass Im assuming you mean your > > ThreadGroup is set for multiple iterations). Maybe you are trying to > > create > > something that already exists , Youll have to look at your test and > see > > what > > each sampler is passing and why it fails. Sometimes looking at the > > response > > might tell you if the application returns a readable error message (or > > if > > you have access to the applications logs). > > Another possibility is that your application is using cookies and the > > second > > pass is differing from the first pass due to this (since you have > > signout , > > and im assuming it is working , it shouldnt be because of session). > From > > your attached screen I cant make out where /secure/create sampler is > and > > under what condition JMeter takes that path. > > Otherwise you have to fallback to the same old compare browser with > > Jmeter.. > > > > regards > > deepak > > > > > > > > > > On Wed, Sep 29, 2010 at 2:45 PM, Derry, Stanton > > <[email protected]>wrote: > > > > > Sorry for the attachment.... The View Results Tree Listener screen > > > snapshot is at > > > > > > https://docs.google.com/leaf?id=0ByNiYXcp87RqMGIzYzI4M2MtMjdlMS00ZWY2LWE > > > > > > 1OTUtNTZiZTEwMDAyMWMy&hl=en&authkey=CKbCzP4J<https://docs.google.com/lea > > > f?id=0ByNiYXcp87RqMGIzYzI4M2MtMjdlMS00ZWY2LWE%0A1OTUtNTZiZTEwMDAyMWMy&hl > <https://docs.google.com/lea%0Af?id=0ByNiYXcp87RqMGIzYzI4M2MtMjdlMS00ZWY > 2LWE%0A1OTUtNTZiZTEwMDAyMWMy&hl> > > =en&authkey=CKbCzP4J> > > > > > > Stan > > > > > > -----Original Message----- > > > From: Deepak Shetty [mailto:[email protected]] > > > Sent: Wednesday, September 29, 2010 1:36 PM > > > To: JMeter Users List > > > Subject: Re: Problem with If Controller - Evaluate for all Children > > > > > > upload the files somewhere and post a link. > > > > > > On Wed, Sep 29, 2010 at 12:52 PM, Derry, Stanton > > > <[email protected]>wrote: > > > > > > > Using JMeter 2.4 r961953. In my test plan I have an "If > > > > Controller"(LastSampleOk) as a parent of Controllers and HTTP > > Samplers > > > with > > > > "Evaluate for all children" set. The condition for LastSmapleOk > is > > > > ${JMeterThread.last_sample_ok}. I executed two passes, the first > > pass > > > works > > > > flawlessly and doesn't execute any samplers in the LastSampleOk > > scope > > > after > > > > a failure. The second pass should execute the same set of > samplers > > > failing > > > > at the same spot, however, it doesn't. I've attached a screen > > > snapshot of > > > > the test plan and view results tree listener. What is even more > > > perplexing > > > > is the listener shows a sampler in the second pass that should > have > > > never > > > > been reached. > > > > > > > > > > > > > > > > How robust is the "If Controller with Evaluate for all Children" > ? > > > > > > > > Do I need to clear jmeter variables at the end of an iteration? > > > > > > > > > > > > > > > > Stan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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] > >

