Forum Discussion

tirukami's avatar
tirukami
New Contributor
7 years ago

Json Schema Validation error

Hi 

 

I am trying to add Json Schema compliance Assertion.  I have given Schema URL , but getting the following error "Found Interface com.github.fge.jsonschema.main.JsonSchema but Class was expected"

 

Am I miss anything?

3 Replies

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi, 

     

    Thank you for creating the case. What version of ReadyAPI do you use? What json-schema-validator jar files do you have in the ReadyAPI\lib folder?

    • tirukami's avatar
      tirukami
      New Contributor

      Hi,

       

      Thanks for the reply.  

       

      Pls find the details

       

      Ready API version - 2.3.0

       

      Jar files ; 

      json-schema-validator-0.1.7.jar

      json-schema-validator-2.2.6.jar

      json-schema-validator-2.2.8.jar

       

      Cheers

      Mani


      Nastya_Khovrina wrote:

      Hi, 

       

      Thank you for creating the case. What version of ReadyAPI do you use? What json-schema-validator jar files do you have in the ReadyAPI\lib folder?


       

       

       

       

      • Nastya_Khovrina's avatar
        Nastya_Khovrina
        SmartBear Alumni (Retired)

        Hi Mani,

         

        Thank you for the info. I would recommend opening a new case here: https://support.smartbear.com/message/?prod=ReadyAPI.

         

        Provide the following info in the case:

        1. Your project file. If you cannot share your project, please provide Support team with all the information which is needed to reproduce the issue: screenshots, a full response, a JSON schema...

        2. Logs.