Sha256: ac695ea5a521b0f1caad835010f7600d363d4dca7d35d14f2a9ec7dcc358f82c

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data
    body:
      encoding: UTF-8
      string: '[{"value":4,"timestamp":1467303858961}]'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Content-Type:
      - application/json
      Content-Length:
      - '39'
      User-Agent:
      - Ruby
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Expires:
      - '0'
      Cache-Control:
      - no-cache, no-store, must-revalidate
      X-Powered-By:
      - Undertow/1
      Server:
      - WildFly/10
      Pragma:
      - no-cache
      Date:
      - Thu, 30 Jun 2016 16:24:18 GMT
      Connection:
      - keep-alive
      Content-Type:
      - application/json
      Content-Length:
      - '69'
    body:
      encoding: UTF-8
      string: '{"errorMsg":"Tenant is not specified. Use ''Hawkular-Tenant'' header."}'
    http_version: 
  recorded_at: Thu, 30 Jun 2016 16:24:18 GMT
recorded_with: VCR 3.0.1

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hawkular-client-2.6.0 spec/vcr_cassettes/Metrics/metrics_services/Templates/No_Tenant/Should_fail.yml
hawkular-client-2.5.0 spec/vcr_cassettes/Metrics/metrics_services/Templates/No_Tenant/Should_fail.yml
hawkular-client-2.4.0 spec/vcr_cassettes/Metrics/metrics_services/Templates/No_Tenant/Should_fail.yml
hawkular-client-2.3.0 spec/vcr_cassettes/Metrics/metrics_services/Templates/No_Tenant/Should_fail.yml