Sha256: b2a8b12116634cb4a743299aaed8e84759e3535728a1d9435145daa7e625e9ff

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/counters/<%= id %>/data
    body:
      encoding: UTF-8
      string: '[{"value":4,"timestamp":1471274438767}]'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - identity
      User-Agent:
      - hawkular-client-ruby
      Content-Type:
      - application/json
      Content-Length:
      - '39'
      Host:
      - 127.0.0.1:8443
  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, 15 Aug 2016 15:20:38 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, 15 Aug 2016 15:20:38 GMT
recorded_with: VCR 3.0.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hawkular-client-2.9.0 spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml
hawkular-client-2.8.0 spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml
hawkular-client-2.7.0 spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml