test_successful_logoff.yml 1.67 KB
---
http_interactions:
- request:
    method: get
    uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logon?CompanyId=L&CompanyPassword=&Operator=wland&OperatorPassword=piperita2016
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Syspro/7 RubyBindings/1.0.0.alpha.1
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Length:
      - '36'
      Content-Type:
      - application/octet-stream
      Server:
      - Microsoft-HTTPAPI/2.0
      Date:
      - Thu, 17 May 2018 16:53:11 GMT
    body:
      encoding: UTF-8
      string: 'A23FDE0669C9E64D9D0C165DDE9324AD00  '
    http_version: 
  recorded_at: Thu, 17 May 2018 16:53:11 GMT
- request:
    method: get
    uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logoff?UserId=A23FDE0669C9E64D9D0C165DDE9324AD00%20%20
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Syspro/7 RubyBindings/1.0.0.alpha.1
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Length:
      - '1'
      Content-Type:
      - application/octet-stream
      Server:
      - Microsoft-HTTPAPI/2.0
      Date:
      - Thu, 17 May 2018 16:53:11 GMT
    body:
      encoding: UTF-8
      string: '0'
    http_version: 
  recorded_at: Thu, 17 May 2018 16:53:11 GMT
recorded_with: VCR 4.0.0