meta {
  name: Get user metrics
  type: http
  seq: 2
}

get {
  url: {{BASE_URL}}/api/metrics
  body: none
  auth: bearer
}

auth:bearer {
  token: {{WRITEUSER_TOKEN}}
}

assert {
  res.status: eq 200
  res.headers['content-type']: eq text/plain; charset=utf-8
  res.body: contains wakatime_heartbeats_total
  res.body: notContains wakatime_admin_heartbeats_total
}
