This is an alternative option for Creating an API Functional Test, so make sure to start with that guide, which will then lead into this guide.
If you already have your own functional API test script, then you can upload it to Blazemeter instead of creating it in the UI or writing a new script.
Upload Your Script
After initially creating a new API Functional Test, simply follow these steps instead of building the test via the UI:
- Click the three vertically-aligned dots at the bottom of the left panel of the Scenario Definition window to open a drop-down menu.
- In the drop-down menu, select "Upload existing test script (e.g. JMeter)".
Note: If you already created a scenario in the UI, that scenario will not be preserved once you switch to uploading an existing script.
- The view will change into a Scenario Definition window, showing you the name of your uploaded script, if it passed validation, and what type of test the script is.
Tip: If the Run Test button appears inactive, refresh the page in the browser.
Select a Test Location
Click the LOCATION field to open a drop-down menu where you can select from which region you would like your test to be executed from.
Mock Services Configuration
Optionally, select a Mock Service Template that contains the transactions to load into the selected Mock Service. For more information, see Introduction to Mock Services.
The DNS Override option works for Functional Tests in the exact same manner it does for Performance Tests. Check out our guide on the DNS Override for details.