Forum Discussion
richie
4 years agoCommunity Hero
Hey ChandrasekharK,
So you have 2000 records saved within a single testdata spreadsheet and it's taking approx. 45 mins to execute the whole project's tests?
45x60=2700 seconds, so its taking 2700 seconds to execute 2000 tests? Thats 1.35 seconds per test....that's not too bad.
Do the requirements of your system preclude you running your execution in parallel rather than sequential mode? That would cut the time down dramatically.
If you search the optimising memory management in readyapi! via google you will retrieve some links indicating how you can make some alterations to you java heap, etc. in readyapi!'s vmoptions file.
The other option is running in headless mode....you essentially use testRunner app to run the execution of your project via the command line. The advantage of doing this is that your machine isnt using up cpu/memory resourcing running the app in GUI mode.
Cheers,
Rich
So you have 2000 records saved within a single testdata spreadsheet and it's taking approx. 45 mins to execute the whole project's tests?
45x60=2700 seconds, so its taking 2700 seconds to execute 2000 tests? Thats 1.35 seconds per test....that's not too bad.
Do the requirements of your system preclude you running your execution in parallel rather than sequential mode? That would cut the time down dramatically.
If you search the optimising memory management in readyapi! via google you will retrieve some links indicating how you can make some alterations to you java heap, etc. in readyapi!'s vmoptions file.
The other option is running in headless mode....you essentially use testRunner app to run the execution of your project via the command line. The advantage of doing this is that your machine isnt using up cpu/memory resourcing running the app in GUI mode.
Cheers,
Rich
- sonya_m4 years agoSmartBear Alumni (Retired)
- sonya_m4 years agoSmartBear Alumni (Retired)
ChandrasekharK I see that you replied straight to the email notification - this way your reply won't make it to the forums and nobody will see it. Let me manually copy it this time, but, please try posting inside the Community next time, thank you!🙂
>>
Hi,
With this 2000 data in the excel, we need to pass through multiple APIs with a loop, If we use the loop for multiple APIs, it is taking one by one from the excel, So it is taking more time to finish the test. If we use the test runner also it will hit one by one, it is also taking more time. Please suggest a solution to finish the test quickly.
Thanks,
Chandrasekhar K.<<
Related Content
- 4 months ago