Creating a GUI Test by Uploading a YAML File

If you opt to use a Taurus YAML file to execute your Selenium test, you can simply upload the file to BlazeMeter, then execute your test.

Tip: If you don’t have a Taurus YAML file, use the BlazeMeter Chrome extension to record a Selenium test.

To upload a YAML test file, do the following:

  1. Select the "Functional" tab.
    the functional tab
  2. Click the "Create Test" button near the top-center of the screen.
    create test button
  3. Click the "GUI Functional Test" button to create a new test.
    create gui functional test button
  4. Click </> Script Mode.
    A dialog advises you not to switch back to ↯ UI mode if you intend to use your uploaded file.
  5. Drag your YAML file over the "Upload Script" area, or click the "+" button to select a YAML file to upload.
    the upload yaml script button

    Restriction: All Selenium commands must be within the YAML script itself. For this method, the YAML cannot reference a Selenium script file.

  6. Review the test. Your YAML configuration appears in the Scenario Definition pane. Any values that are defined in the YAML file appear read-only in the Test Data pane.
    taurus test in scriptless test scenario
  7. Click the "Run Test" button to execute your test.
    run test button

Tip: If you switch back to UI Mode after uploading a YAML script, the YAML script is saved, and an empty Scriptless test is added. To run your YAML file, switch back to Script mode, scroll down past the Scriptless test, and enable the radio box for your YAML file again.

toggling between Scriptless test and YAML script

 

Test Execution Settings