Introduction
When conducting load tests, you generate a load that the server must manage in a particular way. Using ReadyAPI, you may monitor a number of web server metrics to see if they are operating as you had anticipated. You utilize the Monitoring page to accomplish this.
During a test run, ReadyAPI collects all available metrics from tested web servers. During the test run, ReadyAPI shows the most crucial information as graphs at the bottom of the page in real-time. You can see all of the gathered information on the Statistics page. Typically, it includes all of the test's statistics and server metrics, including the number of simulated users and server response time.
Creating a Server
To add the server, do the following:
Step 1: Go to the Monitoring page first.
Step 2: On the toolbar, select Add New Image.
Step 3: The following Add server dialogue box:
- In the Name area, type the server name. This name won't have an impact on your server and will only be used in ReadyAPI.
- In the Host Name area, type the server's address. Either the IP address or the hostname can be entered.
- Choose your web server's default monitor and enter connection details.
Step 4: Click OK when you've finished setting up the connection properties.
Renaming the Server
To rename the server, do the following:
Step 1: Launch the Monitoring page first.
Step 2: Click the Rename Server option from the context menu of the server you wish to rename.
Step 3: Type a new server name in the Rename Server dialogue box that appears.
Step 4: Press OK.
Adding More Monitors
To add a monitor do the following:
Step 1: Go to the Monitoring page first.
Step 2: Select the toolbar's third image.
Step 3: The Add monitor window is shown:
- Set the monitor's connection properties in accordance with the subjects covered in the Monitor Reference section.
- Select OK.
The monitor name should always be distinct.
Checking If The Server Or Monitor Is Connected
The Monitoring page's connected sign appears when you are connected to the server or monitor. The disconnected icon will appear on the server or monitor if the connection is lost.
Both the server and the monitors will display the disconnected symbols if ReadyAPI is unable to connect to the server.
The monitor connection can be verified by:
Step 1: Pick a monitor.
Step 2: Click Test connection in the inspector on the right side of the page.
Step 3: When ReadyAPI tries to connect to the monitor, it displays both the connected and disconnected symbols, depending on whether the connection was successful.
You must modify your server's address in ReadyAPI if it has changed:
Step 1: Visit the Monitoring page now.
Step 2: To show the Editor panel, click the server.
Step 3: In the Host field, enter the updated value.