jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guruprasad R <guruprasa...@gmail.com>
Subject regEx - Extracting multiple occurances
Date Mon, 27 Apr 2015 09:21:23 GMT
Hi All,

I have a response string as below:

<br> 4/24/2015  4:40 AM       517037 <A
HREF="/Logs/CServer/config1/50101/ConfigServer_50101.log">CServer_50101.log</A>
<br> 4/23/2015  5:58 PM      1024308 <A
HREF="/Logs/CServer/config1/50101/ConfigServer_50101.log.1">CServer_50101.log.1</A>
<br> 4/21/2015  4:30 PM      1024063 <A
HREF="/Logs/CServer/config1/50101/ConfigServer_50101.log.10">CServer_50101.log.10</A>
<br> 4/21/2015  2:13 PM      1024032 <A
HREF="/Logs/CServer/config1/50101/ConfigServer_50101.log.11">CServer_50101.log.11</A>

I have a regEx that extracts Date & HREF value,
*([0-9]+\/[0-9]+\/[0-9]+)\s+[0-9]+\:[0-9]+\s+\w+\s+\d+\s+<A
HREF="(.*?)">*

Is it possible to extract the values for all 4 occurances using only one
regEx from Jmeter. Or should i use someother way to extract them??

Regards,
Guru

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message