Baseline11 Docs
Quick-Guides
Quick-Guides
  • 👋Welcome to Baseline11
  • WHAT IS BASELINE11?
    • ✨Introduction
  • Getting Started
    • User Sign Up
  • User Management
  • User Sign In
  • 📎INTEGRATION WITH AWS
  • Updating User Details
  • Project Management
    • Project Creation
  • Project Member Creation
  • Test Creation
    • Simple Test Creation
  • Test Creation With CSV File
  • Test Creation With CSV Split
  • Test Creation With Multiple Instances
  • Test Creation With Set Property
  • Test Creation With Plugin
  • Test Creation With User Property File
  • Test Details
    • Test Details Summary Page
    • Test Details: LG Page
    • Test Details: Error Page
    • Test Details Config Page
  • Test Details: Output Page
Powered by GitBook
On this page
  • The steps mentioned below are the process for test creation with Set property
  • Sample Files

Test Creation With Set Property

PreviousTest Creation With Multiple InstancesNextTest Creation With Plugin

Last updated 1 month ago

1. Introduction

This user manual provides a step-by-step guide on how to create a test using a SetProperty JMX file in the test execution platform. The SetProperty function in JMeter allows users to define dynamic variables that can be reused throughout the test plan.

Using a SetProperty JMX file, users can set and modify test parameters to control execution behavior. This feature is useful when dynamically adjusting test data during execution.

2. System Requirements

To create a test, ensure you have:

  • A stable internet connection

  • An active Project Admin or Project Member account with AWS Setup

  • A web browser on a compatible device (PC, tablet, or mobile phone)

  • A valid JMX file with SetProperty functions defined.

3. Defining a SetProperty Function in JMeter

The SetProperty function in JMeter is used to define global properties that can be accessed across different test elements. These properties remain available throughout the test execution.

How to Define a SetProperty Function in JMeter

  • You can use the __Property() function directly in a JMeter test element:

    • ${__property(Threads,,)}

  • The SetProperty function is typically added in:

    • Thread Group > Number of Threads

    • Thread Group > Ramp-Up Time

  • Just apply property names such as threads and rampup without any value. The Baseline11 detects the SetProperty function and adds the corresponding text box in the test creation form to allow users to input values into the JMX file.

This method is helpful when you need to pass dynamic values between different parts of your test.

The steps mentioned below are the process for test creation with Set property

1

Accessing the Test Management Page

  1. Open your web browser

  2. Go to our official website:

  3. Sign in with your Project Admin or Project Member credentials

  4. Navigate to the Dashboard

  1. Click on the Tests tab

2

Creating a New Test

Before creating a new Test, ensure that a Project has been created

  1. Click on the Add Test button.

  1. Enter the following test details:

    • Test Name

    • Select a Project

    • Description

    • Select Jmeter Version

    • Upload The Setproperty JMX File (In Drop your .JMX Files here or Browse)

    After uploading the SetProperty JMX file, the Baseline11 detects the SetProperty function and adds two text boxes in the test creation page to allow users to add dynamic values for Number of Threads and Ramp-Up.

  • If additional files (e.g., CSV files) are required, upload them under the Extra Files section.

3

Add Load Agents Configuration

  • Select Region (Choose the region in which you want to create and execute the test)

  • Select Instance Type (Choose the instance type in which you want to create and execute the test)

  • Select Subnet ID (Select the subnet details required for test execution)

  • Select Security Group (select the security group for the test)

  • Add Server Count (Specify the number of servers to be used for testing)

  • Add Disk Size (Define the required disk size for the test execution environment)

  • Select or Skip VPC Subnet (Specify whether to use a VPC subnet and configure its details accordingly)

  • Click Save Icon to save the LG Details

4

Run The Test

  1. Click the Run Test button to start the Execution of the test.

  2. After Successfully Creating the test, you will redirected to the test’s summary page, as well as it will appear in the Tests Table, displaying the following details:

    • Test Name

    • Project Name

    • User Email (The user who created the test)

    • Start Time (Time when the test execution began)

    • End Time (Time when the test execution is completed)

    • Status (e.g. Initializing, Running, Completed, Failed)

5

Managing Tests

  • Rerun The Test: Click on the Rerun Icon next to a test to execute the test again while keeping the same configurations.

  • Stop The Test: Click on the Cross Icon to stop a test. If the cross icon is gray, it indicates that the test is not currently running (either it has been stopped or has already been completed).

6

Reviewing Tests

Review The Test: Click on the Test Name in the Tests Table to view the detailed test information.

4. Troubleshooting

Issue: Test execution fails

  • Ensure the JMX file is correctly formatted.

  • Check if SetProperty variables are defined properly.

Issue: Incorrect test data values

  • Verify that the SetProperty variables are correctly overridden.

  • Ensure external data files (CSV) are uploaded correctly, if aaplicable

Issue: No test results available

  • Confirm that the test completed successfully.

Sample Files

www.baseline11.com
14KB
Set_propety.jmx