The JMeter property is uniformly defined in the Jmeter.properties file. The JMeter property is visible anywhere in the test script (global) and is typically used to define some default values that are used by JMeter. such as attribute remote_hosts defines the server address that JMeter runs in remote mode. Property can be referenced in a test plan, but not as a variable value for a specific thread
The JMeter variable is a local variable for the test thread, which means that the jmeter variable is in a different test thread, either done the same or different, and if a thread has updated the variable, it simply updates the value that the variable replicates in that thread. For example, the regular expression extractor (the Post processor) updates the value of the variable based on the results of its thread adoption, which can provide the same threads for subsequent use.
Variables defined in both the test plan and the user-defined variables (configuration component) are visible to the test plan at jmeter startup. If the same variable is defined in more than one user-defined variable (configuration symbol), only the last definition will take effect. Once a thread is started, the initial value of the entire set of variables is copied to the thread, and other test elements such as "User variables" (pre-processor) or "Regular expression Extractor" (post processor) can be used to redefine variables (or create new variables) that affect only the current thread
You can define the JMeter property by using the _setproperty function.
JMeter Learning notes--jmeter properties and variables