title: Loading data dynamically from properties file to jbehave story
body: <p>How can I load the data dynamically from a .properties file to my jBehave story file? I have been using $ in my story file like:</p>
  
  <pre><code>When the stock is traded at price : $&lt;price&gt;
  Then the alert status should be $&lt;status&gt;
  </code></pre>
  
  <p>I am trying to fetch the values of  and  from properties file placed under my src/test/resources folder and included my .properties file in the pom.xml like</p>
  
  <pre><code>    &lt;testResource&gt;
  &lt;directory&gt;${basedir}/src/test/resources&lt;/directory&gt;
  &lt;filtering&gt;false&lt;/filtering&gt;
  &lt;includes&gt;
  include&gt;**/*.properties&lt;/include&gt;
  &lt;/includes&gt;
      &lt;/testResource&gt;
  </code></pre>
  
  <p>But still its not working.
  When I try running "mvn integration-test" on my cmd. It throws me this exception</p>
  
  <pre><code>org.json.JSONException: A JSONObject text must begin with '{' at character 1
      at org.json.JSONTokener.syntaxError(JSONTokener.java:410)
      at org.json.JSONObject.&lt;init&gt;(JSONObject.java:179)
      at org.json.JSONObject.&lt;init&gt;(JSONObject.java:402)....
  </code></pre>
  
  <p>I am not sure where am I going wrong. Please help me out.
  Awaiting reply!!
  -Tester</p>