scenario:
  id: a0b6a1165a9e405faa87c0fff7167224
  context:
    auth:
      type: customized
    base_path: null
    host: serverless.staging.tidbapi.com
  description: need continue_on_unexpected and export unmatched case
  name: serverless_import_service.openapi.403
steps:
- operation_id: ImportService_StartUpload
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/clusters/10179628114637936298/imports:startUpload",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ImportService_StartUpload with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_importservice_startupload_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a0b6a1165a9e405faa87c0fff7167224
  order: 1
  case_id: a0b6a1165a9e405faa87c0fff7167224_1
  case_type: typical_negative
  step_type: generated
- operation_id: ImportService_CompleteUpload
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/clusters/10179628114637936298/imports:completeUpload",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ImportService_CompleteUpload with
    X-Auth-Method: digest'
  max_retries: 0
  delay_after: 0
  name: test_403_importservice_completeupload_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a0b6a1165a9e405faa87c0fff7167224
  order: 2
  case_id: a0b6a1165a9e405faa87c0fff7167224_2
  case_type: typical_negative
  step_type: generated
- operation_id: ImportService_CancelUpload
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/clusters/10179628114637936298/imports:cancelUpload",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ImportService_CancelUpload with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_importservice_cancelupload_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a0b6a1165a9e405faa87c0fff7167224
  order: 3
  case_id: a0b6a1165a9e405faa87c0fff7167224_3
  case_type: typical_negative
  step_type: generated
- operation_id: ImportService_ListImports
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/v1beta1/clusters/10179628114637936298/imports",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ImportService_ListImports with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_importservice_listimports_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a0b6a1165a9e405faa87c0fff7167224
  order: 4
  case_id: a0b6a1165a9e405faa87c0fff7167224_4
  case_type: typical_negative
  step_type: generated
- operation_id: ImportService_CreateImport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/clusters/10179628114637936298/imports",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ImportService_CreateImport with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_importservice_createimport_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a0b6a1165a9e405faa87c0fff7167224
  order: 5
  case_id: a0b6a1165a9e405faa87c0fff7167224_5
  case_type: typical_negative
  step_type: generated
- operation_id: ImportService_GetImport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/v1beta1/clusters/10179628114637936298/imports/123",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ImportService_GetImport with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_importservice_getimport_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a0b6a1165a9e405faa87c0fff7167224
  order: 6
  case_id: a0b6a1165a9e405faa87c0fff7167224_6
  case_type: typical_negative
  step_type: generated
- operation_id: ImportService_CancelImport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/clusters/10179628114637936298/imports/123:cancel",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ImportService_CancelImport with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_importservice_cancelimport_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a0b6a1165a9e405faa87c0fff7167224
  order: 7
  case_id: a0b6a1165a9e405faa87c0fff7167224_7
  case_type: typical_negative
  step_type: generated
