Verify that the dashboard Count field is present inside the Response Data.

Status : passed

Start Time : 15-12-2024 08:45:11

End Time : 15-12-2024 08:45:13

Duration : 1.50 seconds

Title : Verify that the dashboard Count field is present inside the Response Data.

Created By : arun-ramanan@netspective.in

Created At : 2024-12-15

Priority : High

Description

This test case verifies that the API endpoint /dashboard returns the correct response data, specifically ensuring that the Daily_Cycle_Count field is present in the JSON response.

Pre-Conditions:

  • The API endpoint /dashboard is accessible.
  • The API server is running and available to respond to GET requests.
  • Proper authentication, if required, is provided for the request.

Test Steps:

  1. Step 1: Send a GET request to the /dashboard API endpoint.
  2. Step 2: Check the response to verify that the Dashboard_Count_Url is present in the extension section of the returned JSON data.
  3. Step 3: Ensure that the corresponding value of valueInteger is 3 under the Dashboard_Count_Url.

Expected Result:

  • If the cycle count is available, the API should return a 200 status code with the following JSON data:

Actual Result

Check the response to verify that the `Daily_Cycle_Count_Url` is present in the `extension` section of the returned JSON data. passed 15-12-2024 08:45:13 15-12-2024 08:45:13
Ensure that the corresponding value of `valueInteger` is 3 under the `Daily_Cycle_Count_Url` passed 15-12-2024 08:45:13 15-12-2024 08:45:13
Send a GET request to the `/dashboard` API endpoint. passed 15-12-2024 08:45:11 15-12-2024 08:45:13