JustinM89
8 years agoContributor
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...
- 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.