RestAssured.port method | Rest Assured Forum

RestAssured.port method

mohit thakur Post on 19/03/2020


My question is in RestAssured class we have method class port to capture the port number.

What if my request or URI or endpoint or query string does not have port number ? do i still need to mention port port number in the code like restassured.port = .... ?

Secondly , how do i handle multiple endpoint or URI or query string pragrammatically in Rest assured


Mohit Thakur



Support Team 5 days go

You can ignore port

For multiple end points you will have to code it that way using same commands