Blame view

test/cassettes/test_query_browse.yml 4.09 KB
f65bf747   Joe Weakley   Added and configu...
1
2
3
4
  ---
  http_interactions:
  - request:
      method: get
6f37c7e8   Nathan-O   changed login cre...
5
      uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logon?CompanyId=L&CompanyPassword=&Operator=wland&OperatorPassword=Piperita2018
f65bf747   Joe Weakley   Added and configu...
6
7
8
9
10
      body:
        encoding: US-ASCII
        string: ''
      headers:
        User-Agent:
6f37c7e8   Nathan-O   changed login cre...
11
        - Syspro/7 RubyBindings/1.0.0.alpha.2
f65bf747   Joe Weakley   Added and configu...
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
        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:
6f37c7e8   Nathan-O   changed login cre...
30
        - Wed, 09 Jan 2019 00:28:39 GMT
f65bf747   Joe Weakley   Added and configu...
31
32
      body:
        encoding: UTF-8
6f37c7e8   Nathan-O   changed login cre...
33
        string: '42F9885C71D1C94C8D76D156C187573D00  '
f65bf747   Joe Weakley   Added and configu...
34
      http_version: 
6f37c7e8   Nathan-O   changed login cre...
35
    recorded_at: Wed, 09 Jan 2019 00:28:39 GMT
f65bf747   Joe Weakley   Added and configu...
36
37
  - request:
      method: get
6f37c7e8   Nathan-O   changed login cre...
38
      uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Browse?UserId=42F9885C71D1C94C8D76D156C187573D00%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CBrowse%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22COMBRW.XSD%22%3E%0A%20%20%3CBrowseName%3EInvMaster%3C/BrowseName%3E%0A%20%20%3CStartAtKey%3E%3C/StartAtKey%3E%0A%20%20%3CStartCondition%3E%3C/StartCondition%3E%0A%20%20%3CReturnRows%3E5%3C/ReturnRows%3E%0A%20%20%0A%3C/Browse%3E%0A%0A
f65bf747   Joe Weakley   Added and configu...
39
40
41
42
43
      body:
        encoding: US-ASCII
        string: ''
      headers:
        User-Agent:
6f37c7e8   Nathan-O   changed login cre...
44
        - Syspro/7 RubyBindings/1.0.0.alpha.2
f65bf747   Joe Weakley   Added and configu...
45
46
47
48
49
50
51
52
53
54
55
56
        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:
6f37c7e8   Nathan-O   changed login cre...
57
        - '1899'
f65bf747   Joe Weakley   Added and configu...
58
59
60
61
62
        Content-Type:
        - application/octet-stream
        Server:
        - Microsoft-HTTPAPI/2.0
        Date:
6f37c7e8   Nathan-O   changed login cre...
63
        - Wed, 09 Jan 2019 00:28:41 GMT
f65bf747   Joe Weakley   Added and configu...
64
65
66
      body:
        encoding: UTF-8
        string: "<?xml version=\"1.0\" encoding=\"Windows-1252\"?>\n<InvMaster Language='05'
6f37c7e8   Nathan-O   changed login cre...
67
68
69
70
71
72
73
74
75
          Language2='EN' CssStyle='' DecFormat='1' DateFormat='01' Role='01' Version='7.0.038'
          OperatorPrimaryRole='   '>\n<Title>Stock Codes</Title>\n<Row>\n<StockCode>\n<Value>02</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n<Description>\n<Value>STR</Value>\n<DataType>AlphaNumeric</DataType>\n</Description>\n<LongDesc>\n<Value>SPEARMINT
          TERPENES</Value>\n<DataType>AlphaNumeric</DataType>\n</LongDesc>\n</Row>\n<Row>\n<StockCode>\n<Value>021</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n<Description>\n<Value>STR</Value>\n<DataType>AlphaNumeric</DataType>\n</Description>\n<LongDesc>\n<Value>SPEARMINT
          TERPENES NATIVE</Value>\n<DataType>AlphaNumeric</DataType>\n</LongDesc>\n</Row>\n<Row>\n<StockCode>\n<Value>0214011IFF</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n<Description>\n<Value>00196998</Value>\n<DataType>AlphaNumeric</DataType>\n</Description>\n<LongDesc>\n<Value>SPEARMINT
          TERPENES</Value>\n<DataType>AlphaNumeric</DataType>\n</LongDesc>\n</Row>\n<Row>\n<StockCode>\n<Value>022</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n<Description>\n<Value>STR</Value>\n<DataType>AlphaNumeric</DataType>\n</Description>\n<LongDesc>\n<Value>SPEARMINT
          TERPENES SCOTCH</Value>\n<DataType>AlphaNumeric</DataType>\n</LongDesc>\n</Row>\n<Row>\n<StockCode>\n<Value>023</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n<Description>\n<Value>STR</Value>\n<DataType>AlphaNumeric</DataType>\n</Description>\n<LongDesc>\n<Value>SPEARMINT
          TERPENES INDIAN</Value>\n<DataType>AlphaNumeric</DataType>\n</LongDesc>\n</Row>\n<NextPrevKey>\n<PrevKey>02</PrevKey>\n<NextKey>023</NextKey>\n<Fwd>True</Fwd>\n<Back>False</Back>\n</NextPrevKey>\n<HeaderDetails>\n<Header>Stock
          code</Header>\n<Header>Description</Header>\n<Header>Long description</Header>\n<Key>StockCode</Key>\n<KeyDescription>Stock
          code</KeyDescription>\n<Table>InvMaster</Table>\n</HeaderDetails>\n</InvMaster>\n "
f65bf747   Joe Weakley   Added and configu...
76
      http_version: 
6f37c7e8   Nathan-O   changed login cre...
77
    recorded_at: Wed, 09 Jan 2019 00:28:40 GMT
f65bf747   Joe Weakley   Added and configu...
78
  recorded_with: VCR 4.0.0