private "user defined variable" component scope error
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**jacky** ([Bug 66180](https://bz.apache.org/bugzilla//show_bug.cgi?id=66180&redirect=false)):
private "user defined variable" component scope error
Created attachment [jmeter%20bug.jmx](https://apache.github.io/jmeter-bugzilla-attachments/80/66180/38344/jmeter%2520bug.jmx): private "user defined variable" component scope error
jmeter%20bug.jmx
````xml
false
true
true
1
1
0
0
continue
false
false
1
true
HTTP
UTF-8
http://www.baidu.com?aaa=${aaa}&tt=${lll}
GET
true
false
true
false
30000
30000
false
vars.put("test","3333");
groovy
ccc
c1
=
ddd
d1
=
aaa
3332
=
HTTP
UTF-8
http://www.baidu.com?aaa=${aaa}
GET
true
false
true
false
30000
30000
false
println "####"
vars.putObject("test2",3333);
vars.putObject("test3",true);
groovy
aaa
a18888
=
lll
00000
=
false
saveConfig
true
true
true
true
true
true
true
true
false
true
true
false
false
false
true
false
false
false
true
0
true
true
true
true
true
true
````
Severity: normal
OS: All
Contributor guide
Research direction
No source file or test is named. Start by loading the attached jmeter bug.jmx in JMeter and reproducing the User Defined Variables component-scope error across the two HTTP samplers and their post-processors. Done should include a verified scope behavior and coverage for the reported reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100