//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
// HTTPClientAPITest.SCRIPT
//
// Script file for running HTTP Service API tests
//
//! @file			httpserviceapitest.script
//



PRINT Starting_HTTP_Service_API_Test

ced  z:\testdata\configs\ethernetced_httpserviceapi.xml

RUN_UTILS  MkDir c:\httptest\
RUN_UTILS  MkDir c:\httptest\httpservicetest
RUN_UTILS  MakeReadWrite c:\httptest\httpservicetest\httpclient.ini
RUN_UTILS  MakeReadWrite c:\httptest\httpservicetest\testdl.txt
RUN_UTILS  MakeReadWrite c:\httptest\httpservicetest\testdl2.txt 
RUN_UTILS  MakeReadWrite c:\httptest\httpservicetest\testdlstore.txt
RUN_UTILS  MakeReadWrite c:\httptest\httpservicetest\testdlstore2.txt
RUN_UTILS  MakeReadWrite c:\httptest\httpservicetest\testdlstore3.txt
RUN_UTILS  MakeReadWrite c:\httptest\httpservicetest\testulstore2.txt
RUN_UTILS  MakeReadWrite c:\httptest\httpservicetest\testulstore3.txt

RUN_UTILS  DeleteFile c:\httptest\httpservicetest\httpclient.ini
RUN_UTILS  DeleteFile c:\httptest\httpservicetest\testdl.txt 
RUN_UTILS  DeleteFile c:\httptest\httpservicetest\testdl2.txt 
RUN_UTILS  DeleteFile c:\httptest\httpservicetest\testdlstore.txt
RUN_UTILS  DeleteFile c:\httptest\httpservicetest\testdlstore2.txt
RUN_UTILS  DeleteFile c:\httptest\httpservicetest\testdlstore3.txt
RUN_UTILS  DeleteFile c:\httptest\httpservicetest\testulstore2.txt
RUN_UTILS  DeleteFile c:\httptest\httpservicetest\testulstore3.txt


RUN_UTILS  CopyFile   z:\httptest\httpservicetest\httpclient.ini   c:\httptest\httpservicetest\httpclient.ini
RUN_UTILS  CopyFile   z:\httptest\httpservicetest\testdl.txt 	 c:\httptest\httpservicetest\testdl.txt 
RUN_UTILS  CopyFile   z:\httptest\httpservicetest\testdl2.txt 	 c:\httptest\httpservicetest\testdl2.txt 



// Load the test
LOAD_SUITE httpserviceapitest


START_TESTCASE	APPPROT-HTTP-SERVICE-API-0001
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST1
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0001


START_TESTCASE	APPPROT-HTTP-SERVICE-API-0002
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST2
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0002

START_TESTCASE	APPPROT-HTTP-SERVICE-API-0003
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST3
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0003

START_TESTCASE	APPPROT-HTTP-SERVICE-API-0004
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST4
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0004

START_TESTCASE	APPPROT-HTTP-SERVICE-API-0005
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST5
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0005

START_TESTCASE	APPPROT-HTTP-SERVICE-API-0006
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST6
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0006

START_TESTCASE	APPPROT-HTTP-SERVICE-API-0007
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST7
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0007

START_TESTCASE	APPPROT-HTTP-SERVICE-API-0008
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST8
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0008

START_TESTCASE	APPPROT-HTTP-SERVICE-API-0009
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST9
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-0009

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00010 
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST10
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00010

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00011
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST11
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00011

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00012
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST12
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00012

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00013
RUN_TEST_STEP 	900 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST13
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00013

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00014
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST14
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00014

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00015
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST15
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00015

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00016
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST16
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00016

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00017
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST17
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00017

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00018
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST18
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00018

START_TESTCASE	APPPROT-HTTP-SERVICE-API-00019
RUN_TEST_STEP 	600 	httpserviceapitest 	httpserviceapiteststep 	C:\HttpTest\httpservicetest\httpclient.ini 	TEST19
END_TESTCASE 	APPPROT-HTTP-SERVICE-API-00019

PRINT Finishing_HTTP_Service_API_Test


