title: Passing variables into Examples section
body: <p>I have set two variables, let's say cityA = 'New York' and cityB = 'Las Vegas' in one feature and "exported" them with <code>* def</code> expression. Now I want to use those variables in another feature</p>
  
  <pre><code>Scenario Outline: Successful transfer from &lt;fromLocation&gt; to &lt;toLocation&gt;
      * call read('re-usable.feature')    
      Given request read('request.json')
      When method post
      Then status 200
  
      Examples:
      | fromLocation | toLocation |
      | cityA | cityB |
      | cityB | cityA |
  </code></pre>
  
  <p>with request:</p>
  
  <pre><code>{
  source: "#(fromLocation)"
  destination: "#(toLocation)"
  }
  </code></pre>
  
  <p>My scenarios are failing because in request there is set cityA/cityB, not values stored under these names, I tried to use variables from karate-config file and even </p>
  
  <pre><code>Scenario Outline: Successful transfer from &lt;fromLocation&gt; to &lt;toLocation&gt;
      * def res = call read('re-usable.feature')    
      Given request read('request.json')
      When method post
      Then status 200
  
      Examples:
      | fromLocation | toLocation |
      | res.cityA | res.cityB |
      | res.cityB | res.cityA |
  </code></pre>
  
  <p>and that is passing 'res.cityA', 'res.cityB' instead of New York/Las Vegas
  Moreover, I tried also following ways</p>
  
  <pre><code>Background:
      * call read('re-usable.feature')
  Scenario Outline: Successful transfer from &lt;fromLocation&gt; to &lt;toLocation&gt;
  
      Given request read('request.json')
      When method post
      Then status 200
  
      Examples:
      | fromLocation | toLocation |
      | cityA | cityB |
      | cityB | cityA |
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Background:
      * def res = call read('re-usable.feature')
  Scenario Outline: Successful transfer from &lt;fromLocation&gt; to &lt;toLocation&gt;
  
      Given request read('request.json')
      When method post
      Then status 200
  
      Examples:
      | fromLocation | toLocation |
      | res.cityA | res.cityB |
      | res.cityB | res.cityA |
  </code></pre>
  
  <p>All presented cases return the same - varaible names not values. If in the request I set e.g. <code>#(cityA)</code> instead of <code>#(toLocation)</code> then everything is as expected but I cannot test other scenarios in this case</p>
  
  <p>@PeterThomas you marked my last question as duplicate but link you have provided is not about my issue ;)</p>