Skip to content

Commit

Permalink
merge large and complex json object payload
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarranzan committed Jul 17, 2024
1 parent 4908e74 commit 03f64d7
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions QQE-379.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ It aims to ensure the correct handling of JSON data in various scenarios, includ

#### Successful JSON payload processing:
Verify that Quarkus REST endpoints successfully process valid JSON payloads.
- **Payload:** simple json file.
- **HTTP Method:** `POST`
- **Deserialization:** Ensure accurate conversion of JSON payloads, that it's performed using the configured JSON libraries (quarkus-rest-jackson, quarkus-rest-jsonb).
- **HTTP Status Code:** Expect `201 Created` upon successful payload processing.
- **Response Content:** Validate that the response contains the expected message.

#### Check large JSON payload processing:
Verify that the application can efficiently process large JSON payloads without issues.
- **Payload:** simple json file.
- **HTTP Method:** `POST`
- **Deserialization:** Ensure accurate conversion of JSON payloads, that it's performed using the configured JSON libraries (quarkus-rest-jackson, quarkus-rest-jsonb).
- **HTTP Status Code:** Expect `201 Created` upon successful payload processing.
- **Response Content:** Validate that the response contains the expected message.

#### Check large JSON with complex structures payload processing:
Verify that the application can efficiently process large JSON payloads containing nested objects, arrays, and various data types without issues.
- **Payload:** large json file.
- **HTTP Method:** `POST`
- **HTTP Method:** `POST` and `GET`
- **Deserialization:** Ensure accurate conversion of JSON payloads, that it's performed using the configured JSON libraries (quarkus-rest-jackson, quarkus-rest-jsonb).
- **HTTP Status Code:** Expect `201 Created` upon successful payload processing.
- **Response Content:** Validate that the response contains the expected message.
Expand All @@ -52,18 +52,12 @@ Validate the application's response to JSON payload containing special character
- **HTTP Method:** `POST`
- **HTTP Status Code:** Expect 201 Created.

#### Testing complex JSON structures:
Evaluate the handling of JSON payloads containing nested objects, arrays, and various data types,
ensuring serialization and deserialization.
**HTTP Method:** `POST`
**HTTP Status Code:** Expect 201 Created.

#### Testing of incorrect Content-Type :
Test requests with incorrect Content-Type headers should fail gracefully.
- **HTTP Method:** `POST`
- **HTTP Status Code:** Expect 415 Unsupported Media Type.


## Getting Familiar with the Feature:

- Review Quarkus documentation: understand the Quarkus REST guides and its JSON serialization/deserialization mechanisms.
Expand Down

0 comments on commit 03f64d7

Please sign in to comment.