Answered Questions

  • Load Runner Function - How to get current system time

    This function is developed to usein Mercury Load Runner peformance tool.This main use of this functions to return the current system time at any given point of time while load runner script is running.This functiona can be used to report transaction times , script starti time and end time. long get_secs_since_midnight(void){  char  * curr_hr;        ...

    JonyGreen

    • Sep 24th, 2015

    I am not a developer, I always use the free online timestamp generator to get current UNIX timestamp.

    Monika

    • Dec 6th, 2014

    %H behaves exactly like %I. for eg:

    lr_save_datetime("%H%M%S", TIME_NOW + 5*ONE_HOUR, "curr_time");

    should give output as 141500 (assuming Current time is 09:15:00) but the value of curr_time comes as 021500