In my case, I have multiple Base basePath.
Eg: Base URI- > http://reg10xx.cwx.local/API/Admin
BasePath1->/User
EndPoint->/List
The problem arises here.
Base URI-> http://reg10xx.cwx.local/API/Admin
BasePath2->/Organisation
EndPoint->/Roles.
Here is my case problem is with BasePath 1 and Base Path 2.
As in TestBase.java Class in Before Suite I have used
RestAssured.baseURI = configProperties.getBaseURI();
RestAssured.basePath = configProperties.getBasePath();
now I want to set my 2nd base path then is there any solution to this?