chatelao's avatar
chatelao
New Contributor
10 years ago
Status:
Accepted for Discussion

JSON-Schema supported (E.g.: in WADL-Files)

We specify our JSON-Format-Definition with the JSON-Schema.

It would be nice to validate the data directly within SOAP-UI.

 

Schema specification (IETF RFC Draft)

http://tools.ietf.org/html/draft-fge-json-schema-validation-00

 

Understanding JSON-Schema:

http://spacetelescope.github.io/understanding-json-schema/

 

Generating JSON-Schemas:

http://jsonschema.net/#/

 

Validating JSON-Schemas:

http://json-schema-validator.herokuapp.com/

 

Using JUnit Tests rest-assured:

http://www.jayway.com/2013/12/10/json-schema-validation-with-rest-assured/

 

 

8 Comments

  • I would love to know if there are more that needs JSON-Schema! As of now, it's on our "to watch" list, but we're not getting any requests for it. If this was voted UP here we would do it in a heartbeat! :smileyhappy: 

     

     

    /niclas

  • dshchyokin's avatar
    dshchyokin
    Occasional Visitor

    Our company is in the process of buying more licenses (we have 3) and this would be a huge help to our efforts

  • ballbuster's avatar
    ballbuster
    Occasional Contributor

    I am currently testing a REST API that accepts and returns JSON. It would be great if SoapUI Pro or Ready API supported natively the ability to assert the JSON response against a JSON schema document. More and more companies are going with JSON versus XML.

  • pedro's avatar
    pedro
    Occasional Contributor
    Anyone knows about this kind of validation in READYAPI?
  • ViktorO's avatar
    ViktorO
    Occasional Visitor

    Old but still works. We are working on something similar at Frontit Thanks for the idea.