videofeeds/server/tsrc/VCXVodContentApiTest/conf/VCXVodContentApiTestSearchStressR3.cfg
branchRCL_3
changeset 23 befca0ec475f
equal deleted inserted replaced
22:839377eedc2b 23:befca0ec475f
       
     1 #***********************************************************************************
       
     2 #
       
     3 # STIF test script file for testing VOD content client API.
       
     4 #
       
     5 #***********************************************************************************
       
     6 
       
     7 [StifSettings]
       
     8 CapsModifier= IptvTestClientApiCapsMod.exe
       
     9 [EndStifSettings]
       
    10 
       
    11 [Define]
       
    12 INCLUDE c:\testframework\VCXConsts.inc
       
    13 INCLUDE c:\testframework\VCXErrors.inc
       
    14 INCLUDE c:\testframework\VCXVodContentApiTest.inc
       
    15 INCLUDE c:\testframework\VCXServiceNames.inc
       
    16 INCLUDE c:\testframework\VCXServiceUpdating.inc
       
    17 [Enddefine]
       
    18 
       
    19 #------------------------------------------------------------------------------------
       
    20 #
       
    21 # Setup services in service database and delete the EPG db.
       
    22 #
       
    23 #------------------------------------------------------------------------------------
       
    24 [Test]
       
    25 title ET11198 <not a test> Setup search stress test services
       
    26 
       
    27 create VCXTestUtilModule Util
       
    28 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
    29 Util CopyMethod "Internet" "Internet" "Internet"
       
    30 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
    31 Util SetUsedDestination DEFAULT_DEST
       
    32 // Disable connection dialog for "Internet" destination.
       
    33 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
    34 Util SetDefaultIapCenrep
       
    35 delete Util
       
    36 
       
    37 pause PAUSE
       
    38 create VCXServiceManagementApiTest IptvTest
       
    39 IptvTest Create
       
    40 IptvTest DeleteAllServices SYNC
       
    41 
       
    42 IptvTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    43 IptvTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
    44 IptvTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
       
    45 IptvTest UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
    46 IptvTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_1
       
    47 
       
    48 pause PAUSE
       
    49 [Endtest]
       
    50 
       
    51 #------------------------------------------------------------------------------------
       
    52 #
       
    53 # Check that CIptvVodContentClient::Search() works if it is done repeatedly
       
    54 # from same CIptvVodContentClient instance and 3G_AP is 3G.
       
    55 #
       
    56 #------------------------------------------------------------------------------------
       
    57 [Test]
       
    58 title ET11150 Same client - Nseries 3G
       
    59 create VCXTestUtilModule Util
       
    60 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
    61 Util CreateMobilecrashWatcher
       
    62 pause PAUSE
       
    63 create VCXVodContentApiTest test
       
    64 test EnableThumbnails
       
    65 test DeleteEpgDb
       
    66 test Create EXTRA_SERVICE_1
       
    67 
       
    68 test SelectIap 3G_AP
       
    69 
       
    70 loop LOOP_CNT_3G
       
    71 
       
    72 print LOOP_COUNTER
       
    73 
       
    74 test Search Amaz
       
    75 allownextresult KIptvErrorRssSearchSucceed
       
    76 allownextresult KIptvErrorRssSearchFailed
       
    77 allownextresult EIptvDlConnectionFailed
       
    78 allownextresult 0
       
    79 allownextresult EIptvDlGeneral
       
    80 waittestclass test
       
    81 
       
    82 test Search Promo
       
    83 allownextresult KIptvErrorRssSearchSucceed
       
    84 allownextresult KIptvErrorRssSearchFailed
       
    85 allownextresult EIptvDlConnectionFailed
       
    86 allownextresult 0
       
    87 allownextresult EIptvDlGeneral
       
    88 waittestclass test
       
    89 
       
    90 endloop
       
    91 
       
    92 test Destroy
       
    93 delete test
       
    94 Util CheckMobilecrashes
       
    95 delete Util
       
    96 [Endtest]
       
    97 
       
    98 #------------------------------------------------------------------------------------
       
    99 #
       
   100 # Check that CIptvVodContentClient::Search() works if it is done repeatedly
       
   101 # from different CIptvVodContentClient instance and 3G_AP is 3G.
       
   102 #
       
   103 #------------------------------------------------------------------------------------
       
   104 [Test]
       
   105 title ET11152 Diff client - Nseries 3G
       
   106 create VCXTestUtilModule Util
       
   107 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
   108 Util CreateMobilecrashWatcher
       
   109 
       
   110 loop LOOP_CNT_3G
       
   111 pause PAUSE
       
   112 print LOOP_COUNTER
       
   113 
       
   114 create VCXVodContentApiTest test
       
   115 test EnableThumbnails
       
   116 test DeleteEpgDb
       
   117 
       
   118 test Create EXTRA_SERVICE_1
       
   119 test SelectIap 3G_AP
       
   120 
       
   121 test Search Amaz
       
   122 allownextresult KIptvErrorRssSearchSucceed
       
   123 allownextresult KIptvErrorRssSearchFailed
       
   124 allownextresult EIptvDlConnectionFailed
       
   125 allownextresult 0
       
   126 allownextresult EIptvDlGeneral
       
   127 waittestclass test
       
   128 
       
   129 test Search Promo
       
   130 allownextresult KIptvErrorRssSearchSucceed
       
   131 allownextresult KIptvErrorRssSearchFailed
       
   132 allownextresult EIptvDlConnectionFailed
       
   133 allownextresult 0
       
   134 allownextresult EIptvDlGeneral
       
   135 waittestclass test
       
   136 
       
   137 test Destroy
       
   138 delete test
       
   139 
       
   140 endloop
       
   141 
       
   142 Util CheckMobilecrashes
       
   143 delete Util
       
   144 [Endtest]
       
   145 
       
   146 #------------------------------------------------------------------------------------
       
   147 #
       
   148 # Check that CIptvVodContentClient::Search() works if it is done repeatedly
       
   149 # from same CIptvVodContentClient instance and 3G_AP is 3G.
       
   150 #
       
   151 #------------------------------------------------------------------------------------
       
   152 [Test]
       
   153 title ET11154 Same client - Nseries WLAN
       
   154 create VCXTestUtilModule Util
       
   155 Util SetMethodPriority DEFAULT_DEST WLAN_AP 0
       
   156 Util CreateMobilecrashWatcher
       
   157 pause PAUSE
       
   158 create VCXVodContentApiTest test
       
   159 test EnableThumbnails
       
   160 test DeleteEpgDb
       
   161 test Create EXTRA_SERVICE_1
       
   162 
       
   163 test SelectIap WLAN_AP
       
   164 
       
   165 loop LOOP_CNT_3G
       
   166 
       
   167 print LOOP_COUNTER
       
   168 
       
   169 test Search Amaz
       
   170 allownextresult KIptvErrorRssSearchSucceed
       
   171 allownextresult KIptvErrorRssSearchFailed
       
   172 allownextresult EIptvDlConnectionFailed
       
   173 allownextresult 0
       
   174 allownextresult EIptvDlGeneral
       
   175 waittestclass test
       
   176 
       
   177 test Search Promo
       
   178 allownextresult KIptvErrorRssSearchSucceed
       
   179 allownextresult KIptvErrorRssSearchFailed
       
   180 allownextresult EIptvDlConnectionFailed
       
   181 allownextresult 0
       
   182 allownextresult EIptvDlGeneral
       
   183 waittestclass test
       
   184 
       
   185 endloop
       
   186 
       
   187 test Destroy
       
   188 delete test
       
   189 Util CheckMobilecrashes
       
   190 delete Util
       
   191 [Endtest]
       
   192 
       
   193 #------------------------------------------------------------------------------------
       
   194 #
       
   195 # Check that CIptvVodContentClient::Search() works if it is done repeatedly
       
   196 # from different CIptvVodContentClient instance and 3G_AP is 3G.
       
   197 #
       
   198 #------------------------------------------------------------------------------------
       
   199 [Test]
       
   200 title ET11156 Diff client - Nseries WLAN
       
   201 create VCXTestUtilModule Util
       
   202 Util SetMethodPriority DEFAULT_DEST WLAN_AP 0
       
   203 Util CreateMobilecrashWatcher
       
   204 pause PAUSE
       
   205 
       
   206 loop LOOP_CNT_3G
       
   207 pause PAUSE
       
   208 print LOOP_COUNTER
       
   209 
       
   210 create VCXVodContentApiTest test
       
   211 test EnableThumbnails
       
   212 test DeleteEpgDb
       
   213 
       
   214 test Create EXTRA_SERVICE_1
       
   215 test SelectIap WLAN_AP
       
   216 
       
   217 test Search Amaz
       
   218 allownextresult KIptvErrorRssSearchSucceed
       
   219 allownextresult KIptvErrorRssSearchFailed
       
   220 allownextresult EIptvDlConnectionFailed
       
   221 allownextresult 0
       
   222 allownextresult EIptvDlGeneral
       
   223 waittestclass test
       
   224 
       
   225 test Search Promo
       
   226 allownextresult KIptvErrorRssSearchSucceed
       
   227 allownextresult KIptvErrorRssSearchFailed
       
   228 allownextresult EIptvDlConnectionFailed
       
   229 allownextresult 0
       
   230 allownextresult EIptvDlGeneral
       
   231 waittestclass test
       
   232 
       
   233 test Destroy
       
   234 delete test
       
   235 
       
   236 endloop
       
   237 
       
   238 Util CheckMobilecrashes
       
   239 delete Util
       
   240 [Endtest]
       
   241 
       
   242 #------------------------------------------------------------------------------------
       
   243 #
       
   244 # Check that CIptvVodContentClient::Search() and CIptvVodContentClient::CancelSearch() works
       
   245 # if they are done repeatedly from different CIptvVodContentClient instance and 3G_AP is 3G.
       
   246 #
       
   247 #------------------------------------------------------------------------------------
       
   248 [Test]
       
   249 title ET11158 STRESS Cancel search
       
   250 create VCXTestUtilModule Util
       
   251 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
   252 Util CreateMobilecrashWatcher
       
   253 pause PAUSE
       
   254 
       
   255 create VCXVodContentApiTest test
       
   256 test EnableThumbnails
       
   257 test DeleteEpgDb
       
   258 
       
   259 test Create EXTRA_SERVICE_1
       
   260 test SelectIap 3G_AP
       
   261 
       
   262 loop LOOP_CNT_3G
       
   263 print LOOP_COUNTER
       
   264 
       
   265 test Search Spore
       
   266 test CancelSearch
       
   267 
       
   268 test Search Truth
       
   269 allownextresult KIptvErrorRssSearchSucceed
       
   270 allownextresult KIptvErrorRssSearchFailed
       
   271 allownextresult EIptvDlConnectionFailed
       
   272 allownextresult 0
       
   273 allownextresult EIptvDlGeneral
       
   274 waittestclass test
       
   275 
       
   276 endloop
       
   277 
       
   278 test Destroy
       
   279 delete test
       
   280 
       
   281 Util CheckMobilecrashes
       
   282 delete Util
       
   283 [Endtest]
       
   284 
       
   285 #------------------------------------------------------------------------------------
       
   286 #
       
   287 # Check that CIptvVodContentClient::Search() and CIptvVodContentClient::UpdateEcg()
       
   288 # works if they are done repeatedly from different CIptvVodContentClient instance and 3G_AP is 3G.
       
   289 #
       
   290 #------------------------------------------------------------------------------------
       
   291 [Test]
       
   292 title ET11159 STRESS Update and Search
       
   293 create VCXTestUtilModule Util
       
   294 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
   295 Util CreateMobilecrashWatcher
       
   296 pause PAUSE
       
   297 
       
   298 create VCXVodContentApiTest test
       
   299 test EnableThumbnails
       
   300 test DeleteEpgDb
       
   301 test Create EXTRA_SERVICE_1
       
   302 test SelectIap 3G_AP
       
   303 
       
   304 loop LOOP_CNT_3G
       
   305 
       
   306 print LOOP_COUNTER
       
   307 
       
   308 test UpdateEcg
       
   309 allownextresult KErrNone
       
   310 allownextresult KIptvErrorEpgUpdateFailed
       
   311 allownextresult EIptvDlConnectionFailed
       
   312 waittestclass test
       
   313 
       
   314 test Search Promo
       
   315 allownextresult KIptvErrorRssSearchSucceed
       
   316 allownextresult KIptvErrorRssSearchFailed
       
   317 allownextresult EIptvDlConnectionFailed
       
   318 allownextresult 0
       
   319 allownextresult EIptvDlGeneral
       
   320 waittestclass test
       
   321 
       
   322 endloop
       
   323 
       
   324 test Destroy
       
   325 delete test
       
   326 
       
   327 Util CheckMobilecrashes
       
   328 delete Util
       
   329 [Endtest]