RestAssured.port method | Rest Assured Forum

RestAssured.port method

M
mohit thakur Post 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

S

Instructor

Support Team 5 days go

You can ignore port

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