This is a migrated thread and some comments may be shown as answers.

Testing REST / JSON

3 Answers 130 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 01 Jan 2011, 02:02 AM
We like to use WebUI Test Studio to perform testing of our API. The Test are very simple, a HTTP GET / POST call is made , JSON data is returned and we verify if the JSON data is good or bad.

The only issue is IE will try to save the JSON value when the content type is json.

Jay

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 03 Jan 2011, 06:36 PM
Hi Jay,

WebUI Test Studio is a tool that automatically drives a browser, simulating a real user, and verifies the content displayed in the browser matches your expected values. WebUI does not do direct HTTP requests or directly fetch the responses from your web server. Unless there is some browser UI component to drive and verify with your API, then WebUI cannot be used for your API testing.

Best wishes,
Cody
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Haseeb
Top achievements
Rank 1
answered on 28 Feb 2011, 02:11 PM
Hi Jay,

I want to test my json based web services in java.i want to do its functional testing.Kindly can u recommend me a tool for doing that.
Ur immediate response will be highly appreciated.

Thanks

Haseeb
0
Daniel Levy
Telerik team
answered on 02 Mar 2011, 09:47 PM
Hi Haseeb,

Thanks for writing. We are not able to make any recommendations without first better understanding your approach. Can you clarify how you intend to use Java to hit your web service? Also - do you plan on using Java or JavaScript?

Perhaps you could look into the WebAii Framework's HTTP Proxy Feature - it may be worth reading up on to see if it will help you out!

All the best,
Daniel Levy
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Jay
Top achievements
Rank 1
Answers by
Cody
Telerik team
Haseeb
Top achievements
Rank 1
Daniel Levy
Telerik team
Share this question
or