Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue #126] Json Schema Validation #682

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

Yash-cor
Copy link

#Json Schema Validation

Fixes Issue

PR Branch
LINK TO THE PR BRANCH

Motivation and Context

Added the Json Schema Validation.
This tests the Json Schema with the Response that we get in form of json.

In this Schema testing it will validate the Json Schema with the response that we get with out test requests.

To use schema validation use @ Schema annotation like we use @ Scenario annotation
Included the Schema validation class inside src->main->java->core->engine->preprocessors->ZeroCodeJsonSchemaMatcherImpl.

Also included a test case class helloworldschema in httptesting tests

Checklist:

  • New Unit tests were added

    • Covered in existing Unit tests
  • Integration tests were added

    • Covered in existing Integration tests
  • Test names are meaningful

  • Feature manually tested and outcome is successful

  • PR doesn't break any of the earlier features for end users

  • Branch build passed in CI

  • No 'package.*' in the imports

  • Relevant Documentation page added or updated with clear instructions and examples for the end user

    • Not applicable. This was only a code refactor change, no functional or behaviourial changes were introduced
  • Http test added to http-testing module(if applicable) ?

  • Kafka test added to kafka-testing module(if applicable) ?

    • Not applicable. The changes did not affect Kafka automation flow

@Yash-cor Yash-cor marked this pull request as ready for review September 17, 2024 09:31
@Yash-cor Yash-cor changed the title WIP:[Issue #126] Json Schema Validation [Issue #126] Json Schema Validation Sep 20, 2024
@Yash-cor Yash-cor marked this pull request as draft October 9, 2024 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant