Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Printing response using rest assured

Lobsang I'm New Here Jan 04, 2022

Hi, recently i started learning rest assured and I encounter strange behaviour.

Basically I created request to create boards with default param on defaultLists = true, then added another request to read from board and finally simple print to see response - every time on single print I get two identical prints of two list containing same items.

String boardName = "Board without lists";

Response creationResponse = given()
.queryParam("key", key)
.queryParam("token", token)
.queryParam("name", boardName)
.queryParam("defaultLists", true)

JsonPath jPathPost = creationResponse.jsonPath();
idBoard = jPathPost.get("id");

Assertions.assertEquals(boardName, jPathPost.get("name"));

Response getResponse = given()
.queryParam("key", key)
.queryParam("token", token)
.get(url + "/" + idBoard + "/lists")


Any idea why on console I receive two same lists? Checked on postman with same request and i got normal response with one list.


Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristjan Geir Mathiesen - Origo for sharing the picture of Taco having fun with his new friend...

462 views 19 19
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you