
-
  name: $ddt{name}
  request:
    method: post
    url: /token
    data:
      grant_type: $ddt{grant_type}
      appid: $ddt{appid}
      secret: $ddt{secret}
  parameterize:
    - [ 'name','grant_type','appid','secret','asser_str']
    - ['成功获取鉴权码','client_credential','wxa64bb4f4d5a08047','9906f1cd88a1cb6f066468b697d8aa5b',access_token]
    - ['client_credential为空','','wxa64bb4f4d5a08047','9906f1cd88a1cb6f066468b697d8aa5b',40002]
    - ['appid为空','client_credential','','9906f1cd88a1cb6f066468b697d8aa5b',41002]
    - ['secret为空','client_credential','wxa64bb4f4d5a08047','',41004]
  extract:
    token: '"access_token":"(.*?)"'
    token1: $.access_token
  validate:
    - contains: $ddt{asser_str}
#    - db_equals: {"select * from uisql":expires_in}
#    - equals: {'expires_in':7200}




