https://issues.apache.org/bugzilla/show_bug.cgi?id=52082
Bug #: 52082
Summary: Invoke function by the optional name incorrectly if
function is defined in a Configuration element
Product: JMeter
Version: 2.5.1
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27842
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27842
jmeter script for this issue
Hi experts,
My scenario is i need a current time value to be used in many http requests.
here is my steps:
1. add a User Defined Variables under test plan, add parameters,e.g. Name is
TimeStamp, value is ${__time(MMddhhmmss,CurrentTime)}
2. refer to ${TimeStamp} in http requests if i want a fixed value to be used;
refer to ${CurrentTime} in http requests if i want a current time to be used
when each request running.
This works well in jmeter 2.4, but in jmeter 2.5.1, the reference
${CurrentTime} behaves same as ${TimeStamp}, but i want a different time value
for each request.
I found the change list for 2.5.1 at
http://jakarta.apache.org/jmeter/changes.html
and there is a main change: Functions are no longer spuriously invoked when
used with a Configuration element
so is this change cause the issue above?
How can the function be invoked correctly by optional name? e.g. ${CurrentTime}
The jmeter script is attached.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]