Bharat Godhani
Bharat Godhani

Reputation: 110

How to create dummy webservice for testing?

I am android developer.

So far I needed web service for testing of scattering data using android (i.e. XML or JSON format), I created many static web service and hosted on server.

But, This task is very timer consuming.

Is there any website, such that it provide a way to put and access dummy data using URL?

Upvotes: 0

Views: 7251

Answers (5)

ScorpionKing2k5
ScorpionKing2k5

Reputation: 2501

I find Firebase to be the fastest way to create hosted web services.

It allows for importing json files or creating custom node structures from the UI.

The free version is not production grade, but serves as a great alternative for testing.

Upvotes: 0

Rajesh
Rajesh

Reputation: 15774

My 2 cents: If the test data is a limited set, I use the Dropbox cloud storage. The JSON (or XML) files are uploaded to the Public folder and the Public link to these files are used in place of the URLs for the specific web service calls.

You can create an adapter that provides the web service URL and this can be stubbed out during testing.

Upvotes: 1

GK_
GK_

Reputation: 1212

you can create a dummy webservice(loca) for your testing purpose in your Pc using Wampmanager http://www.wampserver.com/en/..

You can create your dummy service in this and if you want to make that as global you can easily transform from this.

You will get a clear tutorial about wamp and how to use that..

Tutorial-how-to-connect-android-with-php-mysql

Upvotes: 1

MrWaqasAhmed
MrWaqasAhmed

Reputation: 1489

There are number of solutions available like

  1. http://maqueapp.com/
  2. http://www.sinatrarb.com/ (Ruby novice knowledge is required)
  3. http://services.aonaware.com/DictService/DictService.asmx?op=Define

Upvotes: 2

Rohit
Rohit

Reputation: 490

I think you used it in a wrong way because i have used JSON for my app i found it faster than others. May be you are internet connection is slow. That's why you found JSON, slow process.

Upvotes: 0

Related Questions