{
    "testCase": [
            {
                "init": {
                    "scope": "apim:tier_view"
                },
                "data": {
                    "method": "GET",
                    "url": "api/am/admin/v0.17/throttling/policies/subscription",
                    "query-parameters": "",
                    "request-headers": {
                        "Authorization": "Bearer"
                    },
                    "request-payload": "",
                    "response-headers": "",
                    "response-payload": ""
                },
                "asserts": {
                    "header-asserts": {
                        "status-code": "200"
                    },
                    "body-asserts": []
                }
            }
            ,
            {
                "init": {
                    "scope": "apim:tier_manage"
                },
                "data": {
                    "method": "POST",
                    "url": "api/am/admin/v0.17/throttling/policies/subscription",
                    "query-parameters": "",
                    "request-headers": {
                        "Authorization": "Bearer"
                    },
                    "request-payload": "{\"policyName\": \"NewTier\",\"displayName\": \"NewTier\", \n
                    \"description\": \"Allows 20 requests per minute\",\"defaultLimit\": {\"type\": \n
                    \"RequestCountLimit\",\"timeUnit\": \"min\",\"unitTime\": 1,\"requestCount\": 20}, \n
                    \"rateLimitCount\": -1,\"rateLimitTimeUnit\": \"NA\",\"customAttributes\": [], \n
                    \"stopOnQuotaReach\": true,\"billingPlan\": \"FREE\",\r\n   \"monetization\": {\r\n    \"monetizationPlan\": \"FixedRate\"\r\n  }\r\n}",
                    "response-headers": "",
                    "response-payload": ""
                },
                "asserts": {
                    "header-asserts": {
                        "status-code": "201"
                    },
                    "body-asserts": []
                },
                 "preserve-list":[
                      {
                          "attribute-name":"policyId",
                          "response-location":"policyId"
                      }
                 ]
            }
            ,
            {
                "init": {
                    "scope": "apim:tier_manage"
                },
                "data": {
                    "method": "PUT",
                    "url": "api/am/admin/v0.17/throttling/policies/subscription/{policyId}",
                    "query-parameters": {
                        "tierName": "NewTier",
                        "Content-Type": "application/json"
                    },
                    "request-headers": {
                        "Authorization": "Bearer"
                    },
                   "request-payload": "{\"policyName\": \"NewTier\",\"displayName\": \"NewTier\", \n
                                       \"description\": \"Allows 20 requests per minute\",\"defaultLimit\": {\"type\": \n
                                       \"RequestCountLimit\",\"timeUnit\": \"min\",\"unitTime\": 1,\"requestCount\": 25}, \n
                                       \"rateLimitCount\": -1,\"rateLimitTimeUnit\": \"NA\",\"customAttributes\": [], \n
                                       \"stopOnQuotaReach\": true,\"billingPlan\": \"FREE\",\r\n   \"monetization\": {\r\n    \"monetizationPlan\": \"FixedRate\"\r\n  }\r\n}",
                    "response-headers": "",
                    "response-payload": ""
                },
                "asserts": {
                    "header-asserts": {
                        "status-code": "200"
                    },
                    "body-asserts": []
                }

            }
            ,
            {
                "init": {
                    "scope": "apim:tier_manage"
                },
                "data": {
                    "method": "DELETE",
                    "url": "api/am/admin/v0.17/throttling/policies/subscription/{policyId}",
                    "query-parameters": "",
                    "request-headers": {
                        "Authorization": "Bearer"
                    },
                    "request-payload": "",
                    "response-headers": "",
                    "response-payload": ""
                },
                "asserts": {
                    "header-asserts": {
                        "status-code": "200"
                    },
                    "body-asserts": []
                }
            }
    ]
}
