servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/Scripts/server/upnp_unsubscribe_0042_2.script
//
// 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:
//
//! upnp_unsubscribe_0042_2.script
//! @SYMTestSuiteName multiple_machines_server
//! @SYMScriptTestEnvironment
PRINT Run all multiple_machines_server
LOAD_SUITE multiple_machines_server
LOAD_SUITE test_synchronize_server
START_TESTCASE upnp_unsubscribe_0042_2
//! @file
//! @SYMTestCaseID UPNP - POS - 0042
//! @SYMTestCaseDesc Control point unsubscribe for state change in services.
//! @SYMREQ REQ8634, REQ8627, REQ8629,REQ8605, REQ8606, REQ8607, REQ8611, REQ8681, REQ10588, REQ10589, REQ4877, REQ8617,REQ8618, REQ8626
//! @SYMTestStatus Implemented
//! @SYMTestPriority 1
//! @SYMTestActions 1. Control point subscribes for state changes in services.
//! 2. Control point unsubscribe for the state change using UNSUBSCRIBE method using the SID.
//! 3. If requested UNSUBSCRIBE is approved then Service point may acknowledge with HTTP/1.1 200 OK within 30 sec, else with appropriate error messages. (may be like Incompatible headers, Invalid SID, or Missing SID)
//! @SYMTestExpectedResults The control point must not receive any state change events from the device.
//! @SYMTestType CIT
RUN_TEST_STEP 1000 test_synchronize_server TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\test_synchronize_client.ini serverdata
RUN_TEST_STEP 500 multiple_machines_server TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\subscribe_0042.ini upnp_unsubscribe_0042_2_server
END_TESTCASE upnp_unsubscribe_0042_2