JLazar0
JLazar0

Reputation: 1292

Get system date with BadBoy software for testing

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?

Upvotes: 0

Views: 184

Answers (1)

JLazar0
JLazar0

Reputation: 1292

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}.

Upvotes: 0

Related Questions