For your first Sequence, let’s keep it simple. In the video at the bottom, you see how Performance can be used to do performance testing of a demo eCommerce webpage. But you can record any site you like.
Start the recorder and point it towards your application
Before you start, ensure the Performance recording certificate is installed in the correct trust store:
-
Windows: Trusted Root Certification Authorities
-
macOS: Keychain Access → System → Certificates
If the certificate is missing or not trusted, the recorder will fail to start.
Start by opening the website of your choice in your browser. For best performance, do it in a separate browser than the one you have Performance in.
Then return to Performance and: Navigate to the Sequence you want to record.
-
Click Record and see the window open.
-
By default, the Recorder is set to Only URLs with specific hostname. You can change it to All URLs however it is advised to keep it specific.
-
If kept to Only URLs with specific hostname, you must enter the hostname of the application you are recording.
-
The recorder only captures traffic from the exact domain you specify. If the domain is incorrect, Performance will not capture any interactions.
-
-
Now, we are ready to start recording actions. The correct flow is:
-
Click Start Recording
-
CONNECT the proxy
-
Perform the actions you want to record. Performance will silently capture all eligible network events.
-
DISCONNECT the proxy
-
Return to Performance, and click Stop Recording
-
If the Stop button does nothing, this usually means the proxy is still enabled. Turn off the proxy first, then click Stop.
Carry out the actions you want to test in your applications
Go to your browser and perform the action you want to capture. To start simple, simply reload the page. Once the page finishes loading, return to Performance and press Stop Recording.
Performance now shows you the captured Sequence. Every network call made during the front page load is listed as a step. You can inspect each of these steps to see details such as status codes, payloads, headers, assets, and timing information.
Conduct a preview run to see how Performance can now simulate your actions
To make sure the recording is valid, click Preview. Performance will execute the Sequence as it was recorded and show results as each step completes. Green indicators confirm that everything succeeded and response times are shown for each action.
You can open any individual step to see its technical details. This includes the full request and response, which is helpful when validating that the captured traffic matches what you intended. These details also become important later when adding parameters or assertions.
Once you are satisfied with the recording, rename the Sequence so it is easy to identify later. For example, you might call this one “Reload front page”.
Save it and move on to the next test case
With that, you have created your first test sequence in Performance. This sequence can now be placed into a timeline where you can simulate virtual users, configure load profiles, run tests from different geographic regions, and analyze performance under pressure.