test_logon_error.yml
948 Bytes
---
http_interactions:
- request:
method: get
uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logon?CompanyId=<syspro_company>&CompanyPassword=&Operator=<syspro_username>&OperatorPassword=bad_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:
- '32'
body:
encoding: UTF-8
string: 'ERROR: Invalid operator password'
http_version:
recorded_at: Wed, 09 Jan 2019 22:58:05 GMT
recorded_with: VCR 4.0.0