Blame view

test/cassettes/test_query_browse.yml 3.43 KB
f65bf747   Joe Weakley   Added and configu...
1
2
3
4
5
6
7
8
9
10
  ---
  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:
81bf56e4   Isaac Lewis   logon error handling
11
        - Syspro/7 RubyBindings/1.0.0.alpha.1
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:
0e38c117   Chad Zink   Finished POR pars...
30
        - Thu, 17 May 2018 16:52:05 GMT
f65bf747   Joe Weakley   Added and configu...
31
32
      body:
        encoding: UTF-8
0e38c117   Chad Zink   Finished POR pars...
33
        string: 'AA79E916A9C2814A887CB5F77952335400  '
f65bf747   Joe Weakley   Added and configu...
34
      http_version: 
0e38c117   Chad Zink   Finished POR pars...
35
    recorded_at: Thu, 17 May 2018 16:52:05 GMT
f65bf747   Joe Weakley   Added and configu...
36
37
  - request:
      method: get
0e38c117   Chad Zink   Finished POR pars...
38
      uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Browse?UserId=AA79E916A9C2814A887CB5F77952335400%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%0A%20%20%3CStartCondition%3E%3C/StartCondition%3E%0A%20%20%3CReturnRows%3E5%3C/ReturnRows%3E%0A%20%20%0A%20%20%3CBrowseDetails%3E%0A%20%20%20%20%3CTableName%3EInvMaster%3C/TableName%3E%0A%20%20%20%20%3CTitle%3EStockCodes%3C/Title%3E%0A%20%20%20%20%0A%20%20%20%20%20%20%3CColumn%3E%0A%20%20%20%20%20%20%20%20%3CColumnName%3EStockCode%3C/ColumnName%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%3C/Column%3E%0A%20%20%20%20%0A%20%20%3C/BrowseDetails%3E%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:
81bf56e4   Isaac Lewis   logon error handling
44
        - Syspro/7 RubyBindings/1.0.0.alpha.1
f65bf747   Joe Weakley   Added and configu...
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
        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:
        - '944'
        Content-Type:
        - application/octet-stream
        Server:
        - Microsoft-HTTPAPI/2.0
        Date:
0e38c117   Chad Zink   Finished POR pars...
63
        - Thu, 17 May 2018 16:52:09 GMT
f65bf747   Joe Weakley   Added and configu...
64
65
66
67
68
69
70
      body:
        encoding: UTF-8
        string: "<?xml version=\"1.0\" encoding=\"Windows-1252\"?>\n<InvMaster Language='05'
          Language2='EN' CssStyle='' DecFormat='1' DateFormat='01' Role='01' Version='7.0.036'
          OperatorPrimaryRole='   '>\n<Title>StockCodes</Title>\n<Row>\n<StockCode>\n<Value>02</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n</Row>\n<Row>\n<StockCode>\n<Value>021</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n</Row>\n<Row>\n<StockCode>\n<Value>0214011IFF</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n</Row>\n<Row>\n<StockCode>\n<Value>022</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\n</Row>\n<Row>\n<StockCode>\n<Value>023</Value>\n<DataType>AlphaNumeric</DataType>\n</StockCode>\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<Key>StockCode</Key>\n<KeyDescription>Stock code</KeyDescription>\n<Table>InvMaster</Table>\n</HeaderDetails>\n</InvMaster>\n "
      http_version: 
0e38c117   Chad Zink   Finished POR pars...
71
    recorded_at: Thu, 17 May 2018 16:52:09 GMT
f65bf747   Joe Weakley   Added and configu...
72
  recorded_with: VCR 4.0.0