Contributions
- 9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes0Comments
Re: Calculating days to a date
Hi, Thanks for your reply. The code which you have provided works absolutely fine if the date is a new Date(). But I am pulling a date from database through query and storing it in a variable. Like this,date = it[0] log.info date would print '2015-09-29 17:31:54.5454000 -04:00' def sum = 16 def a = date + sum.days I don't get what I intend. I feel the date variable should be declared in a different way?9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes2CommentsCalculating days to a date
Hi, I have a scenario where I need to add days which is stored in a variable to a date(YYYY-MM-DD) which again is stored in a variable. The way I try to add, it is concatenating with the date and not adding the days. Below is an example code. import groovy.time.TimeCategory use (TimeCategory){ def a= b+ c.days log.info a } I am getting the output as2015-09-2916 days instead of 2015-11-13 Thanks for the help!Solved9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes4Comments- 9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.2KViews0likes0Comments
Re: Script Assertion Logs
Hi Rao, thank you for your response. I am using Ready API 1.4.1 and I don't see any logs under bin folder, but you are right it used to be in Soap UI pro. I want to see the logs generated automatically in text file just like it was in bin folder for Soap UI pro.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.2KViews0likes4CommentsScript Assertion Logs
Hi, I have written Groovy Script Assertions in all my Test cases with log.info "" messages. I want to know where I can find step by step groovy script assertion logs, so that I can infer details from it. Thanks,Solved9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.2KViews0likes6Comments