ContributionsMost RecentMost LikesSolutionsHow to display a customised error message which is based on response Is there a way to show custom error messages when the request fails For example, when the response is 403, I want to customize an error message and that error message should be displayed either in assertion or data sink. Is it possible? Any help will be very much appreciated. Thanks in advance SolvedHow to use (call) stored procedure in a data source step Can anyone please advise on how to call stored procedure using the data source step. Note sure how to use. Any help would be very much appreciated Thanks Advise on designing scenario based test case Hi, Could anyone please advise me to design scenario-based test cases for the following I have an application with sections and with different statuses Status A Status B Status C Roles Sec A Read Only Editable Read Only L1 Sec B Read Only Read Only Editable L2 Sec C Read Only Editable Editable L3 L1 role with status A all sections Read Only L1 role with Status B Sec 1 - Can edit sec 2 - Read Only Sec 3 - Read Only L1 role with Status C Sec 1 - Read Only Sec 2 - Can Edit Sec 3 - Read Only L2 role with status A all sections Read Only L2 role with Status B Sec 1 - Read Only Sec 2 - Read Only Sec 3 - Can Edit L2 role with Status C Sec 1 - Read Only Sec 2 - Read Only Sec 3 - Can Edit L3 role with status A all sections Read Only L3 role with Status B Sec 1 - Can Edit Sec 2 - Ready Only Sec 3 - Ready Only L3 role with Status C Sec 1 - Read Only Sec 2 - Can Edit Sec 3 - Read Only Hope I have explained clearly, as I'm fairly new to automation any help would be very much appreciated. Thanks Vani SolvedRe: Need to create multiple child records Hi Sonya/Richie, sorry for the late reply. Yes I have resolved the issue. Need to create multiple child records Hi, I 'm trying to create an application with 2 child records (decisions) example Application A with 2 child records (decision id 1 and decision id 2) I'm using following in the Post request. { "ctrCd" : "${#TestCase#ctrCd}", "eqId" : "${#TestCase#eqId}", "aimsNumber" : "${#TestCase#aimsNumber}", "currentCtrCd" : "${#TestCase#currentCtrCd}", "proposedCtrCd" : "${#TestCase#proposedCtrCd}", "applicationStatusId" : "${#TestCase#applicationStatusId}", "evidenceSummary": "***Evidence Summary from the API***", "currentOwner" : "${#TestCase#currentOwner}", "decisionList": [ { "decisionCategoryId": ${#TestCase#decisionCategoryId5}, "disabilityFg": ${#TestCase#disabilityFg5}, "severeDisabilityFg": ${#TestCase#severeDisabilityFg5}, "disabilityVerifiedFg": ${#TestCase#disabilityVerifiedFg5}, "requireSpecialEducationFg": ${#TestCase#requireSpecialEducationFg5}, "requireSpecialSchoolFg": ${#TestCase#requireSpecialSchoolFg5}, "isSchoolSuitableFg": ${#TestCase#isSchoolSuitableFg5}, "decisionTypeId": ${#TestCase#decisionTypeId5}, "refusalReason": "${#TestCase#refusalReason5}", "isNew": ${#TestCase#isNew5} "decisionCategoryId": ${#TestCase#decisionCategoryId6}, "disabilityFg": ${#TestCase#disabilityFg6}, "severeDisabilityFg": ${#TestCase#severeDisabilityFg6}, "disabilityVerifiedFg": ${#TestCase#disabilityVerifiedFg6}, "requireSpecialEducationFg": ${#TestCase#requireSpecialEducationFg6}, "requireSpecialSchoolFg": ${#TestCase#requireSpecialSchoolFg6}, "isSchoolSuitableFg": ${#TestCase#isSchoolSuitableFg6}, "decisionTypeId": ${#TestCase#decisionTypeId6}, "refusalReason": "${#TestCase#refusalReason6}", "isNew": ${#TestCase#isNew6} } ] } I'm a newbie so any help would be very much appreciated Thanks Re: Error when using groovy script to tomorrow's date Thanks Himanshu, it worked. Appreciate your help Error when using groovy script to tomorrow's date Hi I'm using the following script to get tomorrow's date use(groovy.time.TimeCategory) { def tomorrow = new Date() + 1.day //log.info tomorrow.format('yyyy-MM-dd\'T\'HH:mm:ssZ') return tomorrow.format('yyyy-MM-dd\'T\'HH:mm:ssZ') } and getting the following error when I ran the above script groovy.lang.MissingMethodException: No signature of method: java.util.Date.format() is applicable for argument types: (String) values: [yyyy-MM-dd'T'HH:mm:ssZ] Possible solutions: from(java.time.Instant), toYear(), stream(), getAt(java.lang.String), parse(java.lang.String), print(java.io.PrintWriter) error at line: 1 I'm very new to using a groovy script in ready API. Help would be appreciated Thanks SolvedError when using groovy script to tomorrow's date Hi I'm using the following script to get tomorrow's date use(groovy.time.TimeCategory) { def tomorrow = new Date() + 1.day //log.info tomorrow.format('yyyy-MM-dd\'T\'HH:mm:ssZ') return tomorrow.format('yyyy-MM-dd\'T\'HH:mm:ssZ') } and getting the following error when I ran the above script groovy.lang.MissingMethodException: No signature of method: java.util.Date.format() is applicable for argument types: (String) values: [yyyy-MM-dd'T'HH:mm:ssZ] Possible solutions: from(java.time.Instant), toYear(), stream(), getAt(java.lang.String), parse(java.lang.String), print(java.io.PrintWriter) error at line: 1 I'm very new to using a groovy script in ready API. Help would be appreciated Thanks Solved