Also you need quotes around page title On Oct 25, 2011 8:49 AM, "sebb" <[email protected]> wrote:
> On 25 October 2011 16:30, brock <[email protected]> wrote: > > Thanks! Got it pulling the HTML Title to use for the If controller, but > if I > > look at the Debug Sampler I see a few version of the variable I defined > in > > the RegEx Extractor: > > > > PageTitle is the reference name in the RegEx Extractor. > > > > Info from the Debug Sampler: > > PageTitle=Verify Login > > Note, no tags ... > > > PageTitle_g=1 > > PageTitle_g0=<TITLE>Verify Login </TITLE> > > PageTitle_g1=Verify Login > > > > My if controller is: > > ${PageTitle} == "<TITLE>Verify Login </TITLE>" > > See above - PageTitle does not include the tags. > > > > > But it never goes into the If controller. Tried escaping the < > but it > > still didn't work. What do I have wrong? lol > > Wrong compare. > > > Oh and I now see what you mean by it getting messy, not sure this is > going > > to even work, structure wise. > > > > -- > > View this message in context: > http://jmeter.512774.n5.nabble.com/Unexpected-Page-returned-tp4873275p4936662.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] > >

