Sha256: dd14e732a5be219e2e5ce9357b6a2db3f41dde8b0d915161f1e14a6734c77f64

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw
    body:
      encoding: UTF-8
      string: '[{"value":4,"timestamp":1471274437980}]'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - identity
      User-Agent:
      - hawkular-client-ruby
      Content-Type:
      - application/json
      Content-Length:
      - '39'
      Host:
      - localhost:8080
  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:37 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:37 GMT
recorded_with: VCR 3.0.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hawkular-client-2.7.0 spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml