apache / apache/jmeter

only variables defined in HTTP recorder should be substitued in HTTP requests, but variables defined under the test plan are also substituted.

Open
#4,813 1 comment 0 reactions 0 assignees View on GitHub
enhancement os: All P4
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**dwight7** ([Bug 62511](https://bz.apache.org/bugzilla//show_bug.cgi?id=62511&redirect=false)):
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.

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.