//Declare the variables
var DateNTime = new Date();
var utcDate = DateNTime.toUTCString();
//Print results to NeoLoad log
logger.debug("UTC_Date="+utcDate);
// Inject the computed value in a runtime variable, this can be used as a parameter in the NeoLoad requests ex:${UTC_Date}
context.variableManager.setValue("UTC_Date",utcDate);
No comments:
Post a Comment