Forum Discussion
RiteshY
10 years agoOccasional Contributor
Try Following:
1. Create A Groovy Step Before your request
2. Set variable on testcase level (you can use properties as well)
testRunner.testCase.setPropertyValue('TimeStamp', new SimpleDateFormat("YYYY-MM-dd HH:mm:ss").format(new Date())) 3. Use TimeStamp variable in your request and response
${#TestCase#TimeStamp}Hope this help!
-Ritesh