hi
use LiveHTTPHeaders in firefox and check what the browser is posting (and at
what intervals of time) whether to the same url or to a different url or
whether the data that is being posted changes
Add view results tree in your test and compare what is getting sent from
JMeter v/s what the browser sent.

if there is some variable data like a token or something then you will have
to extract it (using another regex extractor ) and then make your
HTTPSampler post that data.


regards
deepak

On Wed, Aug 12, 2009 at 12:07 PM, hoffm11 <[email protected]> wrote:

>
> ok.  There is a weird issue with the website I am testing so its difficult
> to
> get this info..  I wanted to ask this though..
>
> I have another page that has a message "Building page ID" and when its done
> it returns a result set.  The page I am testing seems to keep posting
> itself
> and I never see the result set through JMeter.  Does something in the "Http
> Request" need changed so it just sits there until that message goes away?
> Do the method need changed?
>
> Thanks for your help!
>
>
>
> sebb-2-2 wrote:
> >
> > On 12/08/2009, hoffm11 <[email protected]> wrote:
> >>
> >>
> >>  ok.  I have a page that has wait_spin.gif in the body.  Once the page
> is
> >>  done processing, wait_spin.gif goes away and the result set is
> returned.
> >>
> >>  In my while loop, I have
> >>
> >>  While (condition:  ${match})
> >>  - HTTP Request
> >>  -- RegEx Extractor
> >>  ----reference name:  match
> >>  ----reg Ex:  (wait_spin\.gif)
> >>
> >> ----Template:  $1$
> >>  ----Match No. 1
> >>
> >> ----default value:  NO VALUE
> >>
> >>  Evethough wait_spin.gif doesn't show up it still stays in the while
> >> loop.
> >>
> >>  What the heck am I not doing right?
> >>
> >
> > As I wrote already, the While Controller condition needs to evaluate
> > to "false" in order to exit the loop.
> >
> > As far as I can tell, ${match} will be equal to "NO VALUE" or
> > "wait_spin.gif".
> >
> > Neither of these is the same as "false".
> >
> >>
> >>
> >> sebb-2-2 wrote:
> >>  >
> >>  > On 12/08/2009, hoffm11 <[email protected]> wrote:
> >>  >>
> >>  >>  Um, I am confused why this isn't valid?  I thought you can just
> >> specify
> >>  >> the
> >>  >>  variable in the condition?
> >>  >
> >>  > Of course, but the condition has to evaluate to "false" in order to
> >>  > exit the loop.
> >>  > See the documentation.
> >>  >
> >>  >>  I expect it to exit the while loop once the text "Total Number
> >> Returned"
> >>  >> is
> >>  >>  return and then continue on with the rest of the script.  The
> >>  >> application
> >>  >>  uses a lot of ajax stuff and this is the only why I can get this to
> >>  >> work.
> >>  >>
> >>  >>  Can you give me an example on how this can be done and what I am
> >> doing
> >>  >>  incorrect?
> >>  >>
> >>  >>
> >>  >>
> >>  >>
> >>  >>  sebb-2-2 wrote:
> >>  >>  >
> >>  >>  > On 12/08/2009, hoffm11 <[email protected]> wrote:
> >>  >>  >>
> >>  >>  >>  Alright here is what I have.
> >>  >>  >>
> >>  >>  >>  While Controller  (Condition..  ${match}
> >>  >>  >
> >>  >>  > That is not a valid condition, see:
> >>  >>  >
> >>  >>  >
> >>  >>
> >>
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller
> >>  >>  >
> >>  >>  >>  - Regex Expression
> >>  >>  >>   -  Ref Name:  match
> >>  >>  >>   -  Reg Ex:  Total Number Returned
> >>  >>  >>   - Template:  $1$
> >>  >>  >>   -  Match No.  1
> >>  >>  >>   -  Default value:  NO VALUE
> >>  >>  >>
> >>  >>  >>  - HTTP Request (this page will have a hourglass and then post
> >> "Total
> >>  >>  >> Number
> >>  >>  >>  Returned" when done)
> >>  >>  >>   -  show.page
> >>  >>  >>
> >>  >>  >>  This does not work for me.
> >>  >>  >>
> >>  >>  >
> >>  >>  > In what way does it not work?
> >>  >>  > What happens?
> >>  >>  > What did you expect to happen?
> >>  >>  >
> >>  >>  >>
> >>  >>  >>  sebb-2-2 wrote:
> >>  >>  >>  >
> >>  >>  >>  > On 12/08/2009, hoffm11 <[email protected]> wrote:
> >>  >>  >>  >>
> >>  >>  >>  >>  Is there a way in jmeter to say..
> >>  >>  >>  >>
> >>  >>  >>  >>  Wait for Assertion X to display on the screen before moving
> >> to
> >>  >> the
> >>  >>  >> next
> >>  >>  >>  >>  request in the script?
> >>  >>  >>  >
> >>  >>  >>  > How does a browser do this?
> >>  >>  >>  >
> >>  >>  >>  > You need to create a While loop with the appropriate sampler
> >> and
> >>  >>  >>  > Post-Processor.
> >>  >>  >>  >
> >>  >>  >>  >> --
> >>  >>  >>  >>  View this message in context:
> >>  >>  >>  >>
> >>  >>  >>
> >>  >>
> >>
> http://www.nabble.com/Wait-for-Text-to-show-up-before-moving-on-tp24935961p24935961.html
> >>  >>  >>  >>  Sent from the JMeter - User mailing list archive at
> >> Nabble.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]
> >>  >>  >>  >
> >>  >>  >>  >
> >>  >>  >>  >
> >>  >>  >>
> >>  >>  >>
> >>  >>  >> --
> >>  >>  >>  View this message in context:
> >>  >>  >>
> >>  >>
> >>
> http://www.nabble.com/Wait-for-Text-to-show-up-before-moving-on-tp24935961p24938085.html
> >>  >>  >>
> >>  >>  >> Sent from the JMeter - User mailing list archive at Nabble.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]
> >>  >>  >
> >>  >>  >
> >>  >>  >
> >>  >>
> >>  >>  --
> >>  >>
> >>  >> View this message in context:
> >>  >>
> >>
> http://www.nabble.com/Wait-for-Text-to-show-up-before-moving-on-tp24935961p24939302.html
> >>  >>
> >>  >> Sent from the JMeter - User mailing list archive at Nabble.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]
> >>  >
> >>  >
> >>  >
> >>
> >>
> >>
> >>  --
> >>
> >> View this message in context:
> >>
> http://www.nabble.com/Wait-for-Text-to-show-up-before-moving-on-tp24935961p24941184.html
> >>
> >> Sent from the JMeter - User mailing list archive at Nabble.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]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Wait-for-Text-to-show-up-before-moving-on-tp24935961p24942805.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to