|
Segue公司提供的做法如下:
1. Turn of all un-necessary logging options.
The logging options should be set according to how much debugging is still required on your project. If your script has been passed by QA and is ready to be used for load testing, Segue recommend that you enable only the TrueLog on Error option as any other logging options will consume overhead and may influence your results. The setting for the logging options can be found under Settings | Active Profile | Results | Replay |General and TrueLog tabs.
2.Increase the Number of TCP/IP connections per second your system can open.
Use the setting Systems | Configuration Manager | System Tuning | Memory Management | when you have a machine with insufficient memory to run a specific amount of Virtual users. By selecting this option you reduce the amount of memory available for the operating system, thus freeing it for the Virtual Users to use. The downside of this is that the operating system will take a hit and this could have an effect on performance.
Note: Having the memory bar at different scales (low, medium, high) will have negligible effect on pages times or response times.
3.Increase Virtual Users per Process
This setting can be found in Settings | System settings | Workbench | Control - Virtual users
This will allow you to specify the number of virtual users to be run within one system process. Specifying multiple virtual users per process (threaded mode) will reduce the memory needs per virtual users significantly. If you are running a large number of virtual users, set this value to 10 for Web and CORBA application load tests, or to 50 for database load tests. If you want to run a stress test with a low number of virtual users on an agent and want to produce a high volume of load with each of the users, set this value to 1 (process mode).
4.Change computational interval for TSD collection.
If you have enabled TSD option go to Settings > Active Profile >Results > TSD - Change interval to 1 or 5 minutes or higher depending on duration of the test. This setting changes the interval at which data will be written to the TSD file. This setting is used for all time series data generated. Keep in mind that the shorter the interval and the longer the load test, the more data will be generated
5.Optimize network settings to allow for Maximum number of users
As outlined in the following resolution: Network Settings |
|