title: Jmeter ${__setProperty()} Not working across multiple threads in the same thread group
body: <p>I am trying to do setproperty across multiple threads in the same threadgroup, the postprocessor set new variable using setproperty, so that It can be accessed across multiple threads.</p>
  
  <p>In Beanshell preprocessor, I'm having below line of code.</p>
  
  <p>${__setProperty("url", "youtube")};</p>
  
  <p>Under thread Group I'm having Beanshell post processor, having below one line in postprocessor.</p>
  
  <p>${__setProperty("url", "google")};</p>
  
  <p>under thread group, I have Http Sampler, in hostname field I have given <strong>${__property(url)}.com</strong></p>
  
  <p>The Aim is, when it executes first time, the URL will be google.com and when first threads complete than 
  the URL becomes youtube.com
  But the setProperty only set google, and the second one in postprocessor was not working.</p>
  
  <p>Refer the below Image for details, it shows how I created the element in Jmeter.</p>
  
  <p><a href="https://i.stack.imgur.com/f2iBb.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>Note: This was just a sample use case, but I have complex example, but answering to this question will help me to add the logic in complex script.</p>
  
  <p>Thanks</p>