In a stress test, HTTPS connections involve SSL/TLS handshakes. If you do not reset the SSL connection status during stress testing, requests may reuse established secure connections. After you enable Reset SSL Status for Loop, a handshake is performed for each HTTP request to accurately measure the latency and resource consumption of the server. You can select different SSL versions to check whether the server performance varies based on the SSL version.
Reset SSL Status for Loop
The Reset SSL Status for Loop feature controls whether the SSL context content is reset when the same API is requested multiple times. For HTTPS stress testing, you must determine whether to reset the SSL connection status each time a business session loops. By default, the SSL connection status is not reset each time a business session loops. If you reset the SSL connection status, the SSL connection status is re-initialized in each cycle of the business session. This way, the SSL context configuration is reset each time the business session is run. This allows you to accurately simulate the stress testing scenarios of different users.
SSL Protocol
HTTPS stress testing is the first step for the SSL handshake between the client (load generator) and the server. The client informs the server of the highest SSL version that is supported by the client. The server selects the highest SSL version from the intersection of the SSL versions supported by the server and the client. The SSL version used in stress testing is negotiated by the load generator and the server during stress testing. The SSL version in the Advanced Settings section is the SSL version preferred by the client. The SSL version may not be the actual version that is used in stress testing.
The following table describes the versions of common web browsers that support different SSL versions.
Browser | Version that supports TLSv1.3 | Version that supports TLSv1.2 |
Google Chrome | 70 or later | 29 or later |
Safari | 14 or later | 7 or later |
Microsoft Edge | 79 or later | 12 or later |
Firefox | 63 or later | 27 or later |
IE | Not supported | 11 |
Configure HTTPS settings
Log on to the PTS console, choose , and then click PTS.
On the PTS Scenario page, expand the Advanced Settings section. In the HTTPS Settings subsection of the section, turn on Reset SSL Status for Loop and select a version from the SSL Protocol drop-down list.
ImportantIf you turn on Reset SSL Status for Loop, the load generator has additional consumption.
Parameter
Description
Reset SSL Status for Loop
Scenario 1
In an HTTPS stress test, you want to simulate 100 users logging on to and continuously accessing the system. Each time the business session runs, the business session simulates the behavior of the same virtual user (VU).
In this case, turn off Reset SSL Status for Loop and set the number of VUs to 100.
Scenario 2
In an HTTPS stress test, you want to simulate 100 users simultaneously accessing the system for 5 minutes. Each time the business session runs, the business session simulates the behaviors of different VUs.
To ensure the authenticity of the load simulation, turn on Reset SSL Status for Loop and set the number of VUs to 100.
SSL Protocol
The SSL Protocol parameter specifies the highest SSL version supported by the client. Performance Testing Service (PTS) supports TLSv1.2 and TLSv1.3 versions. Default value: TLSv1.3.
If you simulate a new version of the browser in your stress testing scenario, we recommend that you select TLSv1.3 as the SSL version.
If you simulate an earlier version of the browser in your stress testing scenario, we recommend that you select TLSv1.2 as the SSL version.