The Design Page¶
The Design page lets you list and create Virtual Users. A Virtual User (shortened VU) represents a user journey through your application. It lets you simulate a real user behavior.
For each VU, the list displays:
- The name and description,
- The creation and edition dates,
- The number of containers,
- The number of actions,
- The type of VU (JMeter or WebDriver).
Virtual Users list actions¶
Several actions are available when placing your mouse over an existing connection in the list:
|Duplicate VU||Lets you duplicate a VU in one click. You can then edit the duplicated VU.|
|Delete VU||Lets you remove a VU in one click. This operation cannot be reverted so proceed with caution.|
Filter Virtual Users¶
You can filter the displayed VUs using the Filter field:
- Simply type the name in the Filter field placed on the upper right corner of the page,
- The list bellow will only display the VUs that contains the term in their name or description.
The buttons on the right allow you to switch between cards and table view of VUs.
Create a VU¶
To create a new virtual user simply click on the big blue Plus button to display the creation form.
Then there are several methods to create a virtual user:
- From Website URLs: enter the website addresses you would like to test,
- From REST API URLs: enter the Rest API URLs you would like to test,
- Selenium Web Driver: enter a JMeter WebDriver script to simulate a real-browser interactions.
Record Http Archive
- Import Chrome HAR: import web browser Http Archive,
- Import Fiddler / Charles Proxy / Firefox HAR: import Http Archive generated by Fiddler or Charles Proxy or FireFox,
- Import JMeter JMX: import and existing JMeter project,
We strongly recommend to record your web application using Fiddler or FireFox as they also record response contents.
HAR is an abbreviation for Http Archive:
The HTTP Archive format or HAR, is a JSON-formatted archival format for logging of a web browsers interaction with a site. The common extension for these files is .har.
HAR import filtered servers¶
OctoPerf automatically filters servers when you import a HAR:
- Google, Facebook, etc.
The complete list is available here.
You can also remove servers after the import if we missed some of them.
Remove a VU¶
The following procedure explains how to remove a virtual user and all of its content:
- Go on the design page,
- Place your mouse over the VU you want to remove,
- Click on the Delete button that appears next to the VU name,
- Click on Yes to confirm the deletion.
Deleting a VU deletes all the data it contains. Proceed with caution.