Ready api groovy script 参数化

 

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

猜你喜欢

转载自www.cnblogs.com/gqhwk/p/9560682.html