Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rest]

Representational State Transfer (REST) is a software architecture style for building scalable web services.

0
votes
3answers
57 views

Testing multiple API contracts as part of 1 test

I have a situation whereby, say, I have one API which creates an employee(POST); one which then returns the employee(GET) and one which deletes the employee(DELETE). I've been using RestSharp/C# to ...
0
votes
2answers
239 views

Deserializing JSON response using RestSharp

I'm looking for some general advice with an API framework I am setting up using C# and RestSharp as the client library. I've successfully set up an initial test, but I'm now looking at creating a ...
0
votes
0answers
16 views

what tool can I use to automate rest api [duplicate]

I am trying to automate REST API. I am new to REST API application. What tools are available to test?
1
vote
1answer
62 views

What type of tests would you run on this http GET request?

I'm writing up some postman tests for a REST API: api/controller/getPerson?person=personID I'm curious as to what types of things would come in your head for testing this? the call itself requires ...
2
votes
3answers
155 views

How to verify the body context using Assert command [closed]

I want to pass my test.When I run my test it gets fail because expected and actual is not matching. How to do with assert command? When I copy the actual value it shows like an error: {"level":"...
1
vote
0answers
108 views

Jira Test Center plugin with similar functionality to the Jama Test Center

I am working on a new project for which requirements are being managed in Jira. My previous experience is using Jama to manage requirements, test cases and finally test cycles and test runs. I really ...
1
vote
0answers
737 views

Generate personalised Report with Ant for jmeter script

I have a testing jmeter script that runs a single request for a REST service I had run ant run generate-report the report is successfully generated but it seems quite no descriptive I need the ...
7
votes
7answers
6k views

How to test the REST API's effectively ( Complete )?

I want to know apart form verifying status codes ( 200, 400, 500 ) and json what else we can verify to make sure API's work as intended ? PS : I have little Idea about Schema validation as well. If ...
3
votes
8answers
4k views

Tools for mobile web services, rest api testing

I am looking for some tools for testing the background rest API and web services for mobile application based on android as well as iPhone.
3
votes
1answer
1k views

SoapUI: Refresh/update test step's payload or request headers from REST resource's request definition?

When I update a resource's path, or add query/matrix parameters to a resource, these changes get "pushed" down into the test steps that rely on (i.e. are associated with) that resource. I'm wondering ...
2
votes
1answer
716 views

How to organise multiple SoapUI test scenarios to the same REST endpoint?

Let's say I have a REST service that allows you to search for rail journeys - and that once you have selected them, you can book them. The endpoint is example.com/service/v1/book, and to create the ...
1
vote
1answer
593 views

How do I change/toggle the path in all my SoapUI tests?

We have two different environments and for those environments the endpoint and the path changes, e.g. http://env-qa.domain.com/path1/serviceName http://env-uat.domain.com/path2/serviceName I know ...
2
votes
1answer
555 views

Change media type of SOAPUI response

I am sending a request with a custom accept header of application/content.bundle.v1+zip The REST service promptly responds; HTTP/1.1 200 OK content-type: application/content.bundle.v1+zip connection:...
3
votes
6answers
462 views

Which tool to use for testing REST API? [duplicate]

All REST API's that I've built have always had a good series of unit tests to verify that they are working as expected. One downside to this approach is that the testing almost always happens on ...
1
vote
1answer
568 views

REST Testing for CSRF Enable Website

I want to perform rest testing, like strong text rest client but issue here is website which I am performing testing sets CSRF token in browser in such situation rest client gives 403 error, is there ...
3
votes
2answers
248 views

Testing a REST API client

There many tools for testing REST APIs by mimicking a client, but I need the other side- test my client. I wrote a simple server using Flask, but I was hoping for something that includes builtin ...
6
votes
7answers
24k views

Suggest me the best way to automate REST web services with JSON using Java

I was testing web services manually using Postman or REST client. I want to automate testing here. I use REST with JSON format. Questions: How to use target URL ? How to pass header values? How to ...
3
votes
3answers
4k views

Automating Restful API — Tools?

I've been automating tests for our restful api's using retrofit and testNG. Basically, I create a POJO-Model... send the request in retrofit and do the assertions on the model. Example: public ...
4
votes
5answers
3k views

I am about to automate the Web API testing, how to initiate

There is a web API (RESTful) which is used by our mobile applications. Untill now we were manually testing it through mobile devices. Now, as per our client requirement, we need to automate the ...
6
votes
6answers
14k views

How can I test Web service without any automation tool and only using manual

I am manual tester and my responsibility is web, mobile application testing in which I need to test a web service but I have not using any automation tools yet. Please suggest me a manual way for to ...
4
votes
2answers
9k views

Testing a Python REST API

We want to add formal testing an quality assurance to our application API. It is written in Python using Flask with Restless and outputs JSON. My question is what is the best way to test our API? It ...
6
votes
13answers
5k views

Tools for REST webservice testing

I was using SOAPUI to test SOAP web services.But now i have to Test Rest Services. I understand that SOAPUI can be used to test REST services too. But can SOAPUI be considered as Standard Testing ...
2
votes
1answer
5k views

Getting started with Rest-Assured for REST-Api Testing

I am new to REST-Api testing. i am getting started with Rest-Assured for Rest-Api testing. i am having an issue in my first ever testcase. The code is as follows: @Test public void testGetSingleUser(...
2
votes
1answer
4k views

QC via REST API

I'm trying to update defects in quality centre using their REST API from a curl-based script. So far, I've managed to authenticate, store the cookie, and retrieve a defect's data from QC. My ...