Setting the test case option, "Maintain HTTP session" does not transfer the port number to subsequent test steps. Example: if I specify http://localhost:8888/app/page1 as the URL for all test steps and run the test case, the HTTP log file shows that the first step used http://localhost:8888 but the next step only had http://localhost for the URL. Of couse the test case fails. I wanted to use the "Maintain HTTP session" option because the first step was a redirect for login.
I downloaded version 5.2.0, loaded the test XML file, and the test case ran successfully.
This happens in SoapUI 5.2.1, build date 20151002-1138