That's strange.
As a test and after the {{ISN}} value is assigned in the test
- Add a Parse Text as Response step and copy/paste the above JSON
- Save it in some property - let's call the property myJson.
- Add a Scripted Assertion in the Parse Text step having the following.
Set the step to Fail if the return is False - in case I made a typo below.
testExec.setStateValue("myJson", testExec.parseInState( testExec.getStateValue("myJson") ) );
_logger.info("isn value is: {}, testExec.getStateValue("ISN") );
_logger.info("Parsed Json is:\r\n{}", testExec.getStateValue("myJson") );
return true;
- Execute the test in ITR mode and after the step executes, check the Events Tab for the two logger displays.
Do the events show the correct value of isn?
And, did TestExec parse the value of "ISN" in the myJson property?
DevTest shouldn't care if the JSON is valid or not in the above as no validation is applied.