as nobody else answered, i try it somehow :)write a script to simulate 300 users the same time searching process.in serverside php file define start time and final time in the beginning and end. in serverside create a table(log) in db to record the duration.(id,user-ip,duration)in client side, write a script to loop browsering the server php file. the test case should be the most heavy function of searching. finally check the log table and evaluate it. 300 people the same time online searching should be enough for 50k users' scale site.your topic is pretty interesting.. ding ding.. with best wishessandy

解决方案 »

  1.   

    on the base of last msg, i get some more ideas.. in the client side, the test script could be written in html + javascript. i.e. a form includes all hidden variables including valid values towards to your search function. once submit the form, in javascript write a loop submiting the form for 300 times.. 
    <html>
    <head>
    <script>
    function isValid(x)
    {
      var submit_string = compose_the_string_to_post(x);
      for(var i=0; i<300; i++)
      {
         x.submit();  //not sure of the syntax :(
      }
    }
    </script>
    </head>
    <body>
    <form method=post action="your_remote_serach_engine_ interface" onsubmit=isValid(this)>
      <input type=hidden name=city values="city">
      <input type=hidden name=country values="country">
      ...
      ..
      .
      <input type=submit name=s1>
    </form></body>
    </html>i have no idea whether php can do a graphical presentation.. in the server side we could at least write a java 2D application.wait for better solution.. 
      

  2.   

    thanks for your answer