tilln commented on issue #6269:
URL: https://github.com/apache/jmeter/issues/6269#issuecomment-2054168523

   Here is a script: 
[jmeter-regression-v5.6.jmx.txt](https://github.com/apache/jmeter/files/14971891/jmeter-regression-v5.6.jmx.txt)
   
![image](https://github.com/apache/jmeter/assets/19366960/614c88f4-f713-4816-99e1-9d6f2e2e77da)
   
   Expected would be that the SampleResult's label and URL match as they do 
with the caching.
   
   JTL output from v5.5
   ```
   
timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,URL,Latency,IdleTime,Connect
   1713123663745,963,GET https://www.google.com/search?q=AECC,200,OK,Thread 
Group 
1-1,text,true,,115147,130,1,1,https://www.google.com/search?q=AECC,658,0,457
   ```
   vs. 5.6.3
   ```
   
timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,URL,Latency,IdleTime,Connect
   1713123690243,961,GET https://www.google.com/search?q=EEDB,200,OK,Thread 
Group 
1-1,text,true,,90089,130,1,1,https://www.google.com/search?q=EABD,711,0,493
   ```
   
   This might be an unintended consequence of the caching removal, but I think 
this is not unreasonable to expect that the sampler properties are evaluated 
once. 
   I have written a lot of scripts with random functions or other, 
non-idempotent functions in sampler payloads in conjunction with some sort of 
access to sampler properties (via Preprocessors or plugins such as the one the 
author is using), that break after upgrading to v5.6.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to