How can I replace the Date(2008/7/3) with the current system date.

I had generated a script with Ajax protocol , & my script is like this.

n
3n 2008/7/3n



If I want to run this on some other day , How can I replace the Date(2008/7/3) with the current system date.
I am passing this in a request. I am using the load runner 9.1

Questions by sreenareddyk

Showing Answers 1 - 6 of 6 Answers

san_luke

  • Oct 27th, 2009
 

Use this function

lr_save_datetime("<format of datetime>",DATE_NOW,"<variable_name>")

then you can replace the value in your code with the <variable_name>

NOTE: DATE_NOW fetches the current system time

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions