Contributions
How to get rid of the curly brackets when using the expression $ {}
Hi Community When I use the ${} expression, i.e. ${GetChangedActiveJobIds#Response}, the raw request is { {"Ids":[306, 360]}} on the Custom Properties. How do I get rid of the outer curly brackets? what expression can I use? I need to pass {"Ids" : [306, 360]} to the API.543Views0likes1Commentmoving test cases between Sprints
How do you move a test execution that is half-finished from the last spring to the current sprint with the execution statuses attached? Our sprint has finished but test executions were nearly done, instead of re-execute them all over, is it possible to move all the execution details from the last sprint to the current sprint?401Views0likes0Commentshow do I change the input value within JSON in the request body
I want to modify the values within JSON in the request body. Here's an example of the request body { "driverId": "${userInfo#Respoinse#$id}, "otherDetails" : "${driverDetails#Response#$details}" } I want to reverse the string value of parameter otherDetails. I have tried a few combinations and none of them works ${driverDetails#Response#$details.reverse()} ${driverDetails#Response#$details}.toString().reverse() $({driverDetails#Response#$details}).reverse() ${${driverDetails#Response#details}.reverse()} Appreciate some help here. How do I reverse the string value within the ${ } or there are other ways to do that?Solved680Views0likes1CommentRe: how do I access value from query in Groovy script
Thank you, KarelHusa, I tried the #testcase#todate solution, didn't quite work for me. However, I discovered a custom properties tab where I can access the values I was looking for without adding too much work for myself. My Groovy script will use the line of code context.expand to access those values using #testStep#propertyname. Thank you for pointing me in the direction of looking for information.1.5KViews1like0Commentshow do I access value from query in Groovy script
How do I get value from the query in the Groovy script? I can get the values from the Response by using for example: def driverId = context.expand('${userInfo#Response#$id}') However, if I want to get the value of the query parameter to-date, in this example, what do I put in ${ } ?Solved1.6KViews0likes3Comments