apache / apache/jmeter

Add "variable initialization" config element

Open
#5,879 0 comments 0 reactions 0 assignees View on GitHub
enhancement to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### Use case

* Initialize variables "at the beginning of the test plan"
* Initialize variables before using in pre/post-processors

### Possible solution

Add `Variable Initialization` config element so the users can init variables.
It might be that "initial variable initialization" might need a different controller as it should be illegal to use "undefined" variables for the variable initializers expressions.

See also:
* https://github.com/apache/jmeter/issues/4360

### Possible workarounds

_No response_

### JMeter Version

5.5

### Java Version

_No response_

### OS Version

_No response_

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.