Sha256: 1a6f8e3a2073dba351dde58a3e93cbc7146408c36cbf544bb5ac2310b90f97e6

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/6c934cbf-7fe4-42a1-b79d-4b32c6c43971/data
    body:
      encoding: UTF-8
      string: '[{"value":4,"timestamp":1469453590417}]'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - identity
      User-Agent:
      - hawkular-client-ruby
      Content-Type:
      - application/json
      Content-Length:
      - '39'
  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:
      - Mon, 25 Jul 2016 13:33:10 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: Mon, 25 Jul 2016 13:33:10 GMT
recorded_with: VCR 3.0.3

Version data entries

4 entries across 4 versions & 1 rubygems

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