test_successful_logoff.yml 1.73 KB
---
http_interactions:
- request:
    method: get
    uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logon?CompanyId=<syspro_company>&CompanyPassword=&Operator=<syspro_username>&OperatorPassword=<syspro_password>
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Syspro/7 RubyBindings/1.0.0.alpha.2
      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-Type:
      - application/octet-stream
      Server:
      - Microsoft-HTTPAPI/2.0
      Date:
      - Wed, 09 Jan 2019 22:58:07 GMT
      Content-<syspro_company>ength:
      - '36'
    body:
      encoding: UTF-8
      string: '8769428E37B2BF4AA353D1440BA1834600  '
    http_version: 
  recorded_at: Wed, 09 Jan 2019 22:58:05 GMT
- request:
    method: get
    uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logoff?UserId=8769428E37B2BF4AA353D1440BA1834600%20%20
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Syspro/7 RubyBindings/1.0.0.alpha.2
      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-Type:
      - application/octet-stream
      Server:
      - Microsoft-HTTPAPI/2.0
      Date:
      - Wed, 09 Jan 2019 22:58:07 GMT
      Content-<syspro_company>ength:
      - '1'
    body:
      encoding: UTF-8
      string: '0'
    http_version: 
  recorded_at: Wed, 09 Jan 2019 22:58:05 GMT
recorded_with: VCR 4.0.0