|
1 //refresh_adv_0045.ini |
|
2 |
|
3 //////////////////////////////////////////////////////////////////////////////// |
|
4 //1.readini = TRUE means giving uri value from ini |
|
5 //2.readini = FALSE means it'll take value from Discovery results |
|
6 //3.In case 2, Before describe there must be Discover opeartion to be executed. |
|
7 //////////////////////////////////////////////////////////////////////////////// |
|
8 |
|
9 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
10 ////////////////--------------UPNP_REFRESH_ADVERTISEMENT_0045--------------------------////////////////// |
|
11 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
12 |
|
13 /////////////////////////////////////////////////////////////////////////////// |
|
14 ///CONTROL POINT ON REMOTE MACHINE AND SERVICE POINT ON LOACL MACHINE///////// |
|
15 ///DISCOVERY, DESCRIBE AND SUBSCRIBE HAPPENS AT CONTROL POINT////////////////// |
|
16 ///ONLY PUBLISH AND SENDING NOTIFICATION SENT FROM SERVICE POINT/////////////// |
|
17 /////////////////////////////////////////////////////////////////////////////// |
|
18 |
|
19 ////////////////////////////////////////////////////////////////////////// |
|
20 //Positive case -1 UPNP_REFRESH_ADVERTISEMENT_0045 |
|
21 //This test will run for 11 Minutes |
|
22 //Publish service,discover all, describe, subscribe and delay for 10 min |
|
23 ////////////////////////////////////////////////////////////////////////// |
|
24 |
|
25 [UPnP_Refresh_Advertisement_0001] |
|
26 listofsequences=publish_service_0001,delay_11Min_1 |
|
27 |
|
28 [UPnP_Refresh_Advertisement_0001_server] |
|
29 listofsequences=delay_0001,cpstatus_0001_1,discover_0001,describe_0001,subscribe_0001,delay_0001_2,Print_0001 |
|
30 |
|
31 [cpstatus_0001_1] |
|
32 cpstatus=TRUE |
|
33 operationtype=opendiscoverer |
|
34 |
|
35 [delay_0001] |
|
36 operationtype=starttimer |
|
37 waittime=10000000 |
|
38 |
|
39 [delay_0001_2] |
|
40 operationtype=starttimer |
|
41 waittime=600000000 |
|
42 |
|
43 [delay_11Min_1] |
|
44 operationtype=starttimer |
|
45 waittime=660000000 |
|
46 |
|
47 //Publish a service in a root device |
|
48 [publish_service_0001] |
|
49 operationtype=publishservice |
|
50 description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml |
|
51 servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService:1 |
|
52 usn=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
53 cachecontrol=1810 |
|
54 period=180 |
|
55 positivecase=TRUE |
|
56 schedulerstart=TRUE |
|
57 stopscheduler=TRUE |
|
58 |
|
59 //Discover all |
|
60 [discover_0001] |
|
61 listofmxtimes=50 |
|
62 listofservicetypes=ssdp:all |
|
63 operationtype=discovery |
|
64 schedulerstatus=TRUE |
|
65 delayenabled=FALSE |
|
66 waittime=50000000 |
|
67 canceldiscovery=FALSE |
|
68 positivecase=TRUE |
|
69 |
|
70 //Describe the Dev.Locations |
|
71 [describe_0001] |
|
72 operationtype=describe |
|
73 positivecase=TRUE |
|
74 readini = FALSE |
|
75 |
|
76 //Extracts EVENT SUB URLs and subscribe |
|
77 [subscribe_0001] |
|
78 subscriptionduration=400 |
|
79 operationtype=subscribe |
|
80 positivecase=TRUE |
|
81 readini = FALSE |
|
82 schedulerstart=TRUE |
|
83 stopscheduler=TRUE |
|
84 refersection=unsubscribe_0001 |
|
85 [unsubscribe_0001] |
|
86 readini = FALSE |
|
87 |
|
88 [Print_0001] |
|
89 operationtype=printresults |
|
90 |
|
91 /////////////////////////////////////////////////////////////////////////////////////// |
|
92 //Positive case -2 UPNP_REFRESH_ADVERTISEMENT_0045 |
|
93 //At service point |
|
94 //PUBLISH 11 SERVICES IN FISRT LEVEL OF EMBEDDED DEVICE, and wait for 11 minutes |
|
95 //At control point Do register notify fro ssdp:all and wait for 11 min. |
|
96 //////////////////////////////////////////////////////////////////////////////////////// |
|
97 |
|
98 [UPnP_Refresh_Advertisement_0002] |
|
99 listofsequences=delay_0002_1,publish_embedded_device_0002_1,publish_service_0002_1,publish_service_0002_2,publish_service_0002_3,publish_service_0002_4,publish_service_0002_5,publish_service_0002_6,publish_service_0002_7,publish_service_0002_8,publish_service_0002_9,publish_service_0002_10,publish_service_0002_11,delay_11Min_2_1 |
|
100 |
|
101 [UPnP_Refresh_Advertisement_0002_server] |
|
102 listofsequences=cpstatus_0002_2,register_0002_2,delay_11Min_2_2,Print_0002 |
|
103 |
|
104 [cpstatus_0002_2] |
|
105 cpstatus=TRUE |
|
106 operationtype=opendiscoverer |
|
107 |
|
108 [register_0002_2] |
|
109 listofuritypes=ssdp:all |
|
110 operationtype=registernotify |
|
111 schedulerstart=FALSE |
|
112 |
|
113 //Delay for 11 min at CP |
|
114 [delay_11Min_2_2] |
|
115 operationtype=starttimer |
|
116 waittime=660000000 |
|
117 |
|
118 //delay for 10 sec at SP |
|
119 [delay_0002_1] |
|
120 operationtype=starttimer |
|
121 waittime=10000000 |
|
122 |
|
123 //Delay for 11 min at SP after Publish |
|
124 [delay_11Min_2_1] |
|
125 operationtype=starttimer |
|
126 waittime=660000000 |
|
127 |
|
128 |
|
129 //FirstDevice -- embedded device |
|
130 [publish_embedded_device_0002_1] |
|
131 operationtype=publishdevice |
|
132 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
133 DeviceType=urn:schemas-upnp-org:device:FirstDevice:1 |
|
134 FriendlyName=FirstDevice |
|
135 Manufacturer=Symbian |
|
136 ManufacturerURL=http://www.symbian.com/ |
|
137 ModelDescription=UPnP FirstDevice Ver1 |
|
138 ModelName=IWS-UPNP-FirstDevice-1 |
|
139 ModelNumber=IWS-UPNP-TESTDEVICE-1 |
|
140 ModelURL=http://www.symbian.com/IWS-UPNP-FirstDevice-1 |
|
141 PresentationURL=http://www.symbian.com/IWS-UPNP-FirstDevice-1 |
|
142 SerialNumber=UPNP0123456789012345678901234567890123456789 |
|
143 UDN=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
144 UPC=123456789012 |
|
145 positivecase=TRUE |
|
146 cachecontrol=1810 |
|
147 schedulerstart=TRUE |
|
148 stopscheduler=TRUE |
|
149 |
|
150 //Publish a service1 in a embedded device -1 |
|
151 [publish_service_0002_1] |
|
152 operationtype=publishservice |
|
153 description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml |
|
154 servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService:1 |
|
155 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
156 cachecontrol=1810 |
|
157 period=180 |
|
158 positivecase=TRUE |
|
159 |
|
160 //Publish a service2 in embedded dev-1 |
|
161 [publish_service_0002_2] |
|
162 operationtype=publishservice |
|
163 description=z:\upnp\testupnp\client\testdata\service\connectionmanager2.xml |
|
164 servicetype=urn:schemas-upnp-org:service:CONNECTIONMANAGERTestService2:1 |
|
165 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
166 cachecontrol=1810 |
|
167 positivecase=TRUE |
|
168 |
|
169 //Publish a service3 in embedded dev-1 |
|
170 [publish_service_0002_3] |
|
171 operationtype=publishservice |
|
172 description=z:\upnp\testupnp\client\testdata\service\contentdirectory2.xml |
|
173 servicetype=urn:schemas-upnp-org:service:CONTENTDIRECTORYTestService3:1 |
|
174 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
175 cachecontrol=1810 |
|
176 positivecase=TRUE |
|
177 |
|
178 //Publish a service4 in embedded dev-1 |
|
179 [publish_service_0002_4] |
|
180 operationtype=publishservice |
|
181 description=z:\upnp\testupnp\client\testdata\service\renderingcontrol2.xml |
|
182 servicetype=urn:schemas-upnp-org:service:RENDERINGCONTROLTestService4:1 |
|
183 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
184 cachecontrol=1810 |
|
185 positivecase=TRUE |
|
186 |
|
187 //Publish a service5 in embedded dev-1 |
|
188 [publish_service_0002_5] |
|
189 operationtype=publishservice |
|
190 description=z:\upnp\testupnp\client\testdata\service\scheduledrecording1.xml |
|
191 servicetype=urn:schemas-upnp-org:service:SCHEDULEDRECORDINGTestService5:1 |
|
192 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
193 cachecontrol=1810 |
|
194 positivecase=TRUE |
|
195 |
|
196 //Publish a service6 in embedded dev-1 |
|
197 [publish_service_0002_6] |
|
198 operationtype=publishservice |
|
199 description=z:\upnp\testupnp\client\testdata\service\renderingcontrol1.xml |
|
200 servicetype=urn:schemas-upnp-org:service:RENDERINGCONTROL1TestService6:1 |
|
201 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
202 cachecontrol=1810 |
|
203 positivecase=TRUE |
|
204 |
|
205 //Publish a service7 in embedded dev-1 |
|
206 [publish_service_0002_7] |
|
207 operationtype=publishservice |
|
208 description=z:\upnp\testupnp\client\testdata\service\scan1.xml |
|
209 servicetype=urn:schemas-upnp-org:service:SCAN1TestService7:1 |
|
210 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
211 cachecontrol=1810 |
|
212 positivecase=TRUE |
|
213 |
|
214 //Publish a service8 in embedded dev-1 |
|
215 [publish_service_0002_8] |
|
216 operationtype=publishservice |
|
217 description=z:\upnp\testupnp\client\testdata\service\feeder1.xml |
|
218 servicetype=urn:schemas-upnp-org:service:FEEDER1TestService8:1 |
|
219 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
220 cachecontrol=1810 |
|
221 positivecase=TRUE |
|
222 |
|
223 //Publish a service9 in embedded dev-1 |
|
224 [publish_service_0002_9] |
|
225 operationtype=publishservice |
|
226 description=z:\upnp\testupnp\client\testdata\service\avtransport1.xml |
|
227 servicetype=urn:schemas-upnp-org:service:AVTRANSPORT1TestService9:1 |
|
228 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
229 cachecontrol=1810 |
|
230 positivecase=TRUE |
|
231 |
|
232 //Publish a service10 in embedded dev-1 |
|
233 [publish_service_0002_10] |
|
234 operationtype=publishservice |
|
235 description=z:\upnp\testupnp\client\testdata\service\contentdirectory1.xml |
|
236 servicetype=urn:schemas-upnp-org:service:CONTENTDIRECTORY1TestService10:1 |
|
237 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
238 cachecontrol=1810 |
|
239 positivecase=TRUE |
|
240 |
|
241 //Publish a service11 in embedded dev-1 |
|
242 [publish_service_0002_11] |
|
243 operationtype=publishservice |
|
244 description=z:\upnp\testupnp\client\testdata\service\connectionmanager1.xml |
|
245 servicetype=urn:schemas-upnp-org:service:CONNECTIONMANAGER1TestService11:1 |
|
246 usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1 |
|
247 cachecontrol=1810 |
|
248 positivecase=TRUE |
|
249 schedulerstart=TRUE |
|
250 stopscheduler=TRUE |
|
251 |
|
252 [Print_0002] |
|
253 operationtype=printresults |