14 years ago
Cannot run multiple instances of SoapUI & different settings
I need to be able to run two instances of SoapUI: one for SSL Mock services and another one for non SSL.
The problem is that I cannot find out how to start SoapUI with different soapui-settings.xml files one with SSL enabled and another without.
I have tried to use the mockservicerunner as follows, also without success:
Start non SSL mock service:
Start SSL mock service:
Note: the nonssl-settings.xml is the same as the default SoapUI settings, whereas the SSL one has the "Enable Mock SSL" true (the rest of the SSL related settings are also defined).
What happens is when I open the http://localhost:8088/mockServiceAPort?WSDL I can see the WSDL so it is OK, but when I try to open the second SSL service at https://localhost:8443/mockServiceBPort?WSDL I get nothing.
The weird thing is I can open non SSL at http://localhost:8443/mockServiceBPort?WSDL it works!
It is as if the first mock service takes precedence on the SSL and switches it over to non SSL, even if these services urn on separate ports...
Can someone help? Is this s bug in SoapUI using some global (static) class that overrides these settings?
Thanks in advance.
The problem is that I cannot find out how to start SoapUI with different soapui-settings.xml files one with SSL enabled and another without.
I have tried to use the mockservicerunner as follows, also without success:
Start non SSL mock service:
mockservicerunner -p 8088 -s .\nonssl-settings.xml MockServiceA-project.xml
Start SSL mock service:
mockservicerunner -p 8443 -s .\ssl-settings.xml MockServiceB-project.xml
Note: the nonssl-settings.xml is the same as the default SoapUI settings, whereas the SSL one has the "Enable Mock SSL" true (the rest of the SSL related settings are also defined).
What happens is when I open the http://localhost:8088/mockServiceAPort?WSDL I can see the WSDL so it is OK, but when I try to open the second SSL service at https://localhost:8443/mockServiceBPort?WSDL I get nothing.
The weird thing is I can open non SSL at http://localhost:8443/mockServiceBPort?WSDL it works!
It is as if the first mock service takes precedence on the SSL and switches it over to non SSL, even if these services urn on separate ports...
Can someone help? Is this s bug in SoapUI using some global (static) class that overrides these settings?
Thanks in advance.