Questions tagged [rest-assured]

REST Assured is a Java library for writing simple and maintainable tests for REST services.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
602 views

How to share data between steps in Cucumber feature file?

I am designing automation scripts using the REST APIs, RestAssured with Cucumber BDD framework. I have multiple APIs where one API's response is used as a parameter in another API. Here is my feature ...
iAutomate's user avatar
  • 359
1 vote
1 answer
4k views

How to send nested JSON in cucumber as request

I'm trying to send nested JSON through Cucumber data table. I have the following scenario, I have tried Scenario Outline too but it didn't resolve the issue. Scenario: provider edits new ...
Qa Automation's user avatar
0 votes
1 answer
65 views

Test data management for automation api testing

Can you help me with some ideas on how to deal more efficent with test data used as precondition for automated api tests? I can’t use api calls for creating the data, so I would have to use sql ...
Thea's user avatar
  • 11
0 votes
0 answers
52 views

Login flow automation of application which uses aws cognito to login the use into the app

I have an application where I need to automate the login flow using postman. The application UI accepts email and password but the thing is in the backend that application is using aws cognito to ...
Sanjay Bhatia's user avatar
0 votes
0 answers
36 views

Not able to capture/Extract id generated in response in Post method

I am facing this issue - capture/print the id generated in response last 2 line are the issue, the moment i take out last 2 line,test get passed public void emp() { RestAssured.baseURI= "...
chinmay k's user avatar
0 votes
0 answers
341 views

How to verify the Json response field data type in rest assured test

How can we verify the Json data type of mentioned fields such as "price", "ck", "name", "enabled" and "tags" in rest assured test. { "odd":...
swapnil shirke's user avatar
-1 votes
1 answer
36 views

I am manually putting ID generated via POST method in PUT,GET method, How to Auomate it

ISSUE- Using post method, ID get generated in response(id=ff80818188956aa6018899e27b76038b), now I don't want to put this id generated in PUT,DELETE,GET, manually(as I am doing below) Can you please ...
chinmay k's user avatar
-1 votes
1 answer
30 views

To Cucumber(or other bdd) or not to Cucumber when automating api tests?

I want to know you’re opinion about your experience with Cucumber when automating api tests. Would you recommend it in all cases? I’m dealing with a very complex endpoint(complex request/response) and ...
Thea's user avatar
  • 11