Closed Todd-PDCFlow closed 3 months ago
@Todd-PDCFlow Thank you very much for describing the process of generating the bug in great detail. I will fix it in the next version. So in current you need to send the request again to insure the request use the new environment value
Fixed in 2014.1.6.2
Checklist
Which operating system are you using?
IDEA version
IntelliJ IDEA 2024.1.4 (Ultimate Edition)
Plugin version
2024.1.6
Describe the bug
If I set an environment variable in the pre-request script, the new value is NOT used by the current request
Request is configured with the environment variable {{batchId}} as a Path Param
The environment variable batchId is changed during the Api-Level pre-request Script and validated via console.print statements
The environment variable is also confirmed via the post-request Script
You can see by the console output the previous value of the environment variable batchId is being used in the current request, not the new value that was set during the pre-request script
Error log
No response