test_successful_logoff.yml 1.66 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/0.1.0
      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:
      - Fri, 06 Apr 2018 19:22:53 GMT
    body:
      encoding: UTF-8
      string: '989D81EB0B184A499E7AC2E28724EE9000  '
    http_version: 
  recorded_at: Fri, 06 Apr 2018 19:22:52 GMT
- request:
    method: get
    uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logoff?UserId=989D81EB0B184A499E7AC2E28724EE9000%20%20
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Syspro/7 RubyBindings/0.1.0
      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:
      - Fri, 06 Apr 2018 19:22:53 GMT
    body:
      encoding: UTF-8
      string: '0'
    http_version: 
  recorded_at: Fri, 06 Apr 2018 19:22:52 GMT
recorded_with: VCR 4.0.0