Hi I have two questions:
- I have a scenario for which need to alter between different protocols: http and https. It looks like below:
.exec(http("/summary") <===== Using http
.exec(http("/sign-in") <===== Using https
Currently I am having to insert the protocol with domain and not use scenario.inject(…).protocols(httpConf). Is there a better way to support both http and https within the same domain?
- Second of all, for one kind of service, I am alternating between few urls using http.baseURLs(…,…,…) method. At run time, randomly a url is selected. Is there a way to access currently selected domain? HttpProtocolBuilder doesn’t seem to have any sufficient method.