The system that I’m trying to test requires authentication to one server and with the token obtained from that server, I can submit requests to the server where the API is. The URLs do not have the same domain.
Is it possible to create to HTTPConfigs for each URL/server or is there a different way I should go about this?
You can define only one http protocol per scenario. But, you are able to use full URL in the get / post methods (I propose to use full URL for your authentication server)
Note that you even can build your URL (from a baseAuthenServerUrl variable?)