18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Running scripts with more threads

bchandu141bchandu141 Members
edited November -1 in Sahi - Open Source
Hi,

I am unable to run the scripts by giving threads count more than one. Scripts are failing with more count as 10 and if the count is less as 2 or 3 scripts are running individually i.e no 2 tests are running simultaneously.

I want to test my Applications performance. How can I apply Load?


Thanks,
Chandrasekhar.

Comments

  • Hi bchandu

    I don't think Sahi is quite the right tool for performance testing. As I as well experienced, the more threads you have, the more increases the possibility of unexpected errors. Maybe narayan could explain why this is happening. Executing different scripts does well with many threads, but 10 parallel executions of a single scripts fails 50-80%

    That tests aren't running simultaneously can be changed in the sahi.properties but i think this isn't recommended:
    # Time (in milliseconds) between tests. Increase this if you get random connection refused exceptions or if tests hang after some time. units milliseconds
    suite.time_between_tests=1000
Sign In or Register to comment.