title: How to pass Map between testCases using properties
body: <p>I want to do the following in SOAPUI using Groovy:</p>
  
  <p>In a TestCase1 select values (Lastname, firstname) from database, and create a <code>Map</code> with dynamic values: <code>def Map = [Login :"$Login", Nom: "$Nom"]</code></p>
  
  <p>I need my map to be transferred to another TestCase, for this 
  I'm trying to put my map into properties:</p>
  
  <pre><code>testRunner.testCase.setPropertyValue( "Map", Map)
  </code></pre>
  
  <p>But I have error:</p>
  
  <blockquote>
    <p>groovy.lang.MissingMethodException: No signature of method:
    com.eviware.soapui.impl.wsdl.WsdlTestCasePro.setPropertyValue() is
    applicable for argument types: (java.lang.String,
    java.util.LinkedHashMap) values: [OuvInfoPersoMap,
    [Login:dupond0001, Nom:Dupond]] Possible solutions:
    setPropertyValue(java.lang.String, java.lang.String),
    getPropertyValue(java.lang.String) error at line: 123</p>
  </blockquote>
  
  <p>I found some posts on internet that suggests to use <code>metaClass</code> groovy property </p>
  
  <pre><code>context.testCase.metaClass.map = Map
  log.info context.testCase.map
  </code></pre>
  
  <p>But I don't think it enough in my case.</p>
  
  <p>I would like to be able to pass a map to Testcase2 using:</p>
  
  <pre><code>createMap = testRunner.testCase.testSuite.project.testSuites.testCases["TestCase1"] 
  createMap.map
  </code></pre>
  
  <p>Hopefully you can help me solving this problem.</p>
  
  <p>Thanks advance</p>