cancel
Showing results for 
Search instead for 
Did you mean: 

Different cnt values for the same LoadTest

SOLVED
Highlighted
New Contributor

Different cnt values for the same LoadTest

Hi Guys,

 

I runned two tests with the same parameters and in the first one the cnt was 620 (doing the math looks right), but in the second test the cnt was only 233.

 

I also did a test with 3 hours and the behavior keeps the same.

 

Someone who can help me to understand this difference?

 

Also, I attached one load test, in order to see the parameters

 

SOAPUI.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Different cnt values for the same LoadTest

How much memory are you running?
Where have you configured the heap size? .vmoptions file? or loadtestrunner script?
What command have you run? Pls refer documentation.
https://www.soapui.org/test-automation/running-from-command-line/load-tests.html


Regards,
Rao.

View solution in original post

6 REPLIES 6
Highlighted
Community Hero

Re: Different cnt values for the same LoadTest

May be you want to try with Count for Limit instead Seconds and see.


Regards,
Rao.
Highlighted
New Contributor

Re: Different cnt values for the same LoadTest

If I changed for Total Runs, it works but I need to run the test for 3 hours.

The maths seems not right, because I expected around 600 executions for 1 minute (10 threads* 60 seconds).

Highlighted
Community Hero

Re: Different cnt values for the same LoadTest

1. Prefer command line execution for that instead of using UI. Use loadtestrunner script under readyapi_home/bin directory

2. Make sure machine has enough memory to be able to inject such load


Regards,
Rao.
Highlighted
New Contributor

Re: Different cnt values for the same LoadTest

Hi guys,

I tried with the suggestion and occurred the same behavior.

 

The purpose is to run a load test during one hour example, with 10 threads per second.

Highlighted
Community Hero

Re: Different cnt values for the same LoadTest

How much memory are you running?
Where have you configured the heap size? .vmoptions file? or loadtestrunner script?
What command have you run? Pls refer documentation.
https://www.soapui.org/test-automation/running-from-command-line/load-tests.html


Regards,
Rao.

View solution in original post

Highlighted
Community Manager

Re: Different cnt values for the same LoadTest

Thanks Rao!

 

@martins8977 , was the documentation article helpful?

If you still didn't find an answer, please provide more information about your situation as nmrao is asking, thank you.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors