dmltn84
13 years agoOccasional Contributor
WS Load test consumes 100% cpu for only 20 virtual users
Hello,
I have set up a load test in SoapUI which consists of 4 steps:
1. Generates random id
2. Generates identification number which should match validation with control numbers (as groovy script)
3. Sends web service request with these two parametrized values (rest is hard-coded)
4. 2 seconds delay
I start a load test in soap ui for 20 virtual users and in a minute SoapUI consumes 100% of CPU. Same behavior is observed in load ui and during distributed testing (CPU on agents is consumed 100%)
Even when I stop tests CPU usage remains at 98-100% and I have to restart soapui/loadui to get resources back.
Computer running soapui:
Win 7 32bit
i5-650 processor 3.2 GHx
3,5 Gb RAM
Agents are GUIless ubuntu machines running in VMWare with:
1 Intel Xeon processor X5675 3 GHz
3 Gb RAM
I have serious doubts that hardware limit is hit, since sometimes load is generated correctly (CPU utilization is always less than 10% even with 50 virtual users) and sometimes it's impossible to run a test.
I tried to switch java versions (between latest releases of 1.6.x and 1.7.x series) with no success, I also tried with bundled java and still there is no pattern.
Please advise how this situation can be remedied, has anyone had such problem with SoapUI/LoadUI?
I have set up a load test in SoapUI which consists of 4 steps:
1. Generates random id
2. Generates identification number which should match validation with control numbers (as groovy script)
3. Sends web service request with these two parametrized values (rest is hard-coded)
4. 2 seconds delay
I start a load test in soap ui for 20 virtual users and in a minute SoapUI consumes 100% of CPU. Same behavior is observed in load ui and during distributed testing (CPU on agents is consumed 100%)
Even when I stop tests CPU usage remains at 98-100% and I have to restart soapui/loadui to get resources back.
Computer running soapui:
Win 7 32bit
i5-650 processor 3.2 GHx
3,5 Gb RAM
Agents are GUIless ubuntu machines running in VMWare with:
1 Intel Xeon processor X5675 3 GHz
3 Gb RAM
I have serious doubts that hardware limit is hit, since sometimes load is generated correctly (CPU utilization is always less than 10% even with 50 virtual users) and sometimes it's impossible to run a test.
I tried to switch java versions (between latest releases of 1.6.x and 1.7.x series) with no success, I also tried with bundled java and still there is no pattern.
Please advise how this situation can be remedied, has anyone had such problem with SoapUI/LoadUI?