Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Set Your API Performance on Fire With BlazeMeter

    Set Your API Performance on Fire With BlazeMeter

    May 20, 2024

    BlazeMeter, continuous testing platform,  is a perfect solution for your performance needs. BlazeMeter is an open-source tool that supports Web, Mobile and API implementations. You can perform large scale load and performance testing with the ability to tweak parameters to suit your needs.

    We will learn step by step process on using BlazeMeter for API testing.

    Register for BlazeMeter

    Enter your information on the BlazeMeter site to register and get started

    Configure Your First Scenario

    The first time you login, you will be taken to default view of BlazeMeter with default workspace and project. Let us start configuring a new scenario.

    Create a New Project

    Select Projects -> Create new project
    Name project
    Select Create Test
    Select Performance Test
    Now you are taken to configuration tab

     

    Update Your Scenario

    The left section here has your test specifications
    Tap on Edit link and start updating your project name, let it be “FirstLoadTest”
    You can define scenario and test data in Scenario Definition section
    For this Demo we will configure API endPoint, tap on Enter URL/API calls (see picture below)
    In Scenario Definition enter “https://api.demoblaze.com/entries“. So we are load testing this endpoint with GET call
    Lets Name this scenario “DemoWithoutParameters”
    Tap on three dots next to Scenario definition and duplicate the scenario
    Name this as “DemoWithParameters”

    Create TestData

    Next to Scenario Definition we have TestData section, tap on it
    You can choose from options available, for this demo we will go with “Create New Data Entity”
    Lets name it “DemoTestData” and Add it
    Tap on + icon next to entity created for parameterization options
    In this example we will select New CSV File
    You will be taken to a data table. Rename “variableName1” to “Parameter1” and “variableName2” to “Parameter2″(our variable names are “Parameter1” and “Parameter”)
    Enter values as “Value1” and “Value2” and Save
    Configure these parameters in Query Parameters section (See picture below)
    Now we have successfully completed building a scenario with two endpoints, you can configure one or more endpoints in one scenario

    Configure Your First Test Run

    Scroll down the scenario definition window to see Load Configuration section
    Enter Total Users, Duration, Ramp up Time. For now we can just test with 2 users, Duration: 1minute, RampupTime: 0
    Once you update these details observe the graphical representation of how your Load Test is going to be in the graph displayed in this section.
    We can also limit Requests Per Second(RPS) by enabling the toggle button for “Limit RPS” and select requests you need to limit per second
    We can also change number of users at run time, but this is available with only Enterprise Plan.
    Lets configure LoadDistribution now in “Load Distribution” section which is right below the “Load Configuration” section
    Select the location from where you need the requests to trigger.
    We can select multiple locations and distribute load across different locations, but again this feature is available with only enterprise plan
    For now, lets proceed by selecting one location

    Failure Criteria

    Failure Criteria is the best approach to immediately know your LoadTest Results
    Do you have your failure criteria defined? If yes, you can configure that in this section. This is optional, you can skip if you don’t have failure criteria defined.
    You can configure multiple failure criteria as well
    Enable “1-min slide window eval” for evaluating your loudest prior to execution
    Select “Stop Test?” checkbox if you want to stop the execution in case of failure
    Select “Ignore failure criteria during rampup” to ignore the failures during ramp-ups
    You can add one or more failure criteria and select this option uniquely for each criteria
    Select the option “Enable 1-min slide window eval for all” on top right of this section to enable for all provided failure criteria

    Test Your Scenario

    Run your scenario by clicking on “RunTest”
    Wait for launch Test window to load completely
    Now click on “Launch Servers” button
    Click on “Abort Test” to abort your execution any time
    Observe your execution go through different stages (Pending, Booting, Downloading and Ready)
    Once it reaches Ready you can see your execution progress
    Once the execution is done you can view the summary with status as passed/failed

    Analyze Your LoadTest Results

    The important part of performance test is to analyze your KPIs
    You can see different KPIs in test results summary
    To understand more navigate to “Timeline Report” section, bottom left you can see “KPI Panel”,this panel contains different KPIS.These KPIs can be analyzed as required
    By default it provides generalized view, you can select single endpoint to analyze KPIs for one particular endpoint

    Schedule Your Load Tests

    BlazeMeter is continuous Integration tool, you can schedule your executions and view results when required
    Select your test from Tests Menu on top
    On to left of project description window you can find SCHEDULE section
    Tap on Add button next to it Schedule to see schedule window
    Configure the scheduler with required timings and Save the scheduler
    The new scheduler will be added to your project
    Delete it by tapping on Delete icon
    You can add multiple schedulers
    Toggle on/off to activate/deactivate the schedulers

    BlazeMeter Pros/Cons

    ProsCons

    Open sourceRequires a license for additional features and support

    Provides Scriptless performance testingTest results analysis requires expertise

    Integration with Selenium, JMeter, Gatling, LocustNeed to integrate with Selenium/JMeter to test functional scenarios

    User-friendly UI

    Report Monitoring from any geographic location

    Integrates with CI/CD pipelines

    If you are looking for a tool that services your performance needs, BlazeMeter is your best option. You can generate scripts with its scriptless UI, simulate loads and run your tests. You can also simulate the spinning up servers, script runs and results generated within seconds.

    For more information about Perficient’s Mobile Solutions expertise, subscribe to our blog or contact our Mobile Solutions team today!

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleThe St. Louis Business Journal Recognizes Perficient with 2024 Innovation in HR Award
    Next Article Last Week in AI #271: Multimodal AI from Google and OpenAI, OpenAI’s superalignment team disbanded, NHTSA investigates Waymo, and more!

    Related Posts

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 17, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2024-47893 – VMware GPU Firmware Memory Disclosure

    May 17, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    7 Best Free and Open Source Linux CLI File Encryption Tools

    Linux

    How ‘bubbling’ Android Messages can save time and help you avoid missing texts

    Development

    UK’s ICO Warns Not to Ignore Data Privacy as ‘My AI’ Bot Investigation Concludes

    Development

    Google’s Search Engine Experience (SGE) threatens to scale AI’s environmental impacts

    Artificial Intelligence

    Highlights

    Critical Webmin Vulnerability Let Remote Attackers Escalate Privileges to Root-Level

    May 5, 2025

    Critical Webmin Vulnerability Let Remote Attackers Escalate Privileges to Root-Level

    A critical security vulnerability in Webmin, a widely-used web-based system administration tool, has been discovered, allowing remote attackers to escalate privileges and execute code with root-level …
    Read more

    Published Date:
    May 05, 2025 (5 hours, 26 minutes ago)

    Vulnerabilities has been mentioned in this article.

    Why have I wasted time flashing USB drives to install Windows (and Linux) on PCs when I could have been doing this all along?

    February 5, 2025

    Online Birth and Death Certificate System using PHP and MySQL

    May 6, 2024

    Enhancing Deep Learning-Based Neuroimaging Classification with 3D-to-2D Knowledge Distillation

    November 30, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.