Forum Discussion

JustinM89's avatar
JustinM89
Contributor
8 years ago

Invalid JSON running script from Jenkins

I have a test case that runs fine when I execute it locally via ReadyAPI, yet fails with an invalid JSON error on a JSON datasource step when I run it from Jenkins.   My script setup is pretty simp...
  • JustinM89's avatar
    8 years ago

    The issue was the syntax I was using in my JSON datasource step to retrieve the response from the previous REST request. I was using the syntax $['someProperty'], which works in 1.9 but apparently does not work in 1.8. The syntax $.someProperty works in both.

     

    The more you know. Hopefully this helps somebody else.