ContributionsMost RecentMost LikesSolutionsProblem with accessing a property defined in groovy script (date now) Hey guys I manage to generate today's date using this code: def dateFormat = "yyyy-MM-dd" def date = "${new Date().format(dateFormat) }" testRunner.testCase.setPropertyValue('dateNow', date) log.info date it works well, the date is printed in the console. I have property (MyProperties step) on the same level as the groovy script (in test case) called dateNow. then I implement it into json body request like this: "date": "${MyProperties#dateNow}", what happens is when I try to run the post request, insted of the right response i get this:{"error": "Bookings[0] date can't be blank"} I tried everything, putting the date into string, instead of testRunner putting context etc but it does not seem to work. Do you have any idea what could be happenning and how to fix this?Thank you Solvederr with transfering a property from rest response to post request json body Hello everyone, I have a REST project and I have some problems during my one testcase. It has 3 steps - first get request, which goes through then a property transfer of one value from the response of the get request to a json body of POST request, then the post request. When I run the whole test case, the property transfer happens but the post request does not - while the value is being transfered to its json body request the json body deletes some of his part. When I run just the property transfer it gives me an err saying invalid json. the json body is valid though, by itself without the porperty transfer the post request goes through and I also checked the json in online json validator. Any idea whats going on? thanks!