RestAssured.port method | Rest Assured Forum
M
mohit thakur Posted on 19/03/2020

Hi,

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

Regards,

Mohit Thakur


A
Ashish Thakur Replied on 24/03/2020

You can ignore port

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