You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the "HTTP(S) Test Script Recorder" the resolution of the variable PROJETC_HOME is resolved correctly, as follow: 2021-12-07 10:20:39,175 INFO o.a.j.s.FileServer: Close: D:\Projets\Load-Tests\Auto-Correlation/Credentials.csv
But with this plugin I have the following issue: 2021-12-07 10:09:08,562 INFO o.a.j.s.FileServer: Stored: ${PROJECT_HOME}/Credentials.csv
Environment
Windows 10
JMeter version 5.4.1
Correlation Recorder: latest (1.2.1)
Plugin Manager (if applicable)
Protocol version (if apply, eg: Siebel CRM IP17 & IP18)
Step to Reproduce
Define the PROJECT_HOME variable as ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)} in the config element "User Defined Variable".
In the config element "CSV Data Set Config" set the "Filename" as ${__env(DATA_CONFIG,,${__eval(${PROJECT_HOME})})}/Credentials.csv
Define a simple scenario
Click on Start
Expected behaviour
I expected that the ${PROJECT_HOME} is resolved as D:\Projets\Load-Tests\Auto-Correlation instead of remaining as ${PROJECT_HOME}
Complementary information
none
Additional context
none
The text was updated successfully, but these errors were encountered:
plo750
changed the title
Environmental variable not resolved
User variable not resolved
Dec 7, 2021
I have defined a user variable
PROJECT_HOME
in the "User Defined Variables" element.The
PROJECT_HOME
variable contains this code:After that, I reuse it in the "CSV Data Set Config" element, in the filename as follow:
With the "HTTP(S) Test Script Recorder" the resolution of the variable
PROJETC_HOME
is resolved correctly, as follow:2021-12-07 10:20:39,175 INFO o.a.j.s.FileServer: Close: D:\Projets\Load-Tests\Auto-Correlation/Credentials.csv
But with this plugin I have the following issue:
2021-12-07 10:09:08,562 INFO o.a.j.s.FileServer: Stored: ${PROJECT_HOME}/Credentials.csv
Environment
Windows 10
Step to Reproduce
PROJECT_HOME
variable as${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)}
in the config element "User Defined Variable".${__env(DATA_CONFIG,,${__eval(${PROJECT_HOME})})}/Credentials.csv
Expected behaviour
I expected that the
${PROJECT_HOME}
is resolved asD:\Projets\Load-Tests\Auto-Correlation
instead of remaining as${PROJECT_HOME}
Complementary information
none
Additional context
none
The text was updated successfully, but these errors were encountered: