<?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 Bashitwa Roy on Medium]]></title>
        <description><![CDATA[Stories by Bashitwa Roy on Medium]]></description>
        <link>https://medium.com/@bashitwar?source=rss-71af884b5746------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ZlD1XtLuk_Dcc8zD</url>
            <title>Stories by Bashitwa Roy on Medium</title>
            <link>https://medium.com/@bashitwar?source=rss-71af884b5746------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 18:10:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bashitwar/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[Essential Insights for Setting Up Your CI: What You Should Know]]></title>
            <link>https://medium.com/testvagrant/ship-better-ship-quicker-5324e8656d2a?source=rss-71af884b5746------2</link>
            <guid isPermaLink="false">https://medium.com/p/5324e8656d2a</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[pipeline-as-code]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[agile-development]]></category>
            <dc:creator><![CDATA[Bashitwa Roy]]></dc:creator>
            <pubDate>Sun, 11 Jun 2023 18:58:35 GMT</pubDate>
            <atom:updated>2023-09-18T10:06:35.947Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pvjrS56sWcxcVYDECD0OlA.png" /></figure><p>In today’s software development process, there is a constant push to deliver quality products at a rapid rate. Even more so when companies are on a leaner R&amp;D budget, where you continuously strive to do more with less. If you do not already have an efficient CI process set up in your team, then you have come to the right page. From the experience I have gathered across multiple teams, I have tried to accommodate all the essentials you’d need to make your CI pipeline a success. CI is just not a fad, it&#39;s a way of working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*skkM2hvmF1h8rh0QmdAMRQ.png" /></figure><p><strong><em>Quality feedback before code review</em>: </strong>The definition of a story/task being ‘dev done’ is a question that we come across every team. CI pipelines are supposed to be designed in a way that shares functional feedback with the developer even before someone from the team decides to review the pull request. Ideally, whenever one pushes code to a remote git branch, unit+service+integration(with mock services) tests should automatically run and let them know whether the code has an impact anywhere, mainly regression. Teams can take it one step forward by automating service-level tests simultaneously and merging them into the same branch. <em>Hot take, but I have always believed quality to be a collective responsibility and that developers in the team should take equal if not more ownership in writing service-level tests.</em></p><p><strong><em>Everything-in-one pipeline: </em></strong>Besides the automated unit/service/integration level tests, a comprehensive CI pipeline should include steps for static code analysis looking for possible<em> </em>code smells, violations of coding standards set in the organisation or even restrict the introduction of anti-patterns in code that might cause security hazards later.</p><p><strong><em>Continuous Improvement:</em> </strong>CI also means continuous improvement where every single observation/miss in a sprint needs to be worked upon into an actionable item and incorporated into the cycle. Albeit there will always be unprecedented things, enough time should be spent looking back at how things could have been done — be it missed tests that led to production bugs or general processes that make life easier for everyone in the team.</p><p><strong><em>Effective logging: </em></strong>Probably one of the most underrated and least talked about points in CI, appropriate and meaningful logging can save days&#39; worth of effort in digging code trying to find the root cause. Both the service code and test code should have these loggings to help pinpoint right at the heart of the issue. <em>We all know and have gone through the pain of setting up services locally, changing context between feature branches and spending hours on code written last week or even last month.</em></p><p><strong><em>Team awareness: </em></strong>Everyone in the team should be hands-on with the CI pipeline. In teams, where the boundaries of roles and responsibilities are blurred, pipelines and CI jobs cannot be set up, operated and maintained entirely by a fixed set of people. Keeping aside organisations that have dedicated platform engineers, anyone must be able to do preliminary debugging, read test reports and communicate problems in the pipeline.</p><p><strong><em>Space for everyone: </em></strong><em>In a utopian world, all engineers in the team can dev-test, write automation, run regression and plan product demos in the same environment — but obviously it does not work like that. </em>The ability to spin up and down environments at will for specific needs is the key. Oftentimes, we end up working on different builds of the same microservice and it becomes a nightmare to move things forward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I9NCEbarm9drEM5Blr67vA.png" /></figure><p>Apart from the above, there is one more category of tests that often people take less heed to or just act more reactively — <strong>performance tests</strong>. I believe a separate CI job can exist that includes spinning up a production-grade stack and running iterations on the most traffic-intensive dataflow paths. This can stay dormant and can be used only when any such releases are undertaken — for example integrating a 3rd party API or modifying cache designs for a service. Completely optional but a handy tool in your repertoire, for teams who are ready to invest in infrastructure costs and bandwidth.</p><p>While most of these should apply to teams working in agile, micro-service-based development environments, they aren’t set in stone. <em>However, these guidelines might help you find the right direction towards striking that right balance for your team, churning out quality products day in, and day out.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5324e8656d2a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/testvagrant/ship-better-ship-quicker-5324e8656d2a">Essential Insights for Setting Up Your CI: What You Should Know</a> was originally published in <a href="https://medium.com/testvagrant">TestVagrant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jmeter vs k6 — who makes a stronger case?]]></title>
            <link>https://medium.com/testvagrant/jmeter-vs-k6-who-makes-a-stronger-case-ee0587e2dd1?source=rss-71af884b5746------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee0587e2dd1</guid>
            <category><![CDATA[load-testing]]></category>
            <category><![CDATA[performance-testing]]></category>
            <category><![CDATA[jmeter]]></category>
            <category><![CDATA[quality-software]]></category>
            <category><![CDATA[k6]]></category>
            <dc:creator><![CDATA[Bashitwa Roy]]></dc:creator>
            <pubDate>Wed, 07 Dec 2022 10:44:21 GMT</pubDate>
            <atom:updated>2022-12-15T11:21:59.514Z</atom:updated>
            <content:encoded><![CDATA[<h3>JMeter vs k6 — who makes a stronger case?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6bViMXMjrtI7p_SvHzfyDg.png" /></figure><h3>Introduction</h3><p>While JMeter has been in the market and used since the 1990s, k6 is the newer kid in the performance testing realm. Nevertheless, k6 has made quite an impact and is gaining popularity every day.</p><h3>Head-to-head</h3><p>While judging a tool or a framework for its efficiency and effectiveness, we would generally like to keep few parameters in mind. Based on my experience and the time I have spent with these two, I shall try to compile it into a few points which might help others make the decision much quicker. <strong>In reality, both these toolboxes have their own specific use cases and it is just about figuring out which is the right fit for your application.</strong></p><p><strong>1.Installation &amp; set up</strong></p><p>JMeter has a prerequisite of <strong>java</strong>. Compatibility with the <strong>right version of jdk</strong>.</p><p>k6 <strong>does not require nodejs</strong> or any package manager other than the k6 bundle itself.</p><p><strong>2.Availability of an UI</strong></p><p>Jmeter comes with a <strong>built in UI</strong> where all the tests are configured and the action takes place. Therefore, it is apparently <strong>easier for a novice to pick up</strong>.</p><p><strong>No UI</strong> in the k6 free version. Easier to pick up if one has <strong>basic javascript coding familiarity</strong>.</p><p><strong>3.Test Design</strong></p><p>JMeter, in most cases is used <strong>via the UI</strong> and the options to design a <strong>custom load/performance test by default are limited</strong>. custom thread groups, sampler plugins are almost a necessity</p><p>k6 is meant to be <strong>highly configurable by design</strong> since the test would be entirely based on a script(js) that we write. This probably has been the USP for k6.</p><p><strong>4.Reporting</strong></p><p>JMeter has <strong>inbuilt html reports</strong>, plus few more with plugins. Together they seem to be enough for any user but again the <strong>lack of customisation</strong> could be a deal breaker.</p><p>k6 does not have any built in reports apart from a <strong>vanilla command line report</strong>. Furthermore, there are counters, thresholds, rates etc. that can be configured and baked into the report. So <strong>highly configurable reports but few options out of the box</strong>. Has <strong>third party integrations</strong> with grafana to curate data into dashboards.</p><p><strong>5.Resource economy</strong></p><p>JMeter uses the <strong>JVM</strong> to generate new threads. 1 single Jmeter instance can simulate up to <strong>few thousand users</strong>. Also the duration and design of the test is <strong>limited by the java heap memory</strong>. Therefore, <strong>resource heavy</strong>.</p><p>k6 internally uses <strong>goroutine</strong> to simulate virtual users. Go is a compiled language and hence performance is an inherent feature. 1 single instance of k6 can generate <strong>hundreds of thousands of VUs</strong>. for producing the same traffic/load, k6 would need <strong>significantly less resources.</strong></p><p><strong>6.Distributed load tests</strong></p><p>Jmeter natively supports distributed load tests using the <strong>Jmeter server</strong>.</p><p>k6 supports distributed load generation but with the help of <strong>k6 operator</strong>, it can do the same over a kubernetes cluster across multiple pods.</p><p><strong>7.Community</strong></p><p>Jmeter has been around for more than 20 years now, therefore has a wider and diverse user base with <strong>strong community support</strong>.</p><p>A strong community is being built up everyday with a <strong>growing user base</strong>.</p><p>8. <strong>Network Protocols</strong></p><p>JMeter supports SOAP, HTTP/1.1, FTP, JDBC, LDAP, SMTP, POP3, IMAP, TCP — <strong>most of the ones available today</strong>.</p><p>k6 supports the modern ones — gRPC, HTTP/1.1, HTTP/2. legacy might be an issue.</p><p><strong>9.Maintainability/Collaboration</strong></p><p>JMeter scripts are saved in the form of <strong>.jmx files</strong>, <strong>re-using and loading them</strong> from one machine to another can prove to be painful as version mismatch might cause it to break.</p><p>k6 scripts are written from the scratch, they can be <strong>version controlled using git</strong> and hence can be collaborated over with other teammates.</p><blockquote>These were the determining factors for me when I was in a fix between Jmeter and k6. In my case, we chose k6 since we wanted to be prudent on the cost we incur and were able to generate close to 5x production traffic using minimal infrastructure.</blockquote><h3>Bottomline</h3><p>As you can see it all depends on the context and use case. For instance, if you want a <strong>UI tool with a strong community support</strong>, Jmeter could be your thing. Else, if you are <strong>decent with js and need a highly configurable test design</strong>, k6 should be your go-to.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee0587e2dd1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/testvagrant/jmeter-vs-k6-who-makes-a-stronger-case-ee0587e2dd1">Jmeter vs k6 — who makes a stronger case?</a> was originally published in <a href="https://medium.com/testvagrant">TestVagrant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>