On 06/03/2008, nsyed777 <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>  I am having an issue with the regex to make DATETIME values as variable. The
>  dateime is dynamic value that I am trying to capture and then use it during
>  the iteration. I tried the following regex but it didn't work. Please help.
>  REGEX i am using is:
>  javascript:DisplayImage('11.22.33.4.5', '4001',
>  '{AE0E31B7-5E19-4350-B1AC-B86F8220187D}','tagingOS1',
>  
> 'clear:locale:ZW5fVVM=:password:2ZWwQ=:userid:WwzVXNlcg==(.*?)==:appid:VjdG9y')
>

That's a very long RE and it does not agree with the sample page data,
as the password and userid are different, so it would not match.

Try:
==:datetime:(.+?)==:
instead.

>  The source for the page is:
>
>
>  <tr class="wcmListViewRowEven">
>
>                                                                 <td 
> class="wcmListViewText"> javascript:DisplayImage('11.22.33.42',
>  '4001', '{AE0E31B7-5E19-4350-B1AC-B86F8220187D}','StagingOS1',
>  
> 'clear:locale:ZW5fVVM=:password:XYZ=:userid:ABC==:datetime:MTIwNDgxOTg5Mw==:appid:VjdG9y')
>  images/mime/Tif16.gif  </td>
>
>                                                                 <td 
> class="wcmListViewText" >Cert2000123456Current</td>
>
>                                                                 <td 
> class="wcmListViewText" > Certificate</td>
>
>                                                                 <td 
> class="wcmListViewText" >Current</td>
>
>                                                                 <td 
> class="wcmListViewText" >5/1/04 12:00 AM</td>
>
>                 <tr class="wcmListViewRowOdd">
>
> --
>  View this message in context: 
> http://www.nabble.com/variable-question--REGEX-tp15877503p15877503.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]

Reply via email to