|
How do I estimate the number of Virtual Users for Load Testing my application ?
I am getting "Connection refused" error in testout file in Windows ?
How do I reuse the URL parameterization done for one URL for other similar URLs in a transaction ?
"Address in use exception" when running in windows ?
I am getting an error "Connect Exception prints" in the logs ?
Reports are not generated for Linux Server Monitoring using SSH protocol ?
How to add route for configured virtual Ip ?
|
Description |
For example, Virtual IP's configured in playback engine are in the range of 1.2.3.1 - 1.2.3.254 and your actual network has a range of 192.168.12.1 - 192.168.12.254, and your playback engine is on machine with ip 192.168.12.10.
In order for the web server to route network packets to the playback machine which has the virtual ip configured, you need to add route configuration in the web server machine. |
|
Solution |
Execute the route add commands as indicated below:
Windows System route add 1.2.3.0 mask 255.255.255.0 192.168.12.10
Run this command to add a route to the destination 1.2.3.0 with the subnet mask of 255.255.255.0 with a gateway address of 192.168.12.10
** You should have administrator previleges to execute the above command.
Linux System
route add -net 1.2.3.0 gw 192.168.12.10 netmask 255.255.255.0
Run this command to add a route to the destination 1.2.3.0 with the subnet mask of 255.255.255.0 and gateway address of 192.168.12.10
** You should login as super user to execute the above command. |
How do I estimate the number of Virtual Users for Load Testing my application?
|
Description |
How do I determine the number of virtual users to be simulated for load testing a Web application |
|
Solution |
Determine your web-site characteristics
Step 1 :First, Determine the Transactions Per Second (TPS): TPS=TPM/((number of business days)* (number of hours a day)*(60*60)) STEP 2 :Determine the number of Virtual Users required: TPS X Avg User time Per Transaction = Number of VU's
Example:
6,000,000 transactions per month 417 = (6,000,000*60)/(20*12*60*60*) Number of Virtual Users's = 417. |
I am getting "Connection refused" error in testout file in Windows ?
|
Description |
Connection refused" errors occur due to queuing limit of connection requests in Windows. |
|
Solution |
Windows NT 4.0 Workstation and Windows 2000 Professional are limited to a 5 pending connection requests. Windows NT 4.0 Server and Windows 2000 Server can go up to 200 connections. |
How do I reuse the URL parameterization done for one URL for other similar URLs in a transaction ?
|
Description |
The parameterization done for URL parameters (GET or POST data) for a specific URL can it be reused for other similar URLs in the selected transaction. |
|
Solution |
Yes, you can reuse the parameterization for other similar URLs in a transaction. You can choose the check box "Per BC Config" in the Cookies and Parameters tab of HTTP Parameters page. This option is used to reuse the parameterization for similar URLs in the selected transaction. |
"Address in use exception" when running in windows?
|
Description |
In Windows OS, the TCP-IP system has a parameter that controls the maximum port number used when an application requests any available user port from the system. Ports are allocated between the values of 1024 and 5000 inclusive. During a test, if we exceed this limit, we get the address in use exception. |
|
Solution |
To change this, modify the following Registry values under the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters:
MaxUserPort = dword:00004e20 (20,000 decimal)
Set the MaxUserPort to a larger number and reboot once the setting is changed. |
I am getting an error "Too many Open Files" in Linux ?
|
Description |
This may be due to the no. of files that can be opened concurrently. |
|
Solution |
To increase the file descriptors in Linux, execute the following command
in su mode. |
I am getting an error "Connect Exception prints" in the logs ?
|
Description |
When the server monitor is not able to open a telnet session with the remote machine, Connect Exception would be printed in the logs. In this case, the data would not be collected. |
|
Solution |
Ensure that the telnet server is running in the remote machine. |
Reports are not generated for Linux Server Monitoring using SSH protocol ?
|
Description |
While using Linux Server Monitoring using SSH protocol, the reports are not generated. The reports page displays as "No data to display". |
|
Solution |
While using Linux Server Monitoring through SSH Protocol, the file sshtools-j2ssh-0.0.4-alpha-bin.tar.gz has to be download from http://prdownloads.sourceforge.net/s/ss/sshtools and extracted under <QEngine-Home>/jars directory. After extraction, the following jars should be present under <QEngine-Home>/jars directory. 1.jaxb-rt-1.0-ea.jar 2.log4j-1.2.6.jar 3.sshtools-j2ssh-0.0.4-alpha.jar
Now, run the Linux Server Monitoring using SSH protocol, the reports will be generated. |
|