Contributions
Re: Changing test step names using Groovy
import groovy.io.FileType ///getTestStepAt(3) means the testcase is at the 4th index in testsuite, it starts like an error context.testCase.getTestStepAt(3).setName("MY new testcase Name") Hope it helps6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes1CommentHow to send todays date in JSON reqest while doing a HTTP Post.
Hi All I wanted to know if its possible to sent current day in JSON post request without me having to manually modify request each time. so I am looking for dynamic date My POST request looks like this: Message Body { "empNumber": 100000, "dept": "IT", "empName": "Testing Champ", "joiningDate": "2017-08-24", } Response: [{confirmationNum("123132")}] 'So joining date need to be dynamic so I dont have to update case everyday. Thanks7 years agoPlace ReadyAPI QuestionsReadyAPI Questions16KViews0likes1Comment