<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ameya Natu on Medium]]></title>
        <description><![CDATA[Stories by Ameya Natu on Medium]]></description>
        <link>https://medium.com/@scorpian.ameya?source=rss-d4d5d49d7514------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Ameya Natu on Medium</title>
            <link>https://medium.com/@scorpian.ameya?source=rss-d4d5d49d7514------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:49:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@scorpian.ameya/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Day I Stopped Copy-Pasting Postman Tests into k6]]></title>
            <link>https://medium.com/@scorpian.ameya/the-day-i-stopped-copy-pasting-postman-tests-into-k6-ea12ed35b615?source=rss-d4d5d49d7514------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea12ed35b615</guid>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[k6]]></category>
            <category><![CDATA[performance-testing]]></category>
            <dc:creator><![CDATA[Ameya Natu]]></dc:creator>
            <pubDate>Tue, 02 Dec 2025 05:04:03 GMT</pubDate>
            <atom:updated>2025-12-02T05:04:03.653Z</atom:updated>
            <content:encoded><![CDATA[<p>Most teams start API testing with Postman. It’s straightforward, reliable, and great for functional coverage. But the moment you need to understand how your API behaves under real traffic, the journey suddenly becomes painful.</p><p>I’ve personally gone through this situation more times than I’d like to admit. You have a solid Postman collection, but turning it into a proper performance-testing setup is an entirely separate project.</p><h3>The Real Problem</h3><p>Here’s what usually happens in engineering teams:</p><ul><li>You rewrite Postman tests into k6 scripts manually</li><li>You end up maintaining two test suites (that never stay in sync)</li><li>Load testing becomes a weekend task on a personal laptop or a complex infrastructure initiative</li><li>Expensive tools get evaluated because no one wants to build another framework</li><li>Performance issues surface only at the end — when fixing them hurts the most</li></ul><p>It always felt unnecessary to reinvent the wheel.<br>We already have a well-written Postman collection — why not reuse it?</p><h3>What I Built</h3><p>So I created a <a href="https://github.com/marketplace/actions/postman-to-k6-load-testing">GitHub Action</a> that does exactly that.</p><p>It automatically converts Postman collections into k6 scripts <em>at runtime</em> and runs load tests directly in GitHub Actions.</p><p>No code rewriting.<br>No additional servers.<br>No second test suite to maintain.</p><h3>How It Helps</h3><p>Instead of spending days rewriting tests, you drop a tiny block into your workflow:</p><pre>- uses: ABNclearroute/postman-to-k6-action@main<br>  with:<br>    postman-collection: &#39;postman/collection.json&#39;<br>    load-profile: &#39;smoke&#39;</pre><p>That’s it — GitHub Actions will convert your Postman tests into a k6 script on the fly and execute it according to the profile you choose (smoke, load, stress, spike).</p><p>Also, if you want, you can execute multiple profiles concurrently</p><pre>name: Load Testing<br><br>on:<br>  workflow_dispatch:<br><br>jobs:<br>  load-test:<br>    runs-on: ubuntu-latest<br>    strategy:<br>      matrix:<br>        profile: [smoke, load, stress, spike]<br>    <br>    steps:<br>      - uses: actions/checkout@v4<br>      <br>      - name: Run Postman to k6 Load Test<br>        uses: your-org/postman-to-k6-action@v1<br>        with:<br>          postman-collection: &#39;postman/collection.json&#39;<br>          load-profile: ${{ matrix.profile }}</pre><p>If you want to create your own load profile, you can also do that by creating `profiles/load-profiles.yaml` in your repo.</p><pre>profiles:<br>  custom-profile:<br>    name: &quot;Custom Load Profile&quot;<br>    description: &quot;My custom load profile&quot;<br>    stages:<br>      - duration: &quot;2m&quot;<br>        target: 20<br>        rampUp: &quot;30s&quot;<br>      - duration: &quot;5m&quot;<br>        target: 20<br>      - duration: &quot;1m&quot;<br>        target: 0<br>        rampDown: &quot;30s&quot;<br>    thresholds:<br>      http_req_duration: [&quot;p(95)&lt;2000&quot;]<br>      http_req_failed: [&quot;rate&lt;0.01&quot;]</pre><p>Flow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*xMXrQM3pnFWDwx1wCwKWjQ.png" /></figure><h3>Why This Actually Helps</h3><p>You don’t need to maintain two suites.<br>You don’t need to rewrite anything.<br>You don’t need dedicated infrastructure; you can do that in GitHub workflows.<br>You can run performance checks on every pull request, instead of waiting until the end, which will give you early feedback.</p><p>It takes less than 10 minutes to set up — and the moment you update your Postman collection, your k6 tests automatically reflect it. No regeneration, no syncing headaches.</p><h3>What’s Coming Next</h3><p>This is just the beginning. Upcoming features I’m working on include:</p><ol><li>Custom Script Injection</li><li>Test Data Management</li><li>Enhanced Error reporting</li></ol><h3>Final Thought</h3><p>Performance testing shouldn’t require a separate project.<br>If you have already invested time building solid API test coverage in Postman, you should be able to reuse it.</p><p>That’s exactly what this action enables.</p><p>If this action saves even a few days of duplicated effort for a team, that’s already a win.</p><p><strong><em>Try it out, break it, tell me what works and what doesn’t</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea12ed35b615" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Just Added MQTT Testing to My Website — Here’s Why I Built It]]></title>
            <link>https://medium.com/@scorpian.ameya/i-just-added-mqtt-testing-to-my-website-heres-why-i-built-it-4057355b72fc?source=rss-d4d5d49d7514------2</link>
            <guid isPermaLink="false">https://medium.com/p/4057355b72fc</guid>
            <category><![CDATA[website-free-tool]]></category>
            <category><![CDATA[mqtt]]></category>
            <category><![CDATA[developerstools]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[free-tools]]></category>
            <dc:creator><![CDATA[Ameya Natu]]></dc:creator>
            <pubDate>Thu, 31 Jul 2025 07:37:31 GMT</pubDate>
            <atom:updated>2025-07-31T07:37:31.802Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Just Added MQTT Testing to My Website — Here’s Why I Built It</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nL-bm55GmZMnAHRPPcycag.jpeg" /></figure><h3>The Real Story</h3><p>I’ve been running <a href="https://10minapi.com/">10minAPI.com</a> for a while now, and honestly, I built the MQTT feature because I wanted to solve a problem I kept running into myself.</p><p>When I was working on IoT projects, I’d always get stuck trying to test MQTT communications. The options were either:</p><ul><li>Set up a local Mosquitto broker (which took forever)</li><li>Use expensive enterprise tools</li><li>Or just skip proper testing altogether</li></ul><p>So I decided to build what I needed.</p><h3>What I Just Added</h3><p>I’ve added MQTT topic testing to 10minAPI alongside the existing REST API functionality. Now it’s a free, web-based tool that handles both REST and MQTT testing in one place.</p><h3>Here’s What You Can Do Now:</h3><p>✅ Create MQTT topics instantly — No more broker setup headaches<br>✅ Publish messages in real-time — Test different QoS levels easily<br>✅ Track message history — See what’s been sent and when<br>✅ No signup required — Just start testing immediately<br>✅ Auto-cleanup — Everything expires in 10 minutes<br>✅ Session isolation — Your testing stays private</p><h3>Why I Built This</h3><h3>1. I Got Tired of Setting Up Local MQTT Brokers</h3><p>Every time I needed to test MQTT communications, I’d spend 30+ minutes configuring Mosquitto, dealing with port conflicts, and setting up authentication. It was a pain.</p><p>Now I can just:</p><ul><li>Create a topic in 30 seconds</li><li>Start publishing messages immediately</li><li>Test retained messages and QoS levels</li><li>Share the topic URL with my team</li></ul><h3>2. IoT Development is Getting More Complex</h3><p>Whether I’m working on:</p><ul><li>Smart home projects (temperature sensors, smart switches)</li><li>Industrial IoT (sensor networks, monitoring systems)</li><li>Mobile apps with MQTT integration</li><li>Web apps using MQTT over WebSockets</li></ul><p>I need a consistent testing environment that works everywhere.</p><h3>3. Team Collaboration Was Always a Pain</h3><p>Remember the last time you tried to share your local MQTT setup with a teammate? Yeah, that was fun. Now I can just send them a URL and they can test the same topic.</p><h3>Real Examples from My Testing</h3><h3>Smart Home Scenario</h3><pre># I created this topic for testing a temperature sensor<br>Topic: home/living-room/temperature<br>Message: {&quot;temp&quot;: 22.5, &quot;humidity&quot;: 45, &quot;timestamp&quot;: &quot;2024-01-15T10:30:00Z&quot;}</pre><h3>Industrial IoT Example</h3><pre># Testing a factory sensor<br>Topic: factory/line1/sensor/status<br>Message: {&quot;status&quot;: &quot;active&quot;, &quot;efficiency&quot;: 94.2, &quot;alerts&quot;: []}</pre><h3>Mobile App Testing</h3><pre># Testing push notifications via MQTT<br>Topic: app/user123/notifications<br>Message: {&quot;type&quot;: &quot;alert&quot;, &quot;title&quot;: &quot;Device Offline&quot;, &quot;priority&quot;: &quot;high&quot;}</pre><h3>How It Actually Works</h3><h3>Step 1: Create a Topic (Takes 30 seconds)</h3><ol><li>Go to <a href="https://10minapi.com/">10minAPI.com</a></li><li>Click on the MQTT section</li><li>Type your topic name (like test/sensor/temperature)</li><li>Set your message limits</li><li>Click “Create MQTT Topic”</li></ol><h3>Step 2: Start Publishing</h3><ul><li>Use the web interface to send test messages</li><li>Try different QoS levels (0, 1, 2)</li><li>Test retained messages</li><li>Watch the message history update in real-time</li></ul><h3>Step 3: Integrate with Your Code</h3><pre># Here&#39;s how I tested it with Python<br>import paho.mqtt.client as mqtt<br><br>client = mqtt.Client()<br>client.connect(&quot;test.mosquitto.org&quot;, 1883, 60)<br>client.publish(&quot;your-topic-name&quot;, &quot;Hello from 10minAPI!&quot;)</pre><h3>What I Built Under the Hood</h3><h3>MQTT Protocol Stuff</h3><ul><li>QoS Levels: 0, 1, 2 (all supported)</li><li>Retained Messages: Yep, those work too</li><li>Topic Wildcards: Standard MQTT wildcards</li><li>Message History: Up to 100 messages per topic</li><li>Auto-expiry: Everything cleans up after 10 minutes</li></ul><h3>Security &amp; Performance</h3><ul><li>Session Isolation: Each browser session is separate</li><li>No Data Persistence: Everything expires automatically</li><li>Rate Limiting: Prevents abuse</li><li>HTTPS Support: Secure connections</li></ul><h3>How It Stacks Up Against Other Options</h3><p>FeatureMy Tool (10minAPI)Local MosquittoEnterprise ToolsSetup Time30 seconds30+ minutes1+ hoursCostFreeFree$100s/monthAccessibilityWeb-basedLocal onlyComplex setupCollaborationEasy sharingPainfulTeam licensesLearning CurveMinimalSteepVery steep</p><h3>Getting Started (Super Simple)</h3><h3>For Individual Developers</h3><ol><li>Visit: <a href="https://10minapi.com/">10minAPI.com</a></li><li>Create your first MQTT topic</li><li>Start publishing messages</li><li>Integrate with your IoT project</li></ol><h3>For Teams</h3><ol><li>Share topic URLs with your team</li><li>Collaborate on MQTT testing</li><li>Document your IoT protocols</li><li>Validate message formats together</li></ol><h3>What I’m Planning Next</h3><p>This MQTT feature is just the beginning. I’m thinking about adding:</p><ul><li>Websockets</li><li>gRPC</li></ul><h3>Why I’m Sharing This</h3><p>I built this tool to solve my problems, but I think other IoT developers might find it useful too. The IoT landscape is evolving fast, and testing tools need to keep up.</p><p>Want to try it out? Head over to <a href="https://10minapi.com/">10minAPI.com</a> and create your first MQTT topic. It takes 30 seconds.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4057355b72fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Boring Scripts to AI-Powered Magic: Meet AlumniRobotLibrary, Your Robot Framework’s New Best…]]></title>
            <link>https://medium.com/@scorpian.ameya/from-boring-scripts-to-ai-powered-magic-meet-alumnirobotlibrary-your-robot-frameworks-new-best-9ea25f8311c5?source=rss-d4d5d49d7514------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ea25f8311c5</guid>
            <dc:creator><![CDATA[Ameya Natu]]></dc:creator>
            <pubDate>Thu, 15 May 2025 09:48:10 GMT</pubDate>
            <atom:updated>2025-05-15T09:48:10.672Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Boring Scripts to AI-Powered Magic: Meet AlumniRobotLibrary, Your Robot Framework’s New Best Friend</h3><h3>Let’s face it: Test Automation Can Be a Drag</h3><p>If you’ve ever written UI automation, you know the pain. Fragile selectors, flaky tests, endless maintenance, and that sinking feeling when your “stable” test suite breaks after a minor UI tweak. It’s like babysitting a toddler who suddenly decides to throw a tantrum.</p><p>But what if you could automate tests by <em>talking</em> to your computer like a human? No, seriously. Just plain English commands, and AI does the rest.</p><h3>Enter Alumnium: The AI Whisperer for Test Automation</h3><p>Alumnium is like that cool friend who just <em>gets</em> what you want. Powered by Large Language Models (LLMs) like GPT-4o and friends, it lets you write test steps in natural language:</p><blockquote>“Enter username,” “Click login button,” “Check for error message”</blockquote><p>And boom — it figures out the selectors, waits, and all the boring stuff for you.</p><h3>But Wait, There’s More: AlumniRobotLibrary</h3><p>I wanted to bring this magic into Robot Framework, the beloved automation framework we all know and love. So I built AlumniRobotLibrary — a slick Robot Framework library that acts as a bridge between your Robot tests and Alumnium’s AI-powered engine.</p><h3>Why you’ll love it:</h3><ul><li>Supports Selenium &amp; Playwright — pick your poison</li><li>Cross-browser — Chrome, Firefox, WebKit, Chromium — yes, all of them</li><li>AI Provider Agnostic — OpenAI, Anthropic, Google Gemini, DeepSeek, Ollama, or your own self-hosted LLM</li><li>Natural Language Commands — no more cryptic selectors or brittle XPath</li><li>Self-Healing — it adapts when your UI changes (like a boss)</li><li>Dynamic Test Data — faker-powered user profiles, addresses, and custom data schemas</li><li>AI-Powered Failure Analysis — screenshots, HTML dumps, and AI suggestions on what went wrong</li><li>Custom Keywords — because sometimes you want to add your own secret sauce</li></ul><h3>Show Me the Code! (Robot Framework Style)</h3><p>Here’s a taste of what your Robot Framework test could look like:</p><pre>*** Settings ***<br>Library    alumnirobot.alumni_robot_library.AlumniRobotLibrary    backend=playwright    browser=chromium    headless=True    ai_provider=openai    ai_model=gpt-4o    api_key=YOUR_OPENAI_API_KEY<br><br>*** Variables ***<br>${LOGIN_URL}    https://practicetestautomation.com/practice-test-login/<br>${USERNAME}     student<br>${PASSWORD}     Password123<br><br>*** Test Cases ***<br>Login With Hardcoded User Profile<br>    Open Browser And Init Alumni    ${LOGIN_URL}<br>    Alumni Do    enter ${USERNAME} into username field<br>    Alumni Do    enter ${PASSWORD} into password field<br>    Alumni Do    click the login button<br>    Alumni Check    page contains error message<br>    Alumni Quit</pre><p>No more wrestling with selectors or waiting for elements. Just <em>say</em> what you want, and AI handles the rest.</p><h3>Bonus: When Tests Go South, AI Becomes Your Therapist</h3><p>Failed test? Don’t panic. AlumniRobotLibrary captures screenshots, saves HTML snapshots, and even asks the AI to analyze the failure and suggest fixes.</p><p>Imagine this in your logs:</p><pre>[AlumniRobotLibrary] Uh-oh! Couldn’t find the login button.<br>Screenshot saved: alumni_failures/login_button_20250515_123456.png<br>HTML snapshot saved: alumni_failures/login_button_20250515_123456.html<br><br>AI says: The login button might have changed its text or is hidden behind a popup. Try adding a wait or checking for modals.</pre><p>It’s like having a smart buddy who never sleeps and always helps you debug.</p><h3>Why AI in Test Automation is a Game-Changer</h3><p>AI isn’t just a buzzword here. It’s transforming testing by:</p><ul><li>Generating test cases from plain English</li><li>Healing broken tests automatically</li><li>Prioritizing high-risk areas</li><li>Creating realistic test data on demand</li><li>Providing actionable insights from failures</li></ul><p>This means faster releases, fewer flaky tests, and more time for coffee breaks ☕.</p><h3>Ready to Give It a Spin?</h3><p>Check out the code and start your AI-powered test automation journey here:<br>👉 <a href="https://github.com/ameyanatu/alumnirobot">github.com/ameyanatu/alumnirobot</a><br>And learn more about Alumnium’s AI magic at:<br>👉 <a href="https://alumnium.ai/">alumnium.ai</a></p><h3>Final Thoughts</h3><p>If you’re tired of brittle tests and want to automate like it’s 2050, Alumnium is your new best friend.<br>Write tests in plain English, let AI do the heavy lifting, and watch your automation woes melt away.</p><p>Go ahead, automate smarter.</p><p><em>Happy automating and may your tests never fail!</em> 🎉</p><p>#RobotFramework #AI #TestAutomation #Alumnium #OpenAI #Playwright #Selenium #NaturalLanguageTesting #AutomationHumor</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ea25f8311c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Test Automation Has Come a Long Way — And It’s About to Get Even Better]]></title>
            <link>https://engineering.clearroute.io/alumnium-the-real-ai-test-automation-sidekick-you-didnt-know-you-needed-87d67c559d96?source=rss-d4d5d49d7514------2</link>
            <guid isPermaLink="false">https://medium.com/p/87d67c559d96</guid>
            <category><![CDATA[playwright-test]]></category>
            <category><![CDATA[automated-testing]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[Ameya Natu]]></dc:creator>
            <pubDate>Thu, 15 May 2025 09:36:27 GMT</pubDate>
            <atom:updated>2025-05-16T09:24:06.685Z</atom:updated>
            <content:encoded><![CDATA[<p>Test automation is the unsung hero of modern software development. It saves teams countless hours, catches regressions early, and ensures faster, more reliable releases. Tools like Selenium and Playwright have laid the groundwork for this incredible progress, helping teams scale quality assurance like never before.</p><p>But what if we could take everything amazing about automated testing — and make it even smarter, faster, and more human-friendly?</p><h3>Introducing Alumnium: Your AI-Powered Testing Sidekick</h3><p>Meet <strong>Alumnium</strong> — a cutting-edge AI-powered automation framework designed to <strong>amplify</strong> your existing test automation workflows. Alumnium integrates seamlessly with your favorite tools like Selenium and Playwright, and adds a powerful layer of <strong>natural language automation</strong>, <strong>self-healing intelligence</strong>, and <strong>AI-driven insights</strong>.</p><p>Alumnium doesn’t replace test automation — it <strong>elevates it</strong>.</p><h3>What Makes Alumnium Special?</h3><p><strong>AI-Assisted Testing</strong><br>Write your test cases in plain English and let Alumnium’s Large Language Model (LLM) figure out the details. No need to fumble with brittle selectors or XPath expressions.</p><pre>al.do(&quot;enter student into username field&quot;)<br>al.do(&quot;click the login button&quot;)<br>al.check(&quot;page contains error message&quot;)</pre><p><strong>Self-Healing Tests</strong><br>UI changed? Alumnium adapts. No more test maintenance marathons after every UI tweak. Your test steps remain clear and consistent — Alumnium handles the rest.</p><p><strong>Cross-Platform Power</strong><br>Alumnium works with Chrome, Firefox, WebKit, Selenium, Playwright — and plays nicely in your existing ecosystem (Python, Robot Framework, CI/CD).</p><p>🧪 <strong>AI Diagnostics</strong><br> When a test fails, Alumnium gives you rich context: screenshots, HTML snapshots, and even <strong>AI-generated root cause analysis</strong> — so you can fix faster.</p><h3>Why Alumnium Matters</h3><p>Traditional automation frameworks are indispensable — but they still require manual wiring, constant maintenance, and a deep knowledge of selectors. <strong>Alumnium doesn’t replace that expertise — it enhances it</strong>.</p><p>Think of it like autopilot for testers: you’re still the pilot, but now you can move faster, safer, and with more visibility than ever before.</p><h3>Alumnium in Action: A Simple Login Test</h3><pre>from playwright.sync_api import sync_playwright<br>from alumnium import Alumni<br>import os<br>os.environ[&quot;OPENAI_API_KEY&quot;] = &quot;YOUR_OPENAI_API_KEY&quot;<br>os.environ[&quot;ALUMNIUM_AI_PROVIDER&quot;] = &quot;openai&quot;<br>os.environ[&quot;ALUMNIUM_AI_MODEL&quot;] = &quot;gpt-4o&quot;<br>with sync_playwright() as p:<br>    browser = p.chromium.launch(headless=True)<br>    page = browser.new_page()<br>    page.goto(&quot;https://practicetestautomation.com/practice-test-login/&quot;)<br>    al = Alumni(page)<br>    al.do(&quot;enter student into username field&quot;)<br>    al.do(&quot;enter Password123 into password field&quot;)<br>    al.do(&quot;click the login button&quot;)<br>    al.check(&quot;page contains error message&quot;)<br>    browser.close()</pre><p>No selectors. No flakiness. Just your intent, expressed clearly and executed intelligently.</p><h3>Use Cases: Alumnium in the Real World</h3><h4>Regressions Without Rewrites</h4><p>Your UI team updated a button. No problem — your test still reads al.do(&quot;click the login button&quot;). Alumnium adapts, so you can focus on the big picture.</p><h4>Onboarding New Testers</h4><p>Readable, plain-English test steps make it easy for new team members — technical or not — to contribute. Automation becomes a team sport.</p><h4>Dynamic Data? Handled</h4><p>Alumnium works seamlessly with Faker and other data libraries for fully dynamic testing.</p><pre>from faker import Faker<br>fake = Faker()<br>email = fake.email()<br>al.do(f&quot;enter {email} into email field&quot;)</pre><h4>Debugging with AI</h4><p>Forget cryptic logs. When a step fails, Alumnium captures everything — and even asks the AI what likely went wrong.</p><blockquote><strong><em>AI says:</em></strong><em> “The element may be hidden by a modal. Try closing the modal or waiting for it to disappear.”</em></blockquote><h3>Alumnium + CI/CD = Smarter Pipelines</h3><p>Integrate Alumnium into your CI/CD pipeline for faster feedback and more reliable test runs.</p><p><strong>Example: GitHub Actions</strong></p><pre>- name: Run AI-powered tests<br>  run: |<br>    pip install alumnium playwright<br>    playwright install<br>    python -m pytest tests/</pre><h3>FAQs</h3><p><strong>Q: Is Alumnium open source?</strong><br> ✅ Yes! Explore the repo, contribute, and join the growing community.</p><p><strong>Q: Which AI models can it use?</strong><br> OpenAI, Anthropic, Gemini, DeepSeek, Ollama — even your own self-hosted LLM.</p><p><strong>Q: Does it work with Selenium/Playwright?</strong><br> Yes — it enhances your existing setup, not replaces it.</p><p><strong>Q: Is this replacing testers?</strong><br> Not at all. Alumnium empowers testers to focus on <strong>creative, high-impact</strong> testing, rather than low-level script maintenance.</p><h3>The Future of Testing Is Collaborative, Creative, and AI-Driven</h3><p>Imagine an AI that not only automates your tests, but also:</p><ul><li><strong>Generates test cases from user stories</strong></li><li><strong>Suggests edge cases</strong></li><li><strong>Auto-heals broken tests</strong></li><li><strong>Writes documentation as you go</strong></li></ul><p>That future isn’t far off — and with Alumnium, you’re already on the way.</p><h3>Ready to Try Alumnium?</h3><p>Head over to <a href="https://alumnium.ai/">alumnium.ai</a> to get started.<br> Plug it in, power it up with your favourite LLM, and start writing tests that feel like magic.</p><p>✨ <em>Supercharge your testing. Amplify your impact. Make automation a breeze.</em><br> Happy testing! 🥳</p><p>#AITesting #TestAutomation #Alumnium #Python #Playwright #Selenium #LLM #NextGenQA #AIpoweredTesting</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87d67c559d96" width="1" height="1" alt=""><hr><p><a href="https://engineering.clearroute.io/alumnium-the-real-ai-test-automation-sidekick-you-didnt-know-you-needed-87d67c559d96">Test Automation Has Come a Long Way — And It’s About to Get Even Better</a> was originally published in <a href="https://engineering.clearroute.io/">ClearRoute Engineering Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Turning OpenAPI Specs into Performance Tests — Without Losing My Mind]]></title>
            <link>https://engineering.clearroute.io/turning-openapi-specs-into-performance-tests-without-losing-my-mind-8290fb7374e3?source=rss-d4d5d49d7514------2</link>
            <guid isPermaLink="false">https://medium.com/p/8290fb7374e3</guid>
            <category><![CDATA[gatling]]></category>
            <category><![CDATA[performance-testing]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <dc:creator><![CDATA[Ameya Natu]]></dc:creator>
            <pubDate>Tue, 22 Apr 2025 10:56:42 GMT</pubDate>
            <atom:updated>2025-04-22T10:56:42.296Z</atom:updated>
            <content:encoded><![CDATA[<h3>Turning OpenAPI Specs into Performance Tests — Without Losing My Mind</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dj-vlEmfwbYVSkUNaxMztg.png" /></figure><p>At <a href="https://clearroute.io/"><strong>ClearRoute</strong></a>, we’re always looking for ways to accelerate the <strong>Route To Live</strong> — the path from idea to impact. As a consultancy that blends <strong>Quality Engineering</strong>, <strong>Cloud Platforms</strong>, and <strong>Developer Experience</strong>, we live by one simple belief: <em>Great software should ship fast, safely, and reliably.</em></p><p>But even the best pipelines can hit a speed bump when it comes to <strong>API performance testing</strong></p><p>Let’s face it — writing performance tests by hand is like assembling IKEA furniture without the manual. You might get there eventually… but at what cost?</p><p>As someone working closely with large-scale APIs, I kept running into the same issue:</p><ul><li>OpenAPI specs were always there (sometimes more detailed than actual docs).</li><li>Yet performance tests had to be built from scratch — every time.</li></ul><p>So I asked myself a very reasonable question:</p><blockquote><strong><em>“Why am I manually building something that already exists… in machine-readable format?”</em></strong></blockquote><p>Spoiler alert: I stopped doing it manually.</p><h3>So… What Is Gatling?</h3><p>If you’re unfamiliar with <a href="https://gatling.io/">Gatling</a> , here’s a quick pitch — without sounding like their marketing team.</p><p>Gatling is a load testing tool built for developers who don’t want to use clunky UIs or XML/JSON based madness.<br> It supports:</p><ul><li>High-performance load generation</li><li>Clear, HTML reports</li><li>Reusable test logic via code</li><li>Both <strong>Scala</strong> and <strong>Java</strong> DSLs</li></ul><p>It’s scriptable, it’s powerful, and once you get the hang of it, it feels more like writing unit tests than suffering through traditional load testing tools.</p><h3>The Problem: Writing Gatling Simulations is Repetitive</h3><p>Sure, writing one simulation isn’t bad. But try doing it for:</p><ul><li>50+ endpoints</li><li>Across 10+ services</li><li>With different payloads, headers, auth tokens, and feeder data</li></ul><p>You start to feel like a performance-testing assembly line.<br> That’s when I decided:</p><blockquote><em>“Let the OpenAPI spec do the heavy lifting.”</em></blockquote><h3>What I Built</h3><p>So here’s what I did — at a high level.</p><p>I created a way to auto-generate Gatling performance tests <strong>directly from OpenAPI specs</strong>.</p><p>Here’s what it does:</p><ol><li><strong>Parses the Spec</strong><br>Reads the OpenAPI file like a blueprint — endpoints, parameters, bodies, everything.</li><li><strong>Figures Out the Right Workload Model</strong></li></ol><ul><li>If it’s a public-facing or bursty endpoint → <strong>Open Model</strong> (think: arrival rate, like customers walking into a store)</li><li>If it’s an internal or user-limited service → <strong>Closed Model</strong> (think: checkout lanes with fixed customers)</li></ul><ol><li><strong>Generates Gatling Java Code</strong><br> Creates:</li></ol><ul><li><em>Simulation classes</em></li><li><em>Scenarios</em></li><li><em>Injection profiles (ramp-up, constant users, etc.)</em></li><li><em>Assertions for status codes, response time, and more</em></li></ul><ol><li><strong>Adds Feeders</strong><br>Dynamic data? No problem. It builds out CSV feeders and plugs them right into the simulation.</li><li><strong>Done.</strong><br>You now have a performance test, you didn’t have to manually write — and yes, it even works with CI/CD.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wk1COBd8a4g2y4Z8Y4g-Wg.png" /></figure><h3>Example: From OpenAPI Spec to Gatling Simulation</h3><p>Let’s say your OpenAPI spec defines a simple GET /users endpoint and a POST /users endpoint for creating new users. <strong>Gatling Genie</strong> will read this spec and generate a test simulation that performs load testing on these endpoints.</p><p>OpenAPI Spec (example.yaml):</p><pre>openapi: 3.0.1<br>info:<br>  title: User Service API<br>  description: API for managing users<br>  version: 1.0.0<br>servers:<br>  - url: https://api.example.com/v1<br>paths:<br>  /users:<br>    get:<br>      summary: Get all users<br>      responses:<br>        &#39;200&#39;:<br>          description: A list of users<br>    post:<br>      summary: Create a new user<br>      requestBody:<br>        required: true<br>        content:<br>          application/json:<br>            schema:<br>              type: object<br>              properties:<br>                name:<br>                  type: string<br>                email:<br>                  type: string<br>              required:<br>                - name<br>                - email<br>      responses:<br>        &#39;201&#39;:<br>          description: User created</pre><p><strong>Generated Gatling Simulation Code:</strong></p><pre>package simulations;<br><br>import io.gatling.javaapi.core.*;<br>import io.gatling.javaapi.http.*;<br><br>import static io.gatling.javaapi.core.CoreDsl.*;<br>import static io.gatling.javaapi.http.HttpDsl.*;<br><br>public class UserServiceSimulation extends Simulation {<br><br>    HttpProtocolBuilder httpProtocol = http<br>        .baseUrl(&quot;https://api.example.com/v1&quot;)<br>        .acceptHeader(&quot;application/json&quot;)<br>        .contentTypeHeader(&quot;application/json&quot;);<br><br>    ScenarioBuilder getUsers = scenario(&quot;Get All Users&quot;)<br>        .exec(http(&quot;Get Users&quot;)<br>            .get(&quot;/users&quot;)<br>            .check(status().is(200))<br>        );<br><br>    ScenarioBuilder createUser = scenario(&quot;Create User&quot;)<br>        .exec(http(&quot;Create User&quot;)<br>            .post(&quot;/users&quot;)<br>            .body(StringBody(&quot;&quot;&quot;<br>                {<br>                  &quot;name&quot;: &quot;John Doe&quot;,<br>                  &quot;email&quot;: &quot;john.doe@example.com&quot;<br>                }<br>            &quot;&quot;&quot;)).asJson()<br>            .check(status().is(201))<br>        );<br><br>    {<br>        setUp(<br>            getUsers.injectOpen(atOnceUsers(1)),<br>            createUser.injectOpen(atOnceUsers(1))<br>        ).protocols(httpProtocol);<br>    }<br>}</pre><h3><strong>Taking It Further: CI/CD Integration</strong></h3><p>The real magic happens when you integrate <strong>this approach </strong>into your <strong>CI/CD pipeline</strong>. Instead of manually triggering tests or running them only during development, you could automate the execution of performance tests every time your code is deployed to a staging or production environment.</p><p>This means <strong>continuous performance testing</strong>, where every deployment gets verified for performance issues. It’s like having a guard dog constantly watching over your APIs, ensuring they won’t fall apart under pressure.</p><h3>Final Thoughts</h3><p><strong>Performance testing</strong> is a critical aspect of maintaining reliable, scalable APIs. But the process doesn’t need to be as painful as it often seems. By automating the generation of testing scripts using above approach, you save time, reduce errors, and ensure that performance issues are caught early.</p><p>In the end, it’s not about having the AI in your Testing — it’s about making sure your API can handle the pressure and giving you confidence that your users won’t experience that dreaded “API slowdown” when they need your service the most.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8290fb7374e3" width="1" height="1" alt=""><hr><p><a href="https://engineering.clearroute.io/turning-openapi-specs-into-performance-tests-without-losing-my-mind-8290fb7374e3">Turning OpenAPI Specs into Performance Tests — Without Losing My Mind</a> was originally published in <a href="https://engineering.clearroute.io/">ClearRoute Engineering Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>