Forum Discussion

neerajan's avatar
neerajan
Occasional Contributor
8 years ago
Solved

ReadyAPI log date manipulation

Hi,

 

I was wondering if it is possible to manipulate the date logged in 'ReadyAPI log' for a test request run. 

My scenario : - I need to log a past date after running a particular REST request test step, instead of the current system date.

 

I have attached an image of the date that I would like to be altered using a script or whichever means is possible.

 

Thanks,

Neeraja

 

 

7 Replies

  • 1. couldn't see any attachment.
    2. does not seem to be correct approach.
    3. why do you dependent on the log file to test something? I do not see any logic behind it.
    • neerajan's avatar
      neerajan
      Occasional Contributor

      Sorry , clueless about how I missed the attachment. Please find the image below.

       

      And yes it is pointless and not the right approach but just out of sheer curiosity I was wondering if it can be done.

       

      Thanks,

      Neeraja

      • nmrao's avatar
        nmrao
        Icon for Champion Level 1 rankChampion Level 1
        It is important to understand the use case, then we can see if there is other possible alternatives.