Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I was hoping you could help me...I am looking for an automated test tool that can:

MUST HAVE:

  1. Ability to connect to a server endpoint that returns JSON or XML based data
  2. Ability to fully parse and validate either XML or JSON (both would be a plus)
  3. Ability to traverse XML or JSON for functional validation

NICE TO HAVE:

  1. Performance analysis toolsets (mean, max, min, std deviation for result sets) -- including thread execution setup
  2. Template based test cases. Set up a test template and feed the template with a data set — if we have this (jmeter does)

I would appreciate any help and thank you!

share|improve this question

2 Answers 2

Check out the latest release of CAM editor v3.0 and the CAMV validation engine. I believe we are covering all these bases for you.

There are instructional videos on YouTube for working with JSON and then creating test suites with CAMV.

Also the CAMV engine is very flexible in its deployment options and ability to call it and return validation results.

See http://www.cameditor.org for more details and the Sourceforge project site.

share|improve this answer
    
@user8419242, I guess you are the author of CAM editor? –  dzieciou Aug 20 '13 at 5:21
    
Hi @user841942, based on your comment it looks like you're involved in the CAM editor project - it's good manners to explicitly call out your relationship with the company when you refer people to it. Please update your answer to state your relationship to the CAM editor project. –  Kate Paulk Aug 20 '13 at 11:26

There are a number of tools that can do everything you want. Do you have a specific language/programming environment you prefer?

I prefer RestSharp and json.net if you've got visual studio and C#, however there's nothing built in to do the performance stuff unless you have visual studio ultimate in which case you can use the load testing tool. As for the last nice to have, you can do data driven tests using mstest or tools like nunit.

JMeter + either the json library from http://json.org/ or gson can do everything you want including the performance and data driven tests in a java environment.

Other popular tools:

  • SoapUI
  • TestMaker
  • WebInject
share|improve this answer
    
SOAP response can be schema-validated against XSD in WSDL definition. JSON response is validated against what? Are there schemas for JSON services? Or you mean another type of validation? –  dzieciou May 17 '13 at 19:39
1  
Yes, json.net for example uses the json schema defined at json-schema.org. You can create json schema files and use the JsonValidatingDeserializer for all of the responses. Examples here: james.newtonking.com/archive/2009/01/04/… –  Sam Woods May 17 '13 at 20:08
1  
It looks like for java this json schema validator tool github.com/fge/json-schema-validator uses the same schema defined at json-schema.org –  Sam Woods May 17 '13 at 20:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.