name: Check admin account
testcases:
- name: check_admin_account
  steps:
    - type: http
      method: POST
      url: '{{.pfserver_webadmin_url}}/api/v1/login'
      ignore_verify_ssl: true
      body: >-
        {
        "username": "{{.pfserver_default_admin_user}}",
        "password": "{{.pfserver_admin_password}}"
        }      
      headers:
        "Content-Type": "application/json"
      assertions:
        - result.statuscode ShouldEqual 200
