{
	"testCase": [
	    {
			"init": {
				"scope": "apim:subscribe"
			},
			"data": {
				"method": "POST",
				"url": "/api/am/store/v0.14//applications",
				"query-parameters": "",
				"request-headers": {
					"Authorization": "Bearer",
					"Content-Type": "application/json"
				},
				"request-payload":
				    "{\n
                        \"name\": \"TestApp\",\n   \"keys\": [],\n
                        \"applicationId\": \"9fade8f8-89b4-48a5-b1c2-12640d088020\",\n   \"status\": \"APPROVED\",\n
                        \"description\": \"This is to test.\",\n   \"throttlingTier\": \"Unlimited\",\n
                        \"callbackUrl\": \"testURL\",\n   \"subscriber\": \"admin\",\n
                        \"groupId\": \"testGroup\"
                    \n}",
				"response-headers": "",
				"response-payload": ""
			},
			"asserts": {
				"header-asserts": {
					"status-code": "201"
				},
				"body-asserts": []
			},
			"preserve-list": [
			    {
				    "attribute-name": "applicationId",
				    "response-location": "applicationId"
			    }
			]
		},
		{
            "init": {
                "scope": "apim:subscribe"
            },
            "data": {
                "method": "POST",
                "url": "/api/am/store/v0.14//applications/generate-keys?applicationId={applicationId}",
                "query-parameters": "",
                "request-headers": {
                    "Authorization": "Bearer",
                    "Content-Type": "application/json"
                },
                "request-payload":
                    "{\n
                        \"validityTime\": \"3600\",\n  \"keyType\": \"PRODUCTION\",\n
                        \"accessAllowDomains\": [\"ALL\"\n  ]
                    \n}",
                "response-headers": "",
                "response-payload": ""
            },
            "asserts": {
                "header-asserts": {
                    "status-code": "200"
                },
                "body-asserts": []
            },
            "preserve-list": [
                {
                    "attribute-name": "consumerKey",
                    "response-location": "consumerKey"
                }
            ]
        },
        {
            "init": {
                "scope": "apim:subscribe"
            },
            "data": {
                "method": "POST",
                "url": "/api/am/store/v0.14//applications/regenerate-consumersecret",
                "query-parameters": "",
                "request-headers": {
                    "Authorization": "Bearer",
                    "Content-Type": "application/json"
                },
                "request-payload":
                    "{\n
                        \"consumerKey\": \"(consumerKey)\"
                    \n}",
                "response-headers": "",
                "response-payload": ""
            },
            "asserts": {
                "header-asserts": {
                    "status-code": "200"
                },
                "body-asserts": []
            }
        },
        {
            "init": {
                "scope": "apim:subscribe"
            },
            "data": {
                "method": "DELETE",
                "url": "/api/am/store/v0.14//applications/{applicationId}",
                "query-parameters": "",
                "request-headers": {
                    "Authorization": "Bearer"
                },
                "request-payload":"",
                "response-headers": "",
                "response-payload": ""
            },
            "asserts": {
                "header-asserts": {
                    "status-code": "200"
                },
                "body-asserts": []
            }
        }
	]
}
