jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brock <brockmo...@gmail.com>
Subject Regular Expression Extrator doesnt work on all pages
Date Wed, 26 Oct 2011 20:45:48 GMT
I am using the Regular Expression Extractor to get the page <TITLE>.  It's
working for 2 page but no for 5 others.


Regex Settings:
Main sample only
Body
<TITLE>(.*)</TITLE>
$1$
1
no_title

"${PageTitle}" == "Verify Login"

For 5 of the pages it always come back no_title, could the structure of the
HTML cause it to not work? I also tried pulling text out of the <body>,
still didn't work on those 5 pages. 

Here is the top part of one of the pages its not working on:

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
&quot;http://www.w3.org/TR/html4/transitional.dtd&quot;>
<HTML lang="en">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK REL="stylesheet" HREF="/css/web_defaultmenu.css" TYPE="text/css">
<LINK REL="stylesheet" HREF="/css/web_defaulthelp.css" TYPE="text/css">
<TITLE>Outstanding Balance Alert</TITLE>
<META HTTP-EQUIV="Content-Script-Type" NAME="Default_Script_Language"
CONTENT="text/javascript">
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">

--
View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extrator-doesnt-work-on-all-pages-tp4941121p4941121.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message