Naomi is an Assistant Product Marketing Manager at BlazeMeter

Learn JMeter in 5 Hours

Start Learning
Slack

Test Your Website Performance NOW!

arrow Please enter a valid URL
Assert: is found in response
May 10 2018

How to Upload a Swagger file into BlazeMeter for API Functional Testing

With BlazeMeter’s new API Functional Testing functionality, you can now run free API functional tests alongside your performance tests.

 

If you are looking to run very simple API functional tests you can simply use the UI by going to create test, and clicking API Functional Test (the orange button.)

 

 


Simply add your request name, fill in your URL, add assertions and click the green Run Test button on the left hand side of the workspace.

 

 

But what about if you already have a Swagger (Open API) file? Now you can upload it and create tests from in BlazeMeter.

 

Click on the three small dots on the left hand side of the workspace, where the cursor is.

 

 

This will open up a menu. Click Import Swagger file.

 

 

Choose the Swagger file you want to upload, and click open.

 

 

Select your Swagger file, and click open.

 

 

You can either import all actions from the Swagger file or select a subset of endpoints or individual actions to import. When are ready, press Select (the blue button.)

 

 

The selected actions will be added to your test and you can customize your test scenario and run the test..

 

Ready to start API Functional Testing with BlazeMeter? Simply add your URL and assertion into the box below and start testing. 

 

     
arrow Please enter a valid URL

Interested in writing for our Blog?Send us a pitch!

We're working on starting your first test

Testing 20 Virtual Users

Starting your test in around 2-4 minutes. Your report will appear once we've gathered the data.

0

Status: Preparing Your Test

Your email is required to complete the test. If you proceed, your test will be aborted.