Forum Discussion
Need help regarding Dynamic response on receive string on LTM.
But you strictly must check if the time is correct or you have to check if the page is send properly ? If you have only to check if the page is send correctly, you can configure a "HEAD" test and check the response code (200 OK).
regards Leonardo
- Leonardo_Accor1Dec 02, 2016
Nimbostratus
Let me add that in "Receive String" filed you can use regular expression, so if you did not check if the time is correct, you can only check the format of the string (date [Mon,Tue,Wed..] [Jan,Feb...] \d\d... and so on).
- Santavi_241428Dec 02, 2016
Nimbostratus
Hi Leonard,
Many thanks for your response..We need to check the time..How can I write by using regular expression for matching the format of the strings for "date","Day" or "month"..
- Leonardo_Accor1Dec 02, 2016
Nimbostratus
Hi Santavi, you can find resources here: https://support.f5.com/kb/en-us/solutions/public/5000/900/sol5917.html You can try this:
date (Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|Maj|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d\d \d\d:\d\d:\d\d CST \d\d\d\d - Leonardo_Accor1Dec 02, 2016
Nimbostratus
Obviously this regexp check the format of the date, not the facts that it match with the curent date.
- Santavi_241428Dec 02, 2016
Nimbostratus
Many Thanks. I will give it a try
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com