Bug 62511 - only variables defined in HTTP recorder should be substitued in HTTP requests, but variables defined under the test plan are also substituted.
Summary: only variables defined in HTTP recorder should be substitued in HTTP requests...
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.13
Hardware: All All
: P4 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-29 14:20 UTC by dwight7
Modified: 2018-07-19 19:27 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dwight7 2018-06-29 14:20:04 UTC
It is normal for variables defined under the HTTP recorder to be substitued in the recorded request ( like HOSTNAME = my.host.domain.com defined as a variable under the recorder will substitute $HOSTNAME whenever it encounters my.host.domain.com in the recording ).

However, i had the variable TIMER_DELAY=0 defined directly under the testplan (NOT in the http recorder). and whenever i recorded anything, it would be filled with $TIMER_DELAY variables where ever there had been a "0" in the request.

this is a bug.
Comment 1 UbikLoadPack support 2018-06-29 14:22:11 UTC
Hello,
It's not a bug, it's a feature currently, as there is no difference between User Defined Variables scope
So requalifying as enhancement.

Regards
Comment 2 The ASF infrastructure team 2022-09-24 20:38:14 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4813