title: How to use nested paramter in SoapUI context.expand expression?
body: <p>My use case is that I want to do a bulk update of request bodies in multiple SoapUI projects.</p>
  
  <p>Example of request body. </p>
  
  <pre><code>{
   "name": "${#TestSuite#NameProperty}" 
   "id": "${#TestSuite#IdProperty}"
  }
  </code></pre>
  
  <p>I want to expand the property ${#TestSuite#NameProperty} through Groovy, and get the value stored at TestSuite level then modify it as necessary.</p>
  
  <p>Suppose I have 50 test steps in my test case and I want to expand the request for each one from Groovy script. To expand a specific test steps, I would pass the test Steps's name. For example: </p>
  
  <pre><code>expandedProperty = context.expand('${testStep1#Request}')
  </code></pre>
  
  <p>But, how can I achieve the same, if I wanted to iterate over all 50 test steps? I tried to used a nested parameter inside the context.expand expression, but it did not work. For Example: </p>
  
  <pre><code>currentTestStepName = "TestStep1"
  expandedProperty = context.expand('${${currentTestStepName}#Request}')
  </code></pre>
  
  <p>This only returned me the expanded request from the test step right above it (where I am running the groovy script from) rather than the "TestStep1" step. ( Which is madness!)</p>
  
  <p>Also, context.expand only seems to work while executing via Groovy script from the SoapUI workspace project. Is there and other way, or method similar to context.expand which can expand the properties like "${#TestSuite#NameProperty}" during headless execution? Eg: A groovy compiled jar file imported in SoapUI.</p>
  
  <p>Thanks for any help in advance!</p>