ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Feature Under TestNoTest CasesTest StepsTest Data (Request Body)Expected ResultActual ResultStatusLink to Bug Report
2
Adding Items to the Kit1Verify the user can add one existing product ID to the kit. 1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using an existing product ID in the path params and request body.

3. The user adds existing products to the kit on the response.

4. The user gets Status: 200 OK on the response.
Path params: id=2

{
"productsList": [
{
"id": 3,
"quantity": 3
}
]
}
- Added existing products to the kit

- Status: 200 OK
- Added existing products to the kit

- Status: 200 OK
PASS
3
2Verify the user can add multiple product ID's to the kit. 1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using multiple existing product IDs in the request body.

3. The user adds multiple products to the kit on the response.

4. The user gets Status: 200 OK on the response.
Path params: id=2

{
"productsList": [
{
"id": 3,
"quantity": 3
},
{
"id": 16,
"quantity": 5
},
{
"id": 5,
"quantity": 1
}
]
}
- Added existing products to the kit

- Status: 200 OK
- Added existing products to the kit

- Status: 200 OK
PASS
4
3Verify the user can add products to kit using existing kit id path parameter. 1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using an existing kit ID in the kit id path parameter, as well as existing products for the request body.

3. The user adds existing products to the existing kit ID.

4. The user gets Status: 200 OK on the response.
Path params: id=3

{
"productsList": [
{
"id": 3,
"quantity": 3
}
]
}
- Added existing products to the kit

- Status: 200 OK
- Added existing products to the kit

- Status: 200 OK
PASS
5
4Verify the user cannot submit Letters values in the kit id path parameter. 1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using spaces in the kit id path parameter, as well as existing products for the request body.

3. The user gets an error 404 message on the response.
Path params: id="abc"

{
"productsList": [
{
"id": 3,
"quantity": 3
}
]
}
- Request unsuccessful

- Status: 404 Not Found
- Request unsuccessful

- Status: 404 Not Found
PASS
6
5Verify the user cannot submit a blank value in the kit id path parameter. 1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using a blank in the kit id path parameter, as well as existing products for the request body.

3. The user gets an error 404 message on the response.
Path params: id=__ (no input)

{
"productsList": [
{
"id": 3,
"quantity": 3
}
]
}
- Request unsuccessful

- Status: 404 Not Found
- Request unsuccessful

- Status: 404 Not Found
PASS
7
6Verify the user cannot submit a non-existent kit id in the kit id path parameter. 1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using a non-existent kit ID value (see kit_model.csv) in the kit id path parameter, as well as existing products for the request body.

3. The user gets an 404 error message on the response.
Path params: id=9

{
"productsList": [
{
"id": 3,
"quantity": 3
}
]
}
- Request unsuccessful

- Status: 404 Not Found
- Request unsuccessful

- Status: 404 Not Found
PASS
8
7Verify user cannot add products with non-existent product ID numbers in product id field values1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using a non-existitent product ID and quantity in the request body.

3. The user gets an 400 error message on the response.
Path params: id=3

