mdantasf
13 years agoOccasional Contributor
Mockservice
Hi everyone,
I would like to know how can i run multiple mocks the same port? I'm trying to run via command line in Linux as shown below, but does not work. Displays an error that the port is already in use.
When I run the command line below, wheel and it works!
sh /app/servers/soapui-4.5.1/bin/mockservicerunner.sh -p 8081 /app/mocks/ARService/InvoiceServices/InvoiceServices-soapui-project.xml
But when I execute the next line (another mock) on the same port, it gives the error that the port is already being used.
sh /app/servers/soapui-4.5.1/bin/mockservicerunner.sh -p 8081 /app/mocks/CRMService/InteractionService/ServiceInteractionService-soapui-project.xml
In windows operating system, these mocks are both standing by the soapUI GUI interface, the same port and all work. Is there some trick to make it work the same way on linux?
REgards,
I would like to know how can i run multiple mocks the same port? I'm trying to run via command line in Linux as shown below, but does not work. Displays an error that the port is already in use.
When I run the command line below, wheel and it works!
sh /app/servers/soapui-4.5.1/bin/mockservicerunner.sh -p 8081 /app/mocks/ARService/InvoiceServices/InvoiceServices-soapui-project.xml
But when I execute the next line (another mock) on the same port, it gives the error that the port is already being used.
sh /app/servers/soapui-4.5.1/bin/mockservicerunner.sh -p 8081 /app/mocks/CRMService/InteractionService/ServiceInteractionService-soapui-project.xml
In windows operating system, these mocks are both standing by the soapUI GUI interface, the same port and all work. Is there some trick to make it work the same way on linux?
REgards,