Sr No Test case title Test Steps
1.Provide a valid end point url 2. Select
the test environment. 3. 3. Create
Set the valid end point url environment varibale with dafault /
https://login.microsoftonline.com/ with secret type 4.Provide valid request body
1 valid form-data key value pair to create a with valid parameter 5. Create a test
new access JWT authorization token. assertaion on test tab 6. Click on send
button
1 Select the test environment 2. Create new
Set the valid end point url https://msdn-mccp- landingzone environment varibale 3. Provide
management-api.happyforest- valid request body with valid parameter. 4.
45a710cd.westeurope.azurecontainerapps.io/ Provide a valid tenant id in the request body
2
api/v1/landingzones/ to create A New Landing 5. Provide a valid subscriptionId in the
Zone provide the appropriate Landing name request body 6. Provide a valid clientId in the
Zone i.e. Microsoft-Test-Zone request body 7. Provide a valid client
clientSecret in the request body.
Set the valid end point url https://msdn-mccp-
management-api.happyforest-
45a710cd.westeurope.azurecontainerapps.io/
3 api/v1/landingzones/Kits to create a kits on the
created landing zone and hit the request.
Set the valid end point url https://msdn-mccp-
4 management-api.happyforest-
45a710cd.westeurope.azurecontainerapps.io/
api/v1/landingzones to retrieve the all landing
one details
Set the valid end point url https://msdn-mccp-
management-api.happyforest-
45a710cd.westeurope.azurecontainerapps.io/
api/v1/landingzones to provide a valid
5 landingzones name and retrieve the specific
landingzone details
Set the valid end point url https://msdn-mccp-
management-api.happyforest-
45a710cd.westeurope.azurecontainerapps.io/
api/v1/landingzones/ to provide a valid
6 LanndingZoneName and KitName and retrieve
the specific kits details.
Set the valid end point url https://msdn-mccp-
management-api.happyforest-
45a710cd.westeurope.azurecontainerapps.io/
api/v1/landingzones/ to provide a valid
7 LanndingZoneName and KitName and retrieve
the kits state.
Set the valid end point url https://msdn-mccp-
management-api.happyforest-
45a710cd.westeurope.azurecontainerapps.io/
8 api/v1/landingzones/ to provide a valid
LanndingZoneName and KitName and retrieve
the kits checks.
Set the valid end point url https://msdn-mccp-
management-api.happyforest-
9 45a710cd.westeurope.azurecontainerapps.io/
api/v1/landingzones/ to provide a valid
LanndingZoneName and KitName and delete
the specific kit details using DELETE API.
Set the valid end point url https://msdn-mccp-
management-api.happyforest-
45a710cd.westeurope.azurecontainerapps.io/
api/v1/landingzones/ to provide a valid
10 LanndingZoneName and delete the specific
LanndingZoneName details using DELETE API.
Verify the all APIs speed benchmarking using
11 the assertions
Verify the all APIs valid response data using the
12
assertions
Verify the all APIs valid response data using the
13
assertions
Verify and execute the postman collection with 1. Export postman collection with
command line newman tool. collection.JSON file extention. 2. Export
postman environment with .JSON file
extention 3. Go to the command line and
enter newman -version command to check
newman is install or not if not intall then
open the browser and first download node js
4.To run the collection on command line to
enter the command newman run and
collection json file -e collection environment
json file 5.
Target URL HTTP Verb JSON Body
client_secret {{Client
Secret}}, grant_type
client_credentials scope
{{Scope}}, redirect_uri,
POST
https://login.microsoftonline.com/5e4df45c-9dd3-4779-96f7-b9d615d7a0b4/oauth2/v2.0/
token_name- jwt
{
"tenantId": "{{tenantId}}",
"subscriptionId":
"{{subscriptionId}}",
POST
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/{{newLa
"clientId": "{{clientIdLZ}}",
"clientSecret":
"{{clientSecretLZ}}"
}
{
"name": "{{newKitName}}",
"version": "5.4.1",
POST
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/{{newLa
"outputs": "{}",
"resourcesParents": [
]
}
GET
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/
GET
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/
GET
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/
GET
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/state
GET
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/check
GET
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/
GET
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/
tests["Ideal response time =
1Sec; Actual response time: " +
POST
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/
responseTime/1000 +"Sec"] =
responseTime < 1000;
tests["Request URL must be
valid: " + request.url] = true;
POST
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/
tests["Response must not be
GET
https://msdn-mccp-management-api.happyforest-45a710cd.westeurope.azurecontainerapps.io/api/v1/landingzones/
empty"] = jsonData.length !== 0;
Expected API Response Body Expected Status Code Expected Response Time
{
"token_type": "Bearer",
"expires_in": 3599, 200 1.00 s
"ext_expires_in": 3599,
"access_token": fhfgdgtr }
{
[ "id": "365dacd9-7c18-4aa1-995e-
7446bd43147d",
{
"name": "Microsoft-Test-Zone", 201 2.53 s
"id": "f52dca05-ef86-4cca-aadf-
"kits": []
58a3514c6be3",
} "name": "test",
"kits": [
{
"name": "kit1",
{ "version": "1.4.7",
"name": "Microsoft-Test-Kit",
"outputs":
"version": "5.4.1",
"{\"out1\":\"val1\"}",
"outputs": "{}",
"resourcesParents": [ 201
"resourcesParents":
{ [],
"tags": {} "name": "mssql"
} } 2.75 s
]
}
]
{ }, 200 3.47 ms
"id":
{ "365dacd9-7c18-4aa1-995e-
7446bd43147d",
"id": "365dacd9-7c18-4aa1-995e-
"name": "Microsoft-Test-Zone",
7446bd43147d",
"kits": [
"name": "Microsoft-Test-Zone",
{"kits": [
"name":
{ "Microsoft-Test-Kit",
"version":
"name":"5.4.1",
"Microsoft-Test-Kit",
"outputs":
"version":"{}",
"5.4.1", 200 2.44 ms
"resourcesParents":
"outputs": "{}", [
{"resourcesParents": [
"name":
{ ""
{ } "name": ""
] "Microsoft-Test-Kit",
"name": }
}
"version":] "5.4.1",
] }
"outputs": "{}",
} "resourcesParents":
] [
} { 200 2.90 s
] "name": ""
}
]
}
[] 200 246 ms
{
"match": true 200 529 ms
}
{} 200 240 ms
{} 200 12.88 s
Ideal response time = 1Sec 201 2.75 s
Reuest URL must be valid 201 2.75 s
Response must not be empty. 200 2.75 s
Last Run Test Result
9/30/2022 &
6:05:00 PM Pass
9/30/2022 &
6:05:00 PM Pass
Pass
10/3/2022+K9:K17
10/3/2022 Pass
10/3/2022 Pass
10/3/2022 Pass
10/3/2022 Pass
10/3/2022 Pass
10/3/2022 Pass
10/3/2022 Pass
10/3/2022 Pass
10/3/2022 Pass
10/3/2022 Pass