{
"productsList": [
{
"id": 98,
"quantity": 2
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request successful. Non-existent products added to the kit.

- Status: 200 OK
FAILhttps://ams890.atlassian.net/browse/AJP4-1
9
8Verify user cannot add products with spaces in product id field values1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using spaces in the product ID and valid quantity in the request body.

3. The user gets an 400 error message on the response.
Path params: id=2

{
"productsList": [
{
"id": 32 ,
"quantity": 2
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 404 Not Found
FAILhttps://ams890.atlassian.net/browse/AJP4-28?atlOrigin=eyJpIjoiZDQ5OWQzOTQ5YjVkNDk1Y2EyYmJiMWNjZTk5NmQyNmMiLCJwIjoiaiJ9
10
9Verify user cannot add products with symbols string in product id field values1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using symbols in the product ID and valid quantity in the request body.

3. The user gets an 400 error message on the response.
Path params: id=2

{
"productsList": [
{
"id": "!@#",
"quantity": 2
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 404 Not Found
FAILhttps://ams890.atlassian.net/browse/AJP4-29?atlOrigin=eyJpIjoiMjA5OGYyYmE3MmMwNGYwNGJhNmI1MmM3Yzg3YTgyNjgiLCJwIjoiaiJ9
11
10Verify user cannot add Latin letters string in product id field values1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using Latin letters in the product ID and valid quantity in the request body.

3. The user gets an 400 error message on the response.
Path params: id=2

{
"productsList": [
{
"id": "abc",
"quantity": 2
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 404 Not Found
FAILhttps://ams890.atlassian.net/browse/AJP4-30?atlOrigin=eyJpIjoiMWRkY2NjYWZiYTQ2NDVjMmEzNGI4NTc3ZDNhMzE1YjQiLCJwIjoiaiJ9
12
11Verify user cannot add products with an empty string product id field values1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using a blank in the product ID and valid quantity in the request body.

3. The user gets an 400 error message on the response.
Path params: id=2

{
"productsList": [
{
"id": "",
"quantity": 2
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 404 Not Found
FAILhttps://ams890.atlassian.net/browse/AJP4-31?atlOrigin=eyJpIjoiNjViMDFmYjI1OTA2NDZkNzkxZjRmMzQ1OTI3MWY0NjgiLCJwIjoiaiJ9
13
12Verify user cannot add a quantity of 0 products to the kit1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product ID and with a quantity of 0 in the request body.

3. The user gets an 400 error message on the response.
Path params: id=3

{
"productsList": [
{
"id": 17,
"quantity": 0
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Added existing products to the kit with 0 quantity

- Status: 200 OK
FAILhttps://ams890.atlassian.net/browse/AJP4-2
14
13Verify user can add a quantity of 1 product to the kit1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product ID and with a quantity of 1 in the request body.

3. Products are added to the kit. The user gets an 200 OK message on the response.
Path params: id=3

{
"productsList": [
{
"id": 16,
"quantity": 1
}
]
}
- Added products to the kit

- Status: 200 OK
- Added products to the kit

- Status: 200 OK
PASS
15
14Verify user can add a quantity of 2 products to the kit1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product IDs and with a total product quantity of 2 in the request body.

3. Products are added to the kit. The user gets an 200 OK message on the response.
Path params: id=3

{
"productsList": [
{
"id": 3,
"quantity": 1
},
{
"id": 16,
"quantity": 1
}
]
}
- Added products to the kit

- Status: 200 OK
- Added products to the kit

- Status: 200 OK
PASS
16
15Verify user can add a quantity of 29 products to kit1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product IDs and with a total product quantity of 29 in the request body.

3. Products are added to the kit. The user gets an 200 OK message on the response.
Path params: id=6

{
"productsList": [
{
"id": 5,
"quantity": 17
},
{
"id": 16,
"quantity": 12
}
]
}
- Added products to the kit

- Status: 200 OK
- Added products to the kit

- Status: 200 OK
PASS
17
16Verify user can add a quantity of 30 products to kit1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product IDs and with a total product quantity of 30 in the request body.

3. Products are added to the kit. The user gets an 200 OK message on the response.
Path params: id=6

{
"productsList": [
{
"id": 5,
"quantity": 17
},
{
"id": 16,
"quantity": 13
}
]
}
- Added products to the kit

- Status: 200 OK
- Added products to the kit

- Status: 200 OK
PASS
18
17Verify user cannot add a quantity of 31 products to kit1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product IDs and with a total product quantity of 31 in the request body.

3. Products are not added to the kit. The user gets an 400 Bad Request message on the response.
Path params: id=6

{
"productsList": [
{
"id": 5,
"quantity": 18
},
{
"id": 16,
"quantity": 13
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Added products to the kit

- Status: 200 OK
FAILhttps://ams890.atlassian.net/browse/AJP4-3?atlOrigin=eyJpIjoiNDg3OGU4ZWIyOTRiNGZlM2FlNTFkZGZmMTEyNzdkYjUiLCJwIjoiaiJ9
19
18Verify user cannot add a quantity above 31 products to kit1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product IDs and with a total product quantity above 31 in the request body.

3. Products are not added to the kit. The user gets an 400 Bad Request message on the response.
Path params: id=6

{
"productsList": [
{
"id": 5,
"quantity": 18
},
{
"id": 16,
"quantity": 35
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Added products to the kit

- Status: 200 OK
FAILhttps://ams890.atlassian.net/browse/AJP4-4?atlOrigin=eyJpIjoiNjhjM2M2OGMzZmU5NDA1N2JhZjJlZDI5OTFjMjU3OTYiLCJwIjoiaiJ9
20
19Verify user cannot add products with spaces in quantity field value1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product ID and spaces in the quantity in the request body.

3. Products are not added to the kit. The user gets an 400 error message on the response.
Path params: id=2

{
"productsList": [
{
"id": 5,
"quantity": 1 8
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 400 Bad Request
PASS
21
20Verify user cannot add products with symbols string in quantity field value1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product ID and symbols string in the quantity in the request body.

3. Products are not added to the kit. The user gets an 400 error message on the response.
Path params: id=2

{
"productsList": [
{
"id": 5,
"quantity": "!@#"
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 500 Internal Server Error
FAILhttps://ams890.atlassian.net/browse/AJP4-32?atlOrigin=eyJpIjoiMmNhOGExMmJkN2NjNDI0YTk1NjljNDhkMDAyZmJkOTgiLCJwIjoiaiJ9
22
21Verify user cannot add products with Latin letters string in quantity field value1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product ID and Latin letters string in the quantity in the request body.

3. Products are not added to the kit. The user gets an 400 error message on the response.
Path params: id=2

{
"productsList": [
{
"id": 5,
"quantity": "ABC"
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 500 Internal Server Error
FAILhttps://ams890.atlassian.net/browse/AJP4-33?atlOrigin=eyJpIjoiZDk4NzA2MmNmNTZkNGJmOWJmNzNlZWE1MzJkZWQ4NTUiLCJwIjoiaiJ9
23
22Verify user cannot add products with a blank string quantity field value1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using existing product ID and a blank string in the quantity in the request body.

3. Products are not added to the kit. The user gets an 400 error message on the response.
Path params: id=2

{
"productsList": [
{
"id": 5,
"quantity": ""
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Product added to kit in quantity of zero

- Status: 200 OK
FAILhttps://ams890.atlassian.net/browse/AJP4-34?atlOrigin=eyJpIjoiZDg2YmQ0OTk5YjVhNDA1NmEyYjQwMTc3NTYwMDEwMjgiLCJwIjoiaiJ9
24
23Verify user cannot add products to a kit with multiple "productsList" parameters in the request body1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request with multiple "productList" parameters in the request body.

3. Products are not added to the kit. The user gets an 400 Bad Request message on the response.
Path params: id=2

{
"productsList": [
{
"id": 5,
"quantity": 3
}
]
"productsList": [
{
"id": 7,
"quantity": 2
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 400 Bad Request
PASS
25
24Verify user cannot add products with a missing quantity key-value pair in the request body1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request with a missing parameter "productList" in the request body.

3. Products are not added to the kit. The user gets an 400 Bad Request message on the response.
Path params: id=2

{
"productsList": [
{
"id": 5,
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request unsuccessful

- Status: 400 Bad Request
PASS
26
61Verify user can add the same product ID more than once in the ProductsList in the same request body1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request by using an existing product ID and quantity in the request body more than once.

3. The user gets an 400 error message on the response.
Path params: id=3

{
"productsList": [
{
"id": 60,
"quantity": 1
},
{
"id": 60,
"quantity": 1
}
]
}
- Products added to the kit

- Status: 200 OK
- Products added to the kit

- Status: 200 OK
PASS
27
62Verify user cannot add products with a missing id key-value pair in the request body1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request with a missing parameter "productList" in the request body.

3. Products are not added to the kit. The user gets an 400 Bad Request message on the response.
Path params: id=2

{
"productsList": [
{
"quantity": 15
}
]
}
- Request unsuccessful

- Status: 400 Bad Request
- Request successful, a quantity of unidentified products were added to the kit

- Status: 200 OK
FAILhttps://ams890.atlassian.net/browse/AJP4-35?atlOrigin=eyJpIjoiMDQwZjVlOGYzMTgzNDJkMGJjZWU4Njc1OThhMmFiZWYiLCJwIjoiaiJ9
28
63Verify user cannot add products to a kit with empty "productsList" in the request body1. The user selects POST request with URL + api/v1/kits/:id/products

2. The user sends a request with empty "productList" in the request body.

3. Products are not added to the kit. The user gets an 400 Bad Request message on the response.
Path params: id=4

{
"productsList": []
}
- Request unsuccessful

- Status: 400 Bad Request
- Nothing added to the kit, but we don't have an error message

- Status: 200 OK
FAILhttps://ams890.atlassian.net/browse/AJP4-36?atlOrigin=eyJpIjoiMTg2NjgyMmVkMDc4NGU1MTg2YzIyM2QxZTFlYTVmYmMiLCJwIjoiaiJ9
29
"Fast Delivery" Service25Verify user can get "Fast Delivery" service when Shipping Calculation requirements are met1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends an XML request that meets the Shipping Calculation requirements (example request body from URL + /docs/)
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
PASS
30
26Verify user cannot get "Fast Delivery" service when request body is missing productsWeight parameter1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends an XML request that is missing a parameter in the request body
<InputModel>
<productsCount>2</productsCount>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 500 Internal Server Error
- Status: 500 Internal Server Error
- Message: "Cannot read properties of undefined (reading '0')"
PASS
31
27Verify user cannot get "Fast Delivery" service when request body is not formatted correctly1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends an XML request body that is not formatted correctly (e.g., missing a slash "/" for end tag)
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
<InputModel>
- Status: 500 Internal Server Error
- Status: 500 Internal Server Error
- Message: "Unclosed root tag\nLine: 4\nColumn: 12\nChar: "
PASS
32
28Verify the user can enter 1 in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 1 in productsCount
<InputModel>
<productsCount>1</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
33
29Verify the user can enter 7 in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 7 in productsCount parameter
<InputModel>
<productsCount>7</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
34
30Verify the user cannot enter 0 in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 0 in productsCount parameter
<InputModel>
<productsCount>0</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
FAILhttps://ams890.atlassian.net/browse/AJP4-5?atlOrigin=eyJpIjoiYWIwYzdmNjEzZmJmNDgxMGI5MTExYjVhMTNlYmJjMzEiLCJwIjoiaiJ9
35
31Verify the user can enter 13 in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 13 in productsCount parameter
<InputModel>
<productsCount>13</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
36
32Verify the user can enter 14 in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 14 in productsCount parameter
<InputModel>
<productsCount>14</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
37
33Verify the user cannot enter 15 in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 15 in productsCount parameter
<InputModel>
<productsCount>15</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="6" when it should be 9 if more than max productsCount exceeded
- toBeDeliveredTime min 25, max 30
FAILhttps://ams890.atlassian.net/browse/AJP4-6?atlOrigin=eyJpIjoiZGVjM2I0NTg0MGZmNDZjZWE2MWM2MjIwMGFmNGMxMmUiLCJwIjoiaiJ9
38
34Verify the user cannot enter above 15 in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 20 in productsCount parameter
<InputModel>
<productsCount>20</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="6" when it should be 9 if more than max productsCount exceeded
- toBeDeliveredTime min 25, max 30
FAILhttps://ams890.atlassian.net/browse/AJP4-7?atlOrigin=eyJpIjoiNzNlMTNhNjZkOTFjNDU0Nzg1YWJkM2M4N2IzMjJkYzQiLCJwIjoiaiJ9
39
35Verify the user cannot enter empty productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with a blank value in productsCount parameter
<InputModel>
<productsCount></productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-8?atlOrigin=eyJpIjoiODgzY2U4YTExOTYyNGRlN2JhZGEyNThiMTlhYWQ4OGEiLCJwIjoiaiJ9
40
36Verify the user cannot enter Latin Letters in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with Latin Letters in productsCount parameter
<InputModel>
<productsCount>abc</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-9?atlOrigin=eyJpIjoiY2NiYWNkYWQzMjVhNDAzODg3OTlmMzgyODIwZTlkYzciLCJwIjoiaiJ9
41
37Verify the user cannot enter symbols in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with symbols in productsCount parameter
<InputModel>
<productsCount>#</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-10?atlOrigin=eyJpIjoiZGJmNzJiMjQ1ZTljNDBiNzlmY2E3NzM1YzhkYTQ5MzEiLCJwIjoiaiJ9
42
38Verify the user cannot enter spaces in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with spaces in productsCount parameter
<InputModel>
<productsCount>1 3</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-11?atlOrigin=eyJpIjoiMDNjZmQwYzU0N2I3NDQyYmFkZTMxMDg3NDk5ZTQ3YjkiLCJwIjoiaiJ9
43
39Verify the user can enter 0.1 in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 0.1 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>0.1</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
PASS
44
40Verify the user can enter 2.5 in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 2.5 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>2.5</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="3"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="3"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
45
41Verify the user cannot enter 0 in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 0 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>0</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-12?atlOrigin=eyJpIjoiN2VmYmYyNmRlMGE3NGIwOGFmM2UzZjY5M2ZjYTVmY2IiLCJwIjoiaiJ9
46
42Verify the user can enter 5.9 in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 5.9 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.9</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
47
43Verify the user can enter 6 (maximum weight) in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 6 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>6</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
48
44Verify the user cannot enter 6.1 in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 6.1 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>6.1</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="6" (should be 9)
- toBeDeliveredTime min 25, max 30
FAILhttps://ams890.atlassian.net/browse/AJP4-13?atlOrigin=eyJpIjoiOGVkNzNhMWU2ZGRlNGYwMTk1OWIyNWQwZTFiMjMwZDciLCJwIjoiaiJ9
49
45Verify the user cannot enter above 6.1 in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 8 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>8</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="6" (should be 9)
- toBeDeliveredTime min 25, max 30
FAILhttps://ams890.atlassian.net/browse/AJP4-13?atlOrigin=eyJpIjoiOGVkNzNhMWU2ZGRlNGYwMTk1OWIyNWQwZTFiMjMwZDciLCJwIjoiaiJ9
50
46Verify the user cannot enter empty productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with empty productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight></productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="3"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
FAILhttps://ams890.atlassian.net/browse/AJP4-15?atlOrigin=eyJpIjoiN2Y3MDc0NGZhYTc2NDQwZTk3MzQ4ZDYxYmZkNDhiYzUiLCJwIjoiaiJ9
51
47Verify the user cannot enter latin letters string in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with Latin Letters in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>ABC</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-16?atlOrigin=eyJpIjoiMTMwNTgxZTZiMGQwNGQ3MzhjMDNkNjI2ZDYzZjhlZjAiLCJwIjoiaiJ9
52
48Verify the user cannot enter symbols in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with symbols in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>$</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-17?atlOrigin=eyJpIjoiYWZjOGVkZjFlZjU4NGUwYTg4NzRjZTdmNGVmM2M4MjAiLCJwIjoiaiJ9
53
49Verify the user cannot enter spaces in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with spaces in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>1. 3</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-18?atlOrigin=eyJpIjoiYzI1MGNjNGNhY2MyNDc5ODkwM2YzZGI3NTk5N2Y0MTMiLCJwIjoiaiJ9
54
50Verify the user can enter 07 (earliest operational hour) in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 07 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>07</deliveryTime>
</InputModel>
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
PASS
55
51Verify the user can enter 08 in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 08 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>08</deliveryTime>
</InputModel>
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
PASS
56
52Verify the user cannot enter 06 in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 06 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>06</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="false"
- Status: 200 OK
- response body doesn't contain isPossibleToDeliver="false"
FAILhttps://ams890.atlassian.net/browse/AJP4-19?atlOrigin=eyJpIjoiMjRhODhkM2JhNTU4NDY2YTkyNWRjZDU2OWM5YzBiZjEiLCJwIjoiaiJ9
57
53Verify the user can enter 20 in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 20 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
PASS
58
54Verify the user can enter 21 (latest operational hour) in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 21 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>21</deliveryTime>
</InputModel>
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated correctly
PASS
59
55Verify the user cannot enter 22 in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 22 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>22</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="false"
- Status: 200 OK
- response body doesn't contain isPossibleToDeliver="false"
FAILhttps://ams890.atlassian.net/browse/AJP4-20?atlOrigin=eyJpIjoiYTFiZWI0NDVhODkzNDE1MDhiNDU2ZjZmOWFiYWJmOTMiLCJwIjoiaiJ9
60
56Verify the user cannot enter 23 in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 23 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>23</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="false"
- Status: 200 OK
- response body doesn't contain isPossibleToDeliver="false"
FAILhttps://ams890.atlassian.net/browse/AJP4-21?atlOrigin=eyJpIjoiNDRjMTRlNjZiZjNiNDEzYWJhYWY4MDZhNjcyZDBiYzEiLCJwIjoiaiJ9
61
57Verify the user cannot enter empty deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with an empty deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime></deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-22?atlOrigin=eyJpIjoiY2UxODUwYzZlNmQ4NDQ3NTk2YmMwMDlmMWVhOGZlNDIiLCJwIjoiaiJ9
62
58Verify the user cannot enter Latin Letters in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with latin letter string in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>abc</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-23?atlOrigin=eyJpIjoiZWNmZTU3NTZkYzI3NDUwY2E5M2U4YzE0ZjhlNTU1NGUiLCJwIjoiaiJ9
63
59Verify the user cannot enter symbols in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with spaces in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>~</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-24?atlOrigin=eyJpIjoiOWMwNDdjN2NkMDZiNGI1Yjg1MTFmMTE4YjZkODRlNmEiLCJwIjoiaiJ9
64
60Verify the user cannot enter spaces in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with spaces in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>19 </deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"
- isPossibleToDeliver="true"
- hostDeliveryCost, clientDeliveryCost & delivery time calculated
FAILhttps://ams890.atlassian.net/browse/AJP4-25?atlOrigin=eyJpIjoiMDAxMTlkMDFmNDhkNDA2YmFiNmZlMmFlYTI0ZTNlYjQiLCJwIjoiaiJ9
65
64Verify the user can enter 8 in productsCount in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 8 in productsCount parameter
<InputModel>
<productsCount>8</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
66
65Verify the user can enter 2.6 in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 2.6 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>2.6</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
67
67Verify the user can enter 2.7 in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 2.7 in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>2.7</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="6"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
PASS
68
68Verify the user cannot enter negative number in productsWeight in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with a negative number in productsWeight parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>-4.3</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 400 Bad Request
- isPossibleToDeliver="false"
- Status: 200 OK
- isPossibleToDeliver="true"
- hostDeliveryCost="3"
- clientDeliveryCost="0"
- toBeDeliveredTime min 25, max 30
FAILhttps://ams890.atlassian.net/browse/AJP4-38?atlOrigin=eyJpIjoiNTI1ODA4MDM0OGVlNDI5NGFjYTg2YWViMWM2ZmJhNDAiLCJwIjoiaiJ9
69
69Verify the user cannot enter 00 (before operating hours) in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 00 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>00</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"/
FAILhttps://ams890.atlassian.net/browse/AJP4-39?atlOrigin=eyJpIjoiOTZmOTVhM2E5MzIzNGE0NWE3NGYwZjQzZDU0Njk0OTUiLCJwIjoiaiJ9
70
70Verify the user cannot enter 01 (before operating hours) in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 01 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>01</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"/
FAILhttps://ams890.atlassian.net/browse/AJP4-40?atlOrigin=eyJpIjoiYzY1NjBmMTFmOTc2NGFlNTkzZWRiYjEwMzg2M2M3MGYiLCJwIjoiaiJ9
71
71Verify the user cannot enter 24 in deliveryTime in request for "Fast Delivery"1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends the XML request body with 24 in deliveryTime parameter
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
<deliveryTime>24</deliveryTime>
</InputModel>
- Status: 200 OK
- isPossibleToDeliver="false"
- Status: 200 OK
- response "Fast Delivery"/
FAILhttps://ams890.atlassian.net/browse/AJP4-21?atlOrigin=eyJpIjoiNDRjMTRlNjZiZjNiNDEzYWJhYWY4MDZhNjcyZDBiYzEiLCJwIjoiaiJ9
72
72Verify user cannot get "Fast Delivery" service when request body is missing productsCount parameter1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends an XML request that is missing a parameter in the request body
<InputModel>
<productsWeight>5.115</productsWeight>
<deliveryTime>20</deliveryTime>
</InputModel>
- Status: 500 Internal Server Error
- Status: 500 Internal Server Error
- Message: "Cannot read properties of undefined (reading '0')"
PASS
73
73Verify user cannot get "Fast Delivery" service when request body is missing deliveryTime parameter1. The user selects POST request with URL + /fast-delivery/v3.1.1/calculate-delivery.xml

2. The user sends an XML request that is missing a parameter in the request body
<InputModel>
<productsCount>2</productsCount>
<productsWeight>5.115</productsWeight>
</InputModel>
- Status: 500 Internal Server Error
- Status: 500 Internal Server Error
- Message: "Cannot read properties of undefined (reading '0')"
PASS
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100