Ready api groovy script 参数化

2021-07-13 18:08

阅读:697

def token_type =context.expand (‘${#Project#token_type}‘)
def access_token = context.expand(‘${#Project#access_token}‘)
def Authorization=token_type+" "+access_token
//testRunner.testCase.setPropertyValue( token_type+" "+access_token, context.expand(‘${#Project#Authorization}‘) )
//def timestamp = String.valueOf(System.currentTimeMillis());

return Authorization


评论


亲,登录后才可以留言!