Forum Discussion

rajashekarreddy's avatar
rajashekarreddy
New Contributor
13 years ago

How to maintain load balancing

Hi,
We are using SOAPUI 4.0.1 for webservice testing,The wsdl is working fine and pulling data in local dev environment .but ,it is not working in the production with multiple servers, i think it is a load balancing problem.

Ex:-
"https://harrishealth-uat.keyusa.net/ws/services/GetProtocols?wsdl" is my wsdl path.If we move this in prd ,suppose we have 4 servers for maintaing the load balance for my product.we deployed all the servers and tested it from SOAPUI,but it is working on only one server not in remaining 3 servers.we need to run 4 times for each request.we are not getting any idea how it is behaving .
Plz let me know if any suggetions ,how to support load balance in SOAPUI.

Thanks in advance

3 Replies

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    Are your systems deployed in the load balancing mode? If so, there must be a web server which will take care of incoming requests and route according the routing configuration. I do not see anything related to soapui.

    Or is the case that 4 servers are working independently and your need to test them separately? Then, you may look at the testRunner utility options where you can pass the endpoint url which is variant for each test run.
  • Yes,my systems deployed in the load balancing mode,and we are using APACHE as a web server,this webservice .war deployed seperately in all the 4 servers.
    For the first time the server which we run/hit the request,only that server is working fine ,other 3 servers are not working even without log messages.
    Here my question is:
    1)Is the endpoint address changes to server to server.
  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    If the configuration of the load balancing is correct, there is nothing to bother against which server the tests are executed and that is what will happen in real time systems. If the request is going to only one server all the time, then it is time to look for load balancing configuration.