Forum Discussion
RiteshY
9 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
Related Content
- 6 years agopankajmalinda
- 7 years agoKate
- 7 years agomoolickj