Comment on page

Test Data Import

Ddosify Test Data Import Feature
Import your CSV-formatted Test Data into the Ddosify Platform and incorporate it into your scenarios for more realistic testing experiences.

Test Data Creation

  1. 1.
    Navigate to the Test Data listing page within the Ddosify App, and find the 'Upload CSV' button situated at the top-right corner of the page.
    Test Data Listing Page
  2. 2.
    Once you've selected the CSV file on your computer, you will be prompted to indicate whether the first row contains column headers or not. Although you can rename the column headers later, it's crucial to inform Ddosify at this stage, as it will affect how the first row of the CSV is processed.
  3. 3.
    Upon uploading the CSV, you can configure the metadata, modify column headers, remove unwanted columns, and assign data types to columns. The configurations are detailed below: Settings
    • Name: Provide a unique identifier for this test data.
    • Order: Choose between 'Random' or 'Sequential'. In 'Random' mode, Ddosify selects and sends test data randomly for each iteration. In 'Sequential' mode, Ddosify reads and sends test data line by line.
    • Skip Empty Line: Ddosify will skip any empty rows in the CSV file if enabled.
    • Allow Quota: Enable this option if a quote may appear in an unquoted field, and a non-doubled quote may appear in a quoted field. By default, this is set to 'false'.
    Data Preview
    • Ddosify displays the first 10 rows of the CSV as a preview. In this section, you can change the column header names. Keep in mind that you will use these header names in the test scenario for data injection.
    • By disabling the 'Include Header' option, you can exclude a column, and Ddosify will not import it.
    • Lastly, assign a data type to each column to ensure proper formatting. For instance, prevent sending integer values as strings by configuring them here.
    Ddosify Test Data Creation Modal 1
    Ddosify Test Data Creation Modal 2

Incorporate Test Data into Tests

  1. 1.
    In the Ddosify App, go to the Test Suite and choose the Test Data you previously created using the dropdown menu in the top-right corner of the Test Suite. You have the option to attach multiple Test Data to a single test.
    Attach a Test Data
  2. 2.
    Utilize the {{data.test_data_name.header_name}} format to insert test data into one of the following locations: URL, headers, query parameters, or authentication.