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.

Automating scripts

edited January 2008 in Sahi - Open Source
I am beginner in this subject.
I am working on a web applicaion in which I need record the enrolloment of a new user and to configure the tool to change the USER ID and register more users. Is it possible to perform using Sahi? also is it possible to test large number of users(1000-50000)? Pl suggest me

Thanks,
Savita

Comments

  • narayannarayan Administrators
    An easy way is to append the time at the end of the username.

    eg.
    $login = '';
    _set($login, 'abcd'+new Date());
    _setValue(_textbox('login'), $login);
    
    or use _random (http://sahi.co.in/w/_random)
    $login = '';
    _set($login, 'abcd'+_random(100));
    _setValue(_textbox('login'), $login);
    
    If you mean load testing with a large number of users, Sahi is not the right tool for that. Since Sahi uses the browser to run the tests, the number of simultaneous users will be limited by the number of browser instances an OS allows, which is generally very small.
  • Does Sahi supports Net Apps Echo-2 & Ajax framework? Does it able to read the varibales passed by Ajax.
  • narayannarayan Administrators
    Have you tried it and found any problems?
Sign In or Register to comment.