0

I am creating a script for application tests, in order to export it and use it with JMeter.

I would need to get the system date as a variable, at the script level, not the environment, but I can not do it in any way.

Any advice?

JLazar0
  • 1,257
  • 1
  • 11
  • 22

1 Answers1

0

To do this, create at the start of the badboy script a js script(At the beginning of the step, Add / JScript).

JScript in badboy

with the following content:

Script get date

To be used from the badboy script $ {sysdate}.

JLazar0
  • 1,257
  • 1
  • 11
  • 22