<?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 Shampa Sadia on Medium]]></title>
        <description><![CDATA[Stories by Shampa Sadia on Medium]]></description>
        <link>https://medium.com/@shampasadia?source=rss-18d32db390f6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hOfRqj7GN8oE_RVnEIPu6w.jpeg</url>
            <title>Stories by Shampa Sadia on Medium</title>
            <link>https://medium.com/@shampasadia?source=rss-18d32db390f6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:21:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shampasadia/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[Load Testing: Go beyond the rush.]]></title>
            <link>https://medium.com/@shampasadia/load-testing-go-beyond-the-rush-f21fd5cc24be?source=rss-18d32db390f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f21fd5cc24be</guid>
            <category><![CDATA[cognitive-load]]></category>
            <category><![CDATA[loadtestingtools]]></category>
            <category><![CDATA[load-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[loadtestingfail]]></category>
            <dc:creator><![CDATA[Shampa Sadia]]></dc:creator>
            <pubDate>Tue, 03 Nov 2026 06:47:41 GMT</pubDate>
            <atom:updated>2026-11-03T06:47:41.050Z</atom:updated>
            <content:encoded><![CDATA[<h4>Beyond Testing: Taking Ownership of Application Readiness for a Winter Flash Sale</h4><p>Imagine a popular E-commerce healthtech is preparing for its biggest <strong>Winter Flash Sale</strong> tomorrow at midnight.</p><p>Thousands of customers are waiting to grab their favourite products at discounted prices. The marketing team is ready, the campaign is scheduled, and the business expects a massive traffic spike.</p><p>As a QA, lets assume the scenario that you open JMeter or K6, configure 3,000 virtual users, execute the load test, and check the results.</p><p>Everything looks good. Response times are acceptable, error rates are low, and the application is running smoothly.</p><p>You confidently report:</p><p>“The performance test has passed. We are ready for the campaign!”</p><p>But when the midnight arrives. Thousands of customers enter the application simultaneously. Product pages become unresponsive, checkout requests start failing, and eventually the application crashes.</p><p><strong>So, what went wrong?</strong></p><p>We tested the application, but did we actually understand whether the entire system was capable of handling the expected business traffic?</p><p>This is where QA needs to think beyond test execution.</p><p>One important system design concept that helps us do this is called <strong>Back-of-the-Envelope Calculation.</strong></p><p>It simply means performing rough calculations before testing to estimate system capacity, identify potential bottlenecks, and understand whether the infrastructure can handle expected traffic.</p><p>Let’s understand this through a practical e-commerce example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jel8DSUFWjxB6BgTgX2OYQ.png" /><figcaption>Load Testing: Go beyond the Rush.</figcaption></figure><h3>1. Traffic &amp; Spike: Expect the Surge, Not Just the Average</h3><p>Suppose the marketing team tells you:</p><p>“We are expecting 5,000 customers within one hour of the Winter Flash Sale.”</p><p>A simple calculation tells us:</p><p>5,000 customers ÷ 5,000 seconds = 1 customer per second.</p><p>Sounds manageable, right?</p><p>But as QA, we shouldn’t assume that customers will arrive evenly throughout the hour.</p><p>What if thousands of customers open the application exactly at midnight?</p><p>For example:</p><ul><li>Expected traffic: 5,000 users in one hour.</li><li>Possible traffic spike: 5,000 users within the first five minutes.</li><li>Average arrival rate during that period: 10 users per second.</li></ul><p>And even this average doesn’t capture sudden bursts of hundreds of requests within a few seconds.</p><p><strong>As QA, what should you investigate?</strong></p><ul><li>What is the expected total traffic?</li><li>How many concurrent users are expected?</li><li>What is the possible peak traffic during the first few minutes?</li><li>Can the application handle sudden traffic spikes?</li><li>Have we tested normal load, peak load, spike load, and stress scenarios?</li><li>Are we simulating realistic customer behaviour?</li></ul><p><strong>QA Ownership:</strong> Don’t blindly use the average expected traffic. Understand the campaign, discuss traffic expectations with the business and engineering teams, and design test scenarios that represent actual customer behaviour.</p><p>Our responsibility is not just to generate traffic using JMeter. It is to validate whether the application can handle the traffic the business is expecting.</p><h3>2. Server RAM: Ensure Enough Headroom</h3><p>Imagine 5,000 customers enter a physical store together, but the store has enough space for only 3,000 people.</p><p>What happens?</p><p>The entrance becomes crowded, customers start waiting, and eventually the store struggles to operate.</p><p>The same situation can happen with an application.</p><h3>Part 1: Understanding Server Capacity</h3><p>Every active request and user session consumes server resources, including RAM and CPU.</p><p>Let’s assume:</p><ul><li>Available server RAM: 8 GB.</li><li>Average memory consumption per active request: 9 MB.</li><li>3,000 concurrent requests may require approximately 8 GB of memory.</li></ul><p>In this simplified example, the server doesn’t have enough memory to handle all those requests.</p><p>This means the server’s available capacity may become a bottleneck even before the expected traffic reaches its peak.</p><h3>Part 2: Understanding Performance Behaviour Under Load</h3><p>What happens when server resources reach their limits?</p><ul><li>Memory usage increases significantly.</li><li>Application response times become slower.</li><li>Requests may start failing or timing out.</li><li>The application may crash due to an Out-of-Memory (OOM) error.</li></ul><p><strong>As QA, what should you investigate?</strong></p><ul><li>How much RAM and CPU are available?</li><li>How much memory does the application consume under load?</li><li>Does memory usage continuously increase?</li><li>Is there any memory leak?</li><li>Does the application recover after traffic decreases?</li><li>At what load level does the application start degrading?</li></ul><p><strong>QA Ownership:</strong> Don’t just check whether the server is running. Monitor how it consumes resources and behaves under real traffic.</p><p>Our responsibility is to identify resource limitations, observe performance degradation, and communicate potential infrastructure risks to the development and DevOps teams before they become production issues.</p><h3>3. Queue: Manage the Rush Gracefully</h3><p>Imagine 5,000 customers are trying to add products to their carts and proceed to checkout at almost the same time.</p><p>But the payment and cart systems can process only 100 requests at once.</p><p>What happens if all 5,000 requests are sent for processing simultaneously?</p><p>The cart and payment systems may become overloaded. Customers may experience checkout delays, payment failures, or even duplicate transactions.</p><p>A queue system helps manage this situation by temporarily holding suitable incoming tasks and processing them at a controlled rate.</p><p>In an e-commerce application:</p><ul><li>Customers add products to their carts and place orders.</li><li>Valid requests are accepted.</li><li>Suitable background tasks are placed into a queue.</li><li>Workers process those tasks gradually.</li><li>Customers receive appropriate order status updates.</li></ul><p>For example, order notifications, inventory updates, and other background operations may be handled asynchronously.</p><p>However, not every operation should be placed in a queue. Cart updates and payment authorization generally need immediate processing or confirmation. Queues are particularly useful for suitable background operations.</p><p>Queues also have limitations. They can become overloaded if incoming messages arrive faster than workers can process them.</p><p><strong>As QA, what should you investigate?</strong></p><ul><li>Can the queue handle sudden traffic spikes?</li><li>What happens when the queue reaches its maximum capacity?</li><li>Are duplicate orders created when customers retry?</li><li>What happens if a worker crashes during processing?</li><li>Are failed messages retried correctly?</li><li>Can the system recover when the queue becomes overloaded?</li><li>Are orders processed without being lost or duplicated?</li></ul><p><strong>QA Ownership:</strong> Understand how the application handles requests when processing capacity is limited. Verify that queue failures, retries, and recovery mechanisms work correctly. Also, validate that payment retries don’t result in duplicate transactions.</p><p>The goal is to ensure that sudden traffic doesn’t result in lost orders, duplicate transactions, or inconsistent order statuses.</p><h3>4. Database Limit: Prevent the Bottleneck</h3><p>Now comes one of the most critical parts.</p><p>Imagine all 5,000 customers have selected their products and are ready to pay.</p><p>But there is only one billing counter.</p><p>Everyone tries to pay at the same time.</p><p>The counter becomes overloaded, customers start waiting, and eventually the entire process slows down.</p><p>In an application, the database can become that overloaded billing counter.</p><p>Even if application servers can handle thousands of requests, the database may have limited capacity to process concurrent connections and transactions.</p><p>For example:</p><ul><li>Application receives 5,000 requests.</li><li>Database connection pool allows only 500 active connections.</li><li>Thousands of requests compete for limited connections.</li><li>Requests start waiting or failing.</li><li>The application may return connection timeout or “Too Many Connections” errors.</li></ul><p>Increasing server capacity alone will not necessarily solve this problem.</p><p><strong>As QA, what should you investigate?</strong></p><ul><li>What is the maximum database connection limit?</li><li>How many connections are being used during peak traffic?</li><li>Are database queries taking too long?</li><li>Are there slow queries or missing indexes?</li><li>Are connections properly released?</li><li>Is connection pooling configured correctly?</li><li>What happens when the database reaches its connection limit?</li></ul><p>Also, discuss caching strategies to reduce repeated database reads and queue-based processing for suitable background operations.</p><p><strong>QA Ownership:</strong> Don’t stop at checking API response codes. Understand how the database behaves under pressure, identify potential bottlenecks, and validate whether the system can handle expected concurrent transactions.</p><p>The objective is to identify database limitations before they affect customers.</p><h3>From Load Testing to System Readiness</h3><p>Now imagine you are preparing for tomorrow’s Winter Flash Sale.</p><p>Instead of simply opening JMeter OR K6 and running 3,000 virtual users, you start asking the engineering team the right questions:</p><p><strong>Traffic &amp; Spike — Expect the Surge:</strong> What is our expected peak concurrent traffic, and have we simulated realistic traffic spikes?</p><p><strong>Server RAM — Ensure Enough Headroom:</strong> Can our application servers handle the expected memory and CPU consumption?</p><p><strong>Queue — Manage the Rush Gracefully:</strong> Do we have a mechanism to manage sudden incoming requests without losing or duplicating transactions?</p><p><strong>Database Limit — Prevent the Bottleneck:</strong> Can our database handle the expected concurrent connections and transaction volume?</p><p>You discuss these areas with developers and DevOps before executing the performance test.</p><p>You identify possible bottlenecks, agree on performance thresholds, monitor system behaviour, and validate whether the application can recover from unexpected conditions.</p><p>This is what taking ownership as a QA looks like.</p><p>We shouldn’t wait for production to reveal problems that we could have identified during testing.</p><h3>My Takeaway: QA Ownership Goes Beyond Test Execution</h3><p>Being a QA is not just about knowing how to use tools like JMeter or K6 reporting whether a test passed or failed.</p><p>It is about understanding business expectations, thinking about the system behind the application, identifying risks, challenging assumptions, and taking responsibility for product readiness.</p><p>You don’t need to be a system architect to understand system design.</p><p>But you should develop the mindset to ask the right questions before a system goes live.</p><p><strong>Because load testing isn’t just about running a test — it’s about ensuring your application is truly ready for real-world demand.</strong></p><p><strong>Our responsibility doesn’t end when the test passes. It ends when we have enough confidence in the system’s readiness.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f21fd5cc24be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI isn’t replacing QA — it’s redefining Quality.]]></title>
            <link>https://medium.com/@shampasadia/ai-isnt-replacing-qa-it-s-redefining-quality-bd08ff6f7ff7?source=rss-18d32db390f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd08ff6f7ff7</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[ai-testing]]></category>
            <category><![CDATA[ai-test-automation]]></category>
            <category><![CDATA[llm-evaluation]]></category>
            <dc:creator><![CDATA[Shampa Sadia]]></dc:creator>
            <pubDate>Thu, 29 Oct 2026 07:27:12 GMT</pubDate>
            <atom:updated>2026-10-29T07:27:12.354Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>AI isn’t replacing QA — it’s redefining Quality.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W0hKMc8oz7ytPo6FrSlxpQ.png" /><figcaption>AI isn’t replacing QA — it’s redefining Quality</figcaption></figure><p>AI can generate test cases, execute workflows, analyse results, and identify potential defects faster than ever.</p><p>But here’s the important question:</p><p><strong>If AI can execute the tests, who decides whether we’re testing the right things?</strong></p><p>A green test report doesn’t automatically mean a reliable product. It only tells us that the system passed the checks we defined.</p><p>If our expectations are incomplete, our assertions are weak, or our risk analysis is poor, even 1,000 passing tests can give us false confidence.</p><p>The real opportunity isn’t just writing tests faster. It’s using the time saved to investigate deeper, challenge assumptions, and understand risks that automated checks might miss.</p><p><strong>🔍 1. Test What Matters, Not Just What Is Easy to Test</strong></p><p>A large test suite means little if it misses critical failures.</p><p>Example: In an online healthcare platform, a patient successfully books a lab test. The page loads, the API returns 200 OK, and the automation passes.</p><p>But what if the wrong test was booked? What if the payment was deducted twice? What if the booking never reached the laboratory?</p><p>Assertions:</p><p>The correct lab test and patient details are saved.</p><p>The booking is created exactly once.</p><p>The payment amount matches the order.</p><p>The booking and payment statuses remain consistent.</p><p>The goal isn’t to execute more tests. It’s to catch failures that matter.</p><p><strong>🛡️ 2. Challenge Assumptions Before They Become Defects</strong></p><p>Testing should begin with questions, not just test cases.</p><p>What happens if a payment succeeds but the booking fails? What happens if a doctor becomes unavailable after a consultation is booked? What happens if the network disconnects during a critical transaction?</p><p>Assertions:</p><p>Failed transactions do not create inconsistent records.</p><p>Retrying a request does not create duplicate bookings or charges.</p><p>Invalid actions produce appropriate errors without corrupting data.</p><p>Every important failure has a defined and verifiable outcome.</p><p>QA adds value by identifying these gaps before they reach production.</p><p><strong>🎯 3. A Passing Test Is Not Proof of Quality</strong></p><p>Consider an API that returns 200 OK but provides an incorrect response.</p><p>The test passes if we check only the status code. The feature still fails the user.</p><p>Example: A doctor consultation API returns a successful response, but the appointment contains the wrong doctor ID or consultation time.</p><p>Assertions:</p><p>The status code is correct.</p><p>Required fields exist and have the correct data types.</p><p>The doctor ID and appointment time match the request.</p><p>The saved data matches the expected result.</p><p>Unauthorised users cannot access another patient’s appointment.</p><p>Strong assertions turn test execution into meaningful verification.</p><p><strong>🧠 4. Apply QA Thinking to AI Systems</strong></p><p>Traditional software usually follows predefined rules. AI systems introduce additional uncertainty because their responses can vary across inputs and contexts.</p><p>That doesn’t mean we should stop asserting expected behaviour. It means we must define quality using appropriate evaluation criteria.</p><p><strong>🔹 LLM Evaluation</strong></p><p>Example: An AI healthcare assistant answers a question about preparation for a laboratory test.</p><p>Assertions:</p><p>The answer is factually accurate.</p><p>Medical instructions are supported by approved sources.</p><p>The response addresses the user’s question.</p><p>The model does not invent information when evidence is insufficient.</p><p><strong>🔹 RAG Evaluation</strong></p><p>Example: A healthcare chatbot retrieves preparation instructions from a laboratory’s knowledge base.</p><p>Assertions:</p><p>The relevant document is retrieved.</p><p>The answer is grounded in the retrieved information.</p><p>Important instructions are not omitted or contradicted.</p><p>Unsupported claims are identified and handled appropriately.</p><p><strong>🔹 AI Agent Testing</strong></p><p>Example: An AI agent finds an available doctor and books a consultation.</p><p>Assertions:</p><p>The agent selects an actually available doctor.</p><p>The correct appointment details are submitted.</p><p>The booking is confirmed only after successful creation.</p><p>A timeout or retry does not create duplicate appointments.</p><p>The agent does not claim success when the booking fails.</p><p><strong>🔹 AI Security Testing</strong></p><p>Example: A user attempts to manipulate an AI assistant into revealing another patient’s medical information.</p><p>Assertions:</p><p>Sensitive information remains protected.</p><p>Prompt injection cannot bypass server-side access controls.</p><p>Unauthorised actions are blocked.</p><p>Security rules remain effective regardless of how the request is phrased.</p><p><strong>🔹 AI Reliability Testing</strong></p><p>Example: An AI assistant starts producing less accurate answers after its knowledge base or model changes.</p><p>Assertions:</p><p>Evaluation scores remain within defined acceptance thresholds.</p><p>Response latency and failure rates meet service requirements.</p><p>Important regressions are detected.</p><p>Changes are investigated before they negatively affect users.</p><p>AI testing isn’t simply about checking whether an answer looks correct. It’s about systematically evaluating accuracy, consistency, safety, and reliability.</p><p><strong>⚙️ 5. Use AI to Accelerate Testing, Not Replace Critical Thinking</strong></p><p>AI can help generate test scenarios, create automation scripts, analyse logs, and identify potential edge cases.</p><p>But generated tests still need review.</p><p>Are the scenarios relevant to actual business risks?</p><p>Do the assertions verify the intended behaviour?</p><p>Are negative cases and boundary conditions covered?</p><p>Could the test pass even when the feature is broken?</p><p>Are the results reliable, or is the test itself flaky?</p><p>Assertion: Every automated check must have a clear purpose, a meaningful expected outcome, and a failure condition that exposes a real problem.</p><p>Automation should reduce repetitive work, giving QA engineers more time to investigate complex behaviour and prevent defects.</p><p><strong>🔄 6. Turn Defect Detection Into Quality Improvement</strong></p><p>Finding a bug is important. Understanding why it happened is equally important.</p><p>Example: Patients repeatedly receive duplicate lab bookings after network interruptions.</p><p>A basic testing approach reports the duplicate booking.</p><p>A quality engineering approach investigates request retries, API idempotency, transaction handling, and booking-state management.</p><p>Assertions:</p><p>Repeated requests do not create duplicate records.</p><p>Failed operations leave the system in a consistent state.</p><p>Regression tests reproduce the original failure.</p><p>The fix prevents the same issue from returning.</p><p>This is where testing and QA work together: testing exposes defects, while quality assurance helps improve the processes that prevent recurring problems.</p><p><strong>🤝 7. Quality Is More Than a Green Dashboard</strong></p><p>AI can execute an entire workflow and report that every test passed.</p><p>But what if the workflow doesn’t cover the highest-risk scenario? What if the test data is unrealistic? What if the expected result is wrong?</p><p>A green report cannot compensate for poor test design.</p><p>Quality requires collaboration between QA engineers, developers, product teams, and AI specialists to define acceptance criteria, understand system limitations, and evaluate real-world risks.</p><p>The objective isn’t to prove that a system never fails. It’s to understand where it can fail, how serious those failures could be, and whether they are detected and handled safely.</p><p><strong>💡 My Key Takeaway</strong></p><p>Traditional testing asks: Does this feature behave as expected?</p><p>AI testing asks: How accurately, safely, and consistently does this system behave across different scenarios?</p><p>Quality assurance asks: Are we building the right product through processes that consistently support quality?</p><p>And quality engineering takes these questions further by integrating risk analysis, prevention, automation, and continuous improvement into the development lifecycle.</p><p><strong>AI can help us execute checks. QA also means deciding what deserves scrutiny.</strong></p><p>Even when an AI agent runs the entire test workflow, a green report is only as useful as the expectations behind it.</p><p>The opportunity is bigger than generating test cases faster. It’s using the time saved to investigate deeper, challenge assumptions, and understand risk.</p><p><strong>The fear is that AI will replace QA.</strong></p><p>The easy response is to use AI only to generate test cases.</p><p>The real opportunity lies between those two extremes: using AI to accelerate execution while strengthening the thinking behind quality.</p><p><strong>Because the future of QA isn’t just about finding bugs faster.</strong></p><p><strong>It’s about asking better questions, making stronger assertions, and building systems people can trust.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd08ff6f7ff7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[API Tests and what basics you need to know : A quick note.]]></title>
            <link>https://medium.com/@shampasadia/api-tests-and-what-basics-you-need-to-know-a-quick-note-b70fc9d3b9a1?source=rss-18d32db390f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b70fc9d3b9a1</guid>
            <category><![CDATA[api-testing]]></category>
            <category><![CDATA[api-checkpoints]]></category>
            <category><![CDATA[api-basic]]></category>
            <dc:creator><![CDATA[Shampa Sadia]]></dc:creator>
            <pubDate>Tue, 11 Aug 2026 06:38:19 GMT</pubDate>
            <atom:updated>2026-08-11T06:38:19.655Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is API Testing?</h3><p>API testing focuses on testing the <strong>service layer directly</strong>. Instead of interacting with the application through a browser or UI, you send requests to the API and validate the responses.</p><p>What Do You Verify?</p><p>In API testing, you typically verify:</p><ul><li><strong>Status codes</strong> — whether the request succeeded or failed as expected</li><li><strong>Response body</strong> — whether the returned data is correct</li><li><strong>Headers</strong> — whether the required headers are present and valid</li><li><strong>Business logic</strong> — whether the application behaves according to the defined rules</li><li><strong>Error handling</strong> — whether invalid requests return the expected errors</li></ul><h3>Why Test at the API Level?</h3><p>API testing is useful because it is:</p><ul><li><strong>Faster</strong> — tests run without loading a browser or rendering the UI.</li><li><strong>More stable</strong> — API tests are less affected by UI changes, slow rendering, or browser-related issues.</li><li><strong>Closer to the source of bugs</strong> — business logic is implemented at the service/API layer, so failures can be detected earlier.</li><li><strong>Easier to maintain</strong> — API tests are generally simpler and less fragile than UI tests.</li></ul><p>For example, if a business rule is broken, the API response can reveal the problem immediately — long before the same issue appears in the UI as a missing label, incorrect button state, or unexpected page behaviour.</p><ul><li><strong>Test the API directly:</strong> Send a request and check the response.</li><li><strong>Faster and more stable:</strong> No browser or waiting for the page to load.</li><li><strong>Find bugs earlier:</strong> Check the business logic where it actually works.</li></ul><p><strong>In short:</strong> API testing validates whether the application’s core services and business logic work correctly, without relying on the browser or UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NK82_UGCe-y5b_eK-Cs5Hw.png" /><figcaption><strong>API and its Basics</strong></figcaption></figure><h3>Beyond the status code, what do we actually assert in an API response?</h3><p>Don’t check only the <strong>status code</strong>. Check these things too:</p><ul><li><strong>Status code:</strong> Did the request succeed?</li><li>Example: 200 OK</li><li><strong>Response structure:</strong> Are the required fields there with the correct types?</li><li>Example: name should be a <strong>string</strong>, not a number or null.</li><li><strong>Response values:</strong> Did the request actually change the expected data?</li><li>Example: If you update the customer’s name to <strong>“John”</strong>, the response should return &quot;name&quot;: &quot;John&quot;.</li><li><strong>Headers:</strong> Are important headers correct?</li><li>Example: Content-Type: application/json</li><li><strong>Response time:</strong> Did the API respond quickly enough?</li><li>Example: The API should respond within <strong>2 seconds</strong>.</li></ul><h3>Why Is This Important?</h3><p>A <strong>200 status code doesn’t always mean the API is working correctly</strong>.</p><p>For example:</p><pre>{<br>  &quot;status&quot;: 200,<br>  &quot;name&quot;: null<br>}</pre><p>The status is 200, but the customer name is missing. A test that checks only status == 200 would incorrectly pass.</p><h3>Key Points</h3><ul><li>Check <strong>status, structure, values, headers, and response time</strong>.</li><li>Don’t assume <strong>200 = everything is correct</strong>.</li><li>Check the <strong>actual data of our request was supposed to change</strong>.</li></ul><h3>How do we test an API with no documentation?</h3><h3>Explore the API Before Testing</h3><p>First, understand how the API works. We can watch the app’s <strong>network requests</strong> or check the <strong>code</strong>.</p><p>For each endpoint, find out:</p><ul><li><strong>Method:</strong> GET, POST, PUT, DELETE</li><li><strong>Parameters:</strong> What information is required or optional?</li><li><strong>Authentication:</strong> Does the API need a token or login?</li><li><strong>Response:</strong> What data does the API return?</li></ul><p>Then we will use this information to create our tests.</p><h3>Example</h3><p>For a POST /users API, we might find:</p><ul><li>Method: POST</li><li>Required: name, email</li><li>Auth: Bearer token</li><li>Response: id, name, email</li></ul><p>Now we can test:</p><ul><li><strong>Success:</strong> Create a user with valid data.</li><li><strong>Negative:</strong> Try without an email.</li><li><strong>Schema:</strong> Check that id is a number and name is a string.</li></ul><h3>Key Points</h3><ul><li><strong>Explore the API first.</strong></li><li><strong>Write down what we find.</strong></li><li><strong>Turn that information into tests.</strong></li><li>Your notes can also become useful <strong>API documentation</strong>.</li></ul><h3>What negative and edge cases to test on a single endpoint?</h3><h3>API Testing — Test Beyond the Happy Path</h3><p>Don’t test only valid requests. Also test how the API handles bad or unexpected input.</p><ul><li><strong>Missing fields:</strong> required email is missing → <strong>400</strong></li><li><strong>Wrong types:</strong> age: &quot;abc&quot; instead of age: 25 → <strong>400</strong></li><li><strong>Empty/null:</strong> name: &quot;&quot; or name: null → <strong>400</strong></li><li><strong>Boundary values:</strong> age: 0, -1, 18, 100, 101 → check limits</li><li><strong>Malformed JSON:</strong> broken { &quot;name&quot;: &quot;John&quot; → <strong>400</strong></li><li><strong>Extra fields:</strong> send unexpected &quot;isAdmin&quot;: true → reject/ignore safely</li><li><strong>Duplicate requests:</strong> submit the same order twice → shouldn’t create duplicates</li><li><strong>SQL/script input:</strong> &#39; OR &#39;1&#39;=&#39;1 or &lt;script&gt;alert(1)&lt;/script&gt; → handle safely</li><li><strong>Huge payload:</strong> send an oversized request → <strong>413</strong></li><li><strong>Wrong Content-Type:</strong> send text/plain instead of JSON → <strong>4xx</strong></li><li><strong>Unauthorized access:</strong> access another user’s resource → <strong>401/403</strong></li></ul><p><strong>Simple rule:</strong> Test what should work <strong>and what should fail</strong>. Bad input should give a proper <strong>4xx</strong>, not a <strong>500</strong>.</p><p>So here’s the common things we need to keep in mind when testing API’s.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b70fc9d3b9a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[QA: Bridging Product and Engineering When “It Works on My Machine” Isn’t Enough]]></title>
            <link>https://medium.com/@shampasadia/qa-bridging-product-and-engineering-when-it-works-on-my-machine-isnt-enough-fc128947be74?source=rss-18d32db390f6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc128947be74</guid>
            <category><![CDATA[conflict-management]]></category>
            <category><![CDATA[qa-testing]]></category>
            <category><![CDATA[own-your-work]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Shampa Sadia]]></dc:creator>
            <pubDate>Mon, 27 Jul 2026 14:01:04 GMT</pubDate>
            <atom:updated>2026-07-27T14:01:04.052Z</atom:updated>
            <content:encoded><![CDATA[<p>When a developer says, <em>“It works on my machine,”</em> or a PM says it isn’t working in their devices while the QA isn’t finding anything, assume the environments differ — not that anyone is wrong. Our goal is to find the difference, not win in the debate.Very often in QA industry we hear this kinda thing. We have to treat it as Data mismatch problem not an issue to disagree.Both party can be true. The QA isn’t lying nor the others. The other party could be anyone <strong>developer or product manager or other business/products peers.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*Q9fejZRXFVpHw9dw7kYuXQ.jpeg" /><figcaption>The conflicts from Different Perceptions</figcaption></figure><p><strong>First</strong>, we need to reverify from the very beginning. A proper environment, correct build, fresh session is needed to run the program and also need to make sure we aren’t using an old build which can be a common case for rushing.And always keep the tone collaborative. We’re not here to win we’re trying to protect users. The moment it becomes QA-vs-Developer, or QA vs PM the bug stops being the subject and the relationship does. so <strong>handle it with care, its a major part of your job. </strong>Secondly some key points to keep in our mind is</p><ul><li><strong>Verify the correct build and environment first</strong> — ensure we’re testing the latest deployment and the intended environment.</li><li><strong>Isolate the variable</strong> — compare differences such as environment, user role, test data, browser, feature flags, or timing.</li><li><strong>Capture supporting evidence</strong> — record a video and note the request ID, timestamp, and any server-side errors.</li><li><strong>Offer to compare recordings</strong> — sharing both screens can help reproduce and investigate the issue closely.</li><li><strong>Focus on user impact and priorities</strong>— approach the discussion with the goal of protecting users and resolving the issue, not proving who is right.</li></ul><p>We have to trust both parties because there might be something which differs the action from ours to theirs. As a QA our goal should be Verify the build, isolate the variables, gather evidence, and focus on solving the user’s problem — not proving who’s right.</p><p><strong>Remember:</strong> <em>Evidence resolves disagreements faster than opinions.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc128947be74" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>