I have a LISA Test Case where I specify Headers in the Headers tab.
For one of the header field, I want to pass the systemdatetime / random value everytime that Test case is hit / run.
Any way of doing that ?
You can use Timestamp filter in one of the steps before the step where you want to use it and then use the property in the Headers tab.Please refer Time Stamp Filter - DevTest Solutions - 10.2 - CA Technologies Documentation .
If you want to use a random value, you can use Random Code Generator Data Set - DevTest Solutions - 10.2 - CA Technologies Documentation.
I added Do Nothing step and added a timestamp filter in the same. But then 2 steps are getting executed - 1. Do Nothing 2. Rest step (actual Test case).
While I run the Test cases Over Jenkins, now for each test case 2 steps are run, whihc takes a little overhead and extra time.
Any other way to directly add some formula / code to Headers itself ratehr than having an extra step ?