title: Launching Jmeter from python and retrieving information while it is running
body: <p>I have a Jmeter script which at Step 1: it creates an account with accountId and then Step 2: does manipulations on that account which takes about 30 min .</p>
  
  <p>I have written a python code with 2 threads, in one thread it calls that Jmeter script using: </p>
  
  <pre><code>  subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
  </code></pre>
  
  <p>Thread actually runs and calls my jmeter script and it runs to end. But I want to retrieve the account ID as soon as it is created in thread1, and step 1, and monitor it using other commands in thread2 (while 1st thread is running Jmeter script).  Even though I have a post Bean process which prints the accountId to console, I don't get that until Jmeter has completed its 2nd Step.
  I dont want to write the account ID in a text file and have my 2nd thread in python read from it (thats really not a good way to do it), is there any other way to get that account Id in step1 as soon as it is created?</p>