Blame view

test/cassettes/test_logon_error.yml 906 Bytes
81bf56e4   Isaac Lewis   logon error handling
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  ---
  http_interactions:
  - request:
      method: get
      uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logon?CompanyId=L&CompanyPassword=&Operator=wland&OperatorPassword=bad_password
      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:
        - '32'
        Content-Type:
        - application/octet-stream
        Server:
        - Microsoft-HTTPAPI/2.0
        Date:
        - Mon, 14 May 2018 20:17:51 GMT
      body:
        encoding: UTF-8
        string: 'ERROR: Invalid operator password'
      http_version: 
    recorded_at: Mon, 14 May 2018 20:17:50 GMT
  recorded_with: VCR 4.0.0