jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niraj <niraj.khatm...@gmail.com>
Subject Regex Template and matching help
Date Wed, 17 Jul 2013 04:31:43 GMT
Hello All,

My Reg ex is extracting two value from the response.

Match[1][0]=u003cdiv viewId=\\\"f34a5431-d549-4f95-87be-26083bb8fb0a
Match[1][1]=\\\
Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
Match[2][0]=u003cdiv viewId=\\\"a266b3b6-5e43-441e-b8e6-0e4f42418de9
Match[2][1]=\\\
Match[2][2]=a266b3b6-5e43-441e-b8e6-0e4f42418de9

So to extract Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
I have used template $1$ and Match no as 2. But in my variable i am getting
\\\ instead of f34a5431-d549-4f95-87be-26083bb8fb0a. Please let me know
what should be pattern.


Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a
I have used template $2$ and Match no as 2 and i am getting
a266b3b6-5e43-441e-b8e6-0e4f42418de9 which is exactly what i want.

Thanks,
Niraj

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