Target Technology
- Citrix Cloud, Virtual Apps and Desktops, XenApp, XenDesktop, and Presentation Server. In this article, we help you to choose between the LoadGen - Citrix Basic and Enhanced - Load Profiles.
- Microsoft Azure RemoteApp, and Remote Desktop Services.
- Windows Virtual Desktop.
- VMware Horizon.
- Fat Client (Windows 7 and later, and Windows Server 2008 R2 and higher).
Target Server
For Citrix Virtual Apps and Desktops environments, LoadGen supports Storefront and PNAgent technologies to connect to the target environment. You can also use an ICA file. If you choose to use a Storefront or PNAgent connection, this wizard also needs to know which Published Application to connect to. You can use any of the test users' accounts to connect to the target environment and retrieve a list of available Published Applications to choose from. From LoadGen Q3 2020 release it's also possible to use the Citrix External Logon option. With this option, LoadGen supports authenticating Citrix sessions via a NetScaler, Azure AD, or an Active Directory Federation Server (Azure AD via ADFS).
For Microsoft Remote Desktop Services environments, LoadGen can use an RDS Gateway server to connect. You can configure the connection parameters for the RDS Gateway server in this wizard or connect to the RDS server directly.
Fat Clients
Testusers, test users or vUsers
Workloads, Flows, test script, or vUser simulation
- Flow / Workload: The Flow, also known as the Workload, forms the backbone of the testing process. It represents the sequence of actions that simulated users will undertake during the test. It's the main item that encapsulates everything that will happen in a given test scenario, from the applications that will be used to the types of users that will be simulated.
- Usertype: The Usertype serves as a placeholder to define specific sets of users who will run a particular application. The Usertype can be determined based on a percentage of total test users, specific test usernames, or those defined in the LoadGen Director active canvas (test users). Notably, definitions in the LoadGen Director supersede the others. This enables a more granified control over the distribution of user types in the testing process.
- (LoadGen) Application: This is the specific application you want to test. In the context of web testing, it's the placeholder for testing a specific site or test case. You must choose the specific browser you want to test with and can add multiple applications (therefore, multiple different browsers in one usertype). Furthermore, you can override the proxy settings on an application as well. These LoadGen applications are interchangeable, providing flexibility in how you structure your testing scenarios.
- Application Blocks: Application blocks are used to split applications into manageable sections for better debugging. These blocks are often used for different actions such as starting an application, entering text, or saving a document. Application blocks can also be used for defining essential measurements you want to take, such as the time it takes to load a program, a webpage, or open a specific file. This division into blocks facilitates a more structured and organized approach to testing.
- Actions: Actions represent the specific tasks that the simulated users will perform during the test. They aim to replicate real user interactions with the system, providing an accurate picture of how the system will perform under realistic conditions.
Iterations
When running a load test, it's crucial to understand the dynamics of user interaction with the application. The application's load is not static; it fluctuates as users start and finish their interactions. The first user might still be generating load when the last user begins their test, creating a simultaneous load that the application needs to handle.
One way to ensure that all users contribute to the nominal load during the test period is by setting a high enough iteration for the flow. The iteration is essentially the number of times the applications in the flow are repeated. You have a couple of options when setting this:
- Specific Number of Times: If you know the exact number of repetitions you want to simulate, you can set a specific number of iterations.
- Until a File is Removed from a Shared Location: If you want the load test to run until a specific condition is met - such as the removal of a file from a shared location - this option would be appropriate. The test will continue to repeat until the specified file is no longer present.
- Specific Time: If you prefer to run the load test for a certain period, you can set a specific time duration for the iteration. The applications in the flow will continue to repeat for the duration set.
One important aspect to consider when setting up the iterations is the duration of the load test. For instance, the first user might still be generating a load when the last user starts their test. Thus, it's crucial to ensure that the iteration count or duration is high enough to allow all users to generate a nominal load. This ensures that the load test accurately represents the system performance under maximum load.
Transaction or Application
Sub-transaction or Measurement
Validations
- The caption of foreground window: like Notepad or a part of the captions like Word – Document.
- Control in foreground window: some applications like Chrome, SAP, and Java expose their controls to the Operating System, even Microsoft Edge and Internet Explorer are exposing the controls, so this will definitely help you in web testing your business application from a user perspective.
- Image: a very, very fast way to find a specific image within the whole or specific area on the desktop. In this case, you can’t validate on a control just use this validation.
- Single pixel: the same as an image but on a specific pixel somewhere in the whole or specific area desktop.
Systems under Test
LoadGen Load & Performance Testing
Load Scenario
Load Ramp-Up
LoadGen End-to-End Monitoring
Monitoring schedule
Other options include the daily start and end times and which days of the week to monitor.
Microsoft SQL Server instance
Please ask your administrator to provide you with a Microsoft SQL Server instance. Microsoft offers a free Express edition of SQL Server that you can use (it has a size limit of 4GB).
You can create new databases in your SQL Server instance from this wizard if your SQL Server account has the privileges to do so.
LoadGen Agents