Hi
Your response that fails is
"<HTML>
<HEAD>
<meta http-equiv="refresh"
content="0;url=/.../..../
twbkwbis.P_GenMenu?name=bmenu.P_MainMnu&amp;msg=WELCOME+Welcome,+User+Name,+to+the+Student+Access+System(ASAP)!Oct+27,+201109%3A20+am">
</HEAD>
</HTML>"

The meta http-equiv="refresh" is a directive that tells the browser to
refresh the page with the url in the url attribute. However Jmeter (is not a
browser etc etc) wont do it automatically. Therefore your test fails. So you
have to modify your test to be
Http  Request
+Extract Title (default=notfound)
+Extract meta refresh url (default = notfound)
If("${metaurlrefesh}" != "notfound")
+request metaurlrefresh (but ensure you get the path right , unescape &amp;)
++Extract Title again , variable name same as the first Extract Title so
that you override the value
if("${title}" == "value1")
+Request 1
if("${title}" == "value2")
+Request 2

etc etc

regards
deepak


On Thu, Oct 27, 2011 at 7:39 AM, brock <[email protected]> wrote:

>
> shettyd wrote:
> >
> > Which doesn't have a title. You have to also extract the meta refresh url
> > and follow that if it exists.
> >  On Oct 27, 2011 7:25 AM, "brock" &lt;brockmoore@&gt; wrote:
> >
>
> Not sure I understand what your asking.  But If I just refresh the browser
> or past in the url it goes to the main landing page.  Which is where it
> should if you clicked the Continue button on the page that doesn't have a
> title in the response.  But if I view the page source it has a <TITLE>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Regular-Expression-Extrator-doesnt-work-on-all-pages-tp4941121p4943174.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