title: How to pass the background response value of the to another feature json in function value using Karate
body: <p>I have got the response in the background to one of the request and passing to the function for polling purpose and need to run until specific condition met. In that function, I need to pass the values to the calling feature JSON file</p>
  
  <pre><code>  while (true) {
    var result = karate.call('extractProgress.feature') packageid; -- package id 
  </code></pre>
  
  <p>is response of another request</p>
  
  <p>I followed the similar way as mentioned but in that not passing any parameter. 
  <a href="https://github.com/intuit/karate/blob/933d3803987a736cc1a38893e7039c4b5e5132fc/karate-demo/src/test/java/demo/polling/polling.feature" rel="nofollow noreferrer">https://github.com/intuit/karate/blob/933d3803987a736cc1a38893e7039c4b5e5132fc/karate-demo/src/test/java/demo/polling/polling.feature</a></p>
  
  <p>But i am getting the below error </p>
  
  <blockquote>
    <p>feature(com.intuit.karate.testng.KarateTestngTest):
    java.lang.RuntimeException: javascript evaluation failed: packageid,
    ReferenceError: "packageid" is not defined in  at line number 1</p>
  </blockquote>