Parent Directory | Revision Log
initial import of cruft around TR-069
1 | Name: GetParameterNames test |
2 | Scenario: |
3 | - Send GetParameterNames with non-existant parameter name. |
4 | - Expect to receive an error. |
5 | Include: test_files/inform.txt |
6 | Include: test_files/inform_response.txt |
7 | Request: <soap:Envelope |
8 | xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" |
9 | soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
10 | xmlns:cwmp="urn:dslforum-org:cwmp-1-0"> |
11 | <soap:Header> |
12 | <cwmp:ID soap:mustUnderstand="1">1234</cwmp:ID> |
13 | <cwmp:NoMoreRequests>1</cwmp:NoMoreRequests> |
14 | </soap:Header> |
15 | <soap:Body> |
16 | <cwmp:GetParameterNames> |
17 | <cwmp:ParameterPath>.a.d.3.e</cwmp:ParameterPath> |
18 | <cwmp:NextLevel>0</cwmp:NextLevel> |
19 | </cwmp:GetParameterNames> |
20 | </soap:Body> |
21 | </soap:Envelope> |
22 | Response: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:cwmp="urn:dslforum-org:cwmp-1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
23 | <soap:Header> |
24 | <cwmp:ID soap:mustUnderstand="1" xsi:type="xsd:string">1234</cwmp:ID> |
25 | </soap:Header> |
26 | <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> |
27 | <soap:Fault> |
28 | <faultcode xsi:type="xsd:string">Client</faultcode> |
29 | <faultstring xsi:type="xsd:string">CWMP fault</faultstring> |
30 | <detail> |
31 | <cwmp:Fault> |
32 | <FaultCode xsi:type="xsd:int">9005</FaultCode> |
33 | <FaultString xsi:type="xsd:string">Invalid parameter name</FaultString> |
34 | </cwmp:Fault> |
35 | </detail> |
36 | </soap:Fault> |
37 | </soap:Body> |
38 | </soap:Envelope> |
39 | |
40 | Include: test_files/session_end.txt |
ViewVC Help | |
Powered by ViewVC 1.1.26 |