Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
779 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
73 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
  • 21
0 votes
0 answers
55 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
38 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
354 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
0 votes
1 answer
3k views

How can I store a value as global variable from an API response and pass it to another API as parameter in Cucumber feature file using REST assured

I am designing automation scripts using the Cucumber BDD framework for REST APIs using RestAssured. I have one API which generates the "Token" and then there is another API for order ...
iAutomate's user avatar
  • 359
0 votes
1 answer
32 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
  • 21