Forum Discussion
AlexeyKolosov
Staff
14 years agoHi Rasim,
The first script you provided is for functional testing of web applications. It works with your web browser and simulates mouse clicks and keystrokes with the web browser's objects. Please see the Testing Web Applications help topic for more information.
The second script is for HTTP load testing. It does not interact with your browser - TestComplete acts as a web browser in this case, and this script works with HTTP requests and responses instead of web page elements. So, the two scripts are for two absolutely different testing types which work with absolutely different entities. As for the testing type you need to choose, the following information should help you with that.
There are two plug-ins in TestComplete: the HTTP Load Testing plug-in and Network Suite plug-in.
The first allows you to test client-server applications that communicate using HTTP or Secure HTTP. TestComplete emulates up to 300 virtual users on each computer involved in testing. If you are interested in this approach, please read the Load Testing - Overview help topic - it includes links to other help topics.
The second plug-in performs distributed testing of the server application through the GUI of a number of client applications. You can simulate as many users as many computers are involved in the testing process: the client application will be launched on each computer and the script on the master machine will control activity of every client. Please see the Distributed Testing topic of the help system for details.
Also, please see the following pages for more information:
Distributed Testing With TestComplete
Can I perform distributed testing with TestComplete?
The first script you provided is for functional testing of web applications. It works with your web browser and simulates mouse clicks and keystrokes with the web browser's objects. Please see the Testing Web Applications help topic for more information.
The second script is for HTTP load testing. It does not interact with your browser - TestComplete acts as a web browser in this case, and this script works with HTTP requests and responses instead of web page elements. So, the two scripts are for two absolutely different testing types which work with absolutely different entities. As for the testing type you need to choose, the following information should help you with that.
There are two plug-ins in TestComplete: the HTTP Load Testing plug-in and Network Suite plug-in.
The first allows you to test client-server applications that communicate using HTTP or Secure HTTP. TestComplete emulates up to 300 virtual users on each computer involved in testing. If you are interested in this approach, please read the Load Testing - Overview help topic - it includes links to other help topics.
The second plug-in performs distributed testing of the server application through the GUI of a number of client applications. You can simulate as many users as many computers are involved in the testing process: the client application will be launched on each computer and the script on the master machine will control activity of every client. Please see the Distributed Testing topic of the help system for details.
Also, please see the following pages for more information:
Distributed Testing With TestComplete
Can I perform distributed testing with TestComplete?