-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variable support #45
Comments
Glad you like TesTcl, @snorrebrandstadmoen. Have you tried defining this as a global variable? |
@landro - I guess the |
F5 has redefined the behavior of the set command - right now TesTcl uses a standard set implementation, where variables go out of scope as you would expect in any programming language. They should have used/defined some kind of exchange/context similar to what you find in SOAP/REST frameworks. Well - whatever - right now you're left with two options:
I noticed by the way #34 is a similar open issue |
closed in a5c289d |
Thanks! |
Hi mr. Landrø,
I'm using your excellent tool to test drive our BIG-IP development. One question on variable support:
The following (valid BIG-IP) iRule:
When testing the
event HTTP_RESPONSE
, thelog_level
variable is never set, and thus not available in the HTTP_RESPONSE clause. Is there a way to achieve this?Is there any way I can use variables, or does the test runner currently not support this?
Regards,
Snorre
The text was updated successfully, but these errors were encountered: