You can reuse the Azure Load Testing resource that you created for other Azure Load Testing tutorials and how-to articles. In the file, replace the placeholder text your-endpoint-url with your own endpoint URL. It takes less than two minutes to complete. This sample Apache JMeter script simulates a load test of five virtual users simultaneously accessing a web endpoint.
LOADER TEST CODE
Open SampleTest.jmx in a text editor and paste the following code snippet in the file: If you already have a script, you can skip to Create a load test.Ĭreate a SampleTest.jmx file on your local machine: touch SampleTest.jmx In this section, you'll create a sample Apache JMeter script that you'll use in the next section to load test a web endpoint. Refresh the webpage for the user interface to reflect the updated permissions. The role assignments might take a few minutes to become active for your account. To assign Azure roles, you must have Microsoft.Authorization/roleAssignments/write permissions, such as User Access Administrator or Owner. Select a geographic location to host your Azure Load Testing resource. The name can't begin with an underscore (_), and it can't end with a period (.) or a dash (-). The name can't contain special characters, such as or whitespace.
Or select Create new, and then enter a unique name for the new resource group.Įnter a unique name to identify your Azure Load Testing resource. Select the Azure subscription that you want to use for this Azure Load Testing resource. Provide the following information to configure your new Azure Load Testing resource: Field On the Azure Load Testing pane, select Create. Use the search bar to find Azure Load Testing. Select the menu button in the upper-left corner of the portal, and then select + Create a resource. Sign in to the Azure portal by using the credentials for your Azure subscription. If you already have a Load Testing resource, skip this section and continue to Create a load test. It provides a centralized place to view and manage test plans, test results, and related artifacts. Create an account for free.įirst, you'll create the top-level resource for Azure Load Testing. An Azure account with an active subscription.For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the Supplemental Terms of Use for Microsoft Azure Previews. Azure Load Testing is currently in preview.