I'm trying to obtain the IP address of a session within a test case. The documentation suggests that this should work:
[profile sessionID parameter_name_or_query ?default_value?]
See Accessing parameters that are defined in session profiles: The profile field replacement
Right-click shortcut:
Insert > Parameter
I do see this value in the Data view if I pause my testcase after opening the session, but the query just doesn't work for me:
Unable to evaluate "puts [profile s1 ipAddress()]" : Invalid query ipAddress()
Am I doing something wrong?
1 open s1 project:///session_profiles/cisco_router.ffsp 2 eval puts [profile s1 ipAddress()]
Sri