You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/04/23 15:58:01 UTC
DO NOT REPLY [Bug 53133] New: Nested variable resolution is not
recursive
https://issues.apache.org/bugzilla/show_bug.cgi?id=53133
Bug #: 53133
Summary: Nested variable resolution is not recursive
Product: JMeter
Version: 2.6
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: issues@jmeter.apache.org
ReportedBy: i.galic@brainsware.org
Classification: Unclassified
Variable resolution is recursive, at least not for all values
We created variables
app_server=testfoosrv001
app_port=8001
app_url=http://${app_server}:${app_port}
When recording a session with the proxy, JMeter automagickally recognized these
and set the Referrer as ${app_url}/zomg?q=foo
When executing the test however, the referrer is shown as:
Referrer: http://${app_server}:${app_port}/zomg?q=foo
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 53133] Nested variable resolution is not recursive
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53133
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |p.mouawad@ubik-ingenierie.c
| |om
Resolution| |WONTFIX
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> 2012-04-23 16:09:09 UTC ---
Hello,
This is by design:
http://jmeter.apache.org/usermanual/component_reference.html#User_Defined_Variables
"Also, the variables are not available for use until after the element has been
processed, so you cannot reference variables that are defined in the same
element. You can reference variables defined in earlier UDVs or on the Test
Plan. "
A solution can be to define another UDV after the first one that will contain
app_url.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.