<?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 CloudScaleQA on Medium]]></title>
        <description><![CDATA[Stories by CloudScaleQA on Medium]]></description>
        <link>https://medium.com/@CloudScaleQA?source=rss-8a1f1992a872------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ML7yua39y7lPyRQcf8xcNA.png</url>
            <title>Stories by CloudScaleQA on Medium</title>
            <link>https://medium.com/@CloudScaleQA?source=rss-8a1f1992a872------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 16:00:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@CloudScaleQA/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[Driving in the Fast-lane: With a nut gone missing?]]></title>
            <link>https://medium.com/cloudscaleqa/driving-in-the-fast-lane-with-a-nut-gone-missing-c9aba9750e80?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9aba9750e80</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[api-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[automation-testing]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Wed, 28 Mar 2018 05:10:43 GMT</pubDate>
            <atom:updated>2018-03-28T05:10:43.516Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*zN67y0IWbmMcCbDQQucgUA.png" /></figure><p><strong>API Testing:</strong></p><p><strong>Primer: Need and Approach</strong></p><p>Bullock carts were easy. All one had to do was make a pair of sturdy wheels, strap them around a still-sturdier creature and sit back inside this fascinating contraption that swayed and crawled towards a destination.</p><p>But then they were slow. Of course, that also meant one could enjoy the views, trees and rivers that passed by. But then, time was not a luxury as it has turned into today.</p><p>In a world where one is already whining about the absence of time-travel, it is nigh-impossible to conceive living without a swift, smooth and strong car- and one that doesn’t crawl but whizzes.</p><p>When Software ceased to be about that monolithic application and became all about tiny, but consequential, moving parts; it posed the same advantages and headaches for an organisation as the bullock-cart-man would face tucked inside a sleek car.</p><p>Like that small bolt and that invisible cable holding a huge car together, APIs or Application Programming Interfaces have been keeping the dance among applications, code modules, and back-end systems going well and uninterrupted. They make the anywhere, anytime and at-any-level scenario of agility, intelligence and reliance possible for modern-era applications. This is where the car of modern software stays integrated, spry and robust.</p><p>But this also means that the driver has to make sure that no tyre, no nut and no string go unchecked on the Formula-1-pace roads of today’s blistering-fast business. This means that APIs need the right tool-boxes to keep them well-oiled and well-maintained.</p><p>This is what API testing does. A way of software testing that comes under the hood of integration testing and keeps tinkering with aspects that ensure that everything is to keep the car running and cruising.</p><p>This approach entails</p><ul><li><strong>API check</strong>: To ascertain various on-ground issues and angles of an API</li><li><strong>Functionality:</strong> To evaluate how well is an API delivering on the outcomes that it was designed for</li><li><strong>Reliability:</strong> To inject the confidence that an important API aspect will not falter when it is supposed to be working flawlessly</li><li><strong>Security:</strong> To insulate APIs from the dents and cracks of threats that can ruin the whole system. Holding them forth against security requirements, authentication, permissions and access controls for all scenarios</li><li><strong>Load:</strong> To figure out how much and how smoothly can an API carry itself when it comes down to business peaks and volatility</li><li><strong>Consistency</strong>: To deliver APIs that work right the first time and every time</li><li><strong>Compatibility across devices, platforms, OS options</strong>: To build easy interoperability between diverse pieces of technology forests</li><li><strong>End-to-end experience</strong>: To translate the strength of a good API into a silky experience for the user at every point</li><li><strong>Performance</strong>: To subject APIs to real-world expectations and limitations, and unfolding inconsistencies and issues that can hamper performance</li></ul><p>But is fixing a bad nut as much of that snap that it sounds? Do organisations even have the right screw-drivers?</p><p><strong>Challenges</strong></p><p>API testing can be an affair replete with expected and unexpected problems. A lot of them can be boiled down or slotted under these reasons.</p><ul><li><strong>Complexity:</strong> Owing to an endless and chaotic tangle of protocols and standards as well as the number and versatility of components that developers have to handle; nothing is simple anymore. The same complexity also plays out in testing individual as well as a series of functionalities. Throw in the factor of interdependence, and you are staring at a huge ball of knotty yarn.</li><li><strong>Versioning:</strong> The ever-changing version climate can inflict a new set of expectations and constraints on an API- and every single time; especially when it translates into concerns around depreciation, default modes and missing values.</li><li><strong>Protocol diversity:</strong> It is not just the variety of protocols that pile up but also the unpredictability of their implications on each other and their adoption curves.</li><li><strong>Speed</strong>: One could take forever to piece together a punctured wheel in the days of the gramophone but not so much when one is around the Netflix-weaned generation.</li><li><strong>Limited skills, time and resources:</strong> Testing coverage is limitless and unrelenting. But the skills and hands to do that — well, they are not.</li><li><strong>Inadequate Simulation of environments:</strong> Can it be a cake-walk to configure databases, servers and other application-requirements to the T? Not really when we consider synchronous and asynchronous methods, connected-systems, numerous micro services and much more that adds to the environment.</li></ul><p>In short, a garage would be a nice and fuzzy setting when one is talking about vehicles of the last century. But the digital roads of today can only make room for pit-stops — and super-fast ones at that. That’s why — automation.</p><p><strong>Why automation?</strong></p><p>If API testing continues to cough on every turn in the road, the application would have no hope for surviving on the highways of digital landscapes today. From confronting the challenges listed above; to ushering in accelerated, failure-proof and consistent tests that assure of test coverage and software quality, one needs to have pit-crews that automation empowers. More so when we are dealing with API testing where manual work and code-writing can, in itself, be a speed-breaker. The explosive pace and momentum that lanes of DevOps, Continuous Delivery and Agile programming need — now all that can become achievable with automation for sure. Besides velocity, automation also equips organisations with consistency, quality and improvement.</p><p><strong>How to get it right?</strong></p><p><strong>REST API: The answer that works?</strong></p><p>REST or the Representational State Transfer is a new wave creating strong currents in the realm of web applications- Using the standard database- Create, Read, Update, Delete and converting into HTTP verbs including Post, Get, Put, Delete. By following the convention and passing the right parameters, it allows organisations to translate business logic into HTTP successfully.</p><p>Being based on Representational State Transfer technology and hinging closely on architectural approaches and style of communication in web services development, makes REST API a smarter choice than any other in the torrent of complexity and speed-parameters that organisations face.</p><p>One may, at this point and understandably so, compare it to the Simple Object Access Protocol (SOAP). Here is what your comparison should also consider while picking a better tool-box.</p><p>1. REST API uses HTTP, so any programming language can use and test it easily. With simple data transfer mechanism and authentication mechanism; it can amplify a set of APIs to create, read, update and delete records in your system through a set of HTTP calls.</p><p>2. Less bandwidth is also something that makes many lean towards REST. Obviously, REST is being used to build APIs in powerful websites around the globe such as Google, Amazon, Twitter and LinkedIn, as it allows the users to interact and connect with the cloud services.</p><p>3. SOAP has to follow a number of rules, whereas, with REST, the development team can scale the product by reaching out to the other servers or make various changes in the database, given that the data from each request is being sent correctly. The separation between the client and the server allows gauging the front as well as the back of different servers and making the apps more flexible to work with.</p><p>4. Here the user interface is totally separated from the server and the data storage and when one is worried about portability of the interface to other platforms without upsetting scalability of the projects; REST jumps in as it helps the different components of the development to be evolved on an independent basis.</p><p>5. Another strong point in its favour: Adaptability. With different types of platforms and with new environments that can be changed or tested within the development. As long as responses to the requests take place in the same language that is being used for the information exchange in which case, it is usually XML or JSON.</p><p>6. One can create an API with REST that can be used by users too with the tapping of the right HTTP actions on the resources and indicate the API design and functionality clearly to the clients. One just needs the correct HTTP verbs, and the API can be declared understandable from the perspective of the client.</p><p><strong>In conclusion</strong></p><p>As long as one considers the key principles of REST that involve separation of APIs into logical resources, use of Nouns instead of Verbs and keeping the URL format consistent and using a plural such as tickets, users, groups etc. — many loose ends of one’s vehicle and potholes of the digital journey can be wiped away with this approach.</p><p>It is advisable to use SSL as the web APIs can be accessed from anywhere in the world, and there is always a better case for encrypted communication which, in turn, simplifies the authentication efforts.</p><p>Proper documentation, which is easy to find and open to public viewing, also adds to the power of REST; along with the use of lean URLs instead of complex ones and of Hypermedia as the Engine of Application State (HATEOAS) that hypertext links.</p><p>One may also sort the dominance of GET and POST requests, as it is possible to increase accessibility by overriding the HTTP method, i.e., accepting a request header with a string value containing one of PUT, PATCH or DELETE.</p><p>There it is — REST: A pitstop that lets you rest in the driver’s seat.</p><p>Even the smallest cog in a wheel can blow up into a huge mess. Why take a chance? Why not do things the modern-way — fast and furious, but safe?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9aba9750e80" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/driving-in-the-fast-lane-with-a-nut-gone-missing-c9aba9750e80">Driving in the Fast-lane: With a nut gone missing?</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Acceptance Testing Automation: Challenges and Solutions]]></title>
            <link>https://medium.com/cloudscaleqa/acceptance-testing-automation-challenges-and-solutions-e2e629612919?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2e629612919</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Tue, 27 Mar 2018 05:18:08 GMT</pubDate>
            <atom:updated>2018-03-27T05:18:08.046Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*i4X_VIsanhMya4nNT8gZZA.png" /></figure><p>“Let’s try that again.”</p><p>Ordinarily, these words do not get anyone’s ears pricked up; but when it is the Apple Senior VP Craig Federighi uttering something as he fiddles with Face ID at an on-stage demo for iPhone X global launch, you cannot help but notice.</p><p>It was a great feat for Apple again to usher in a new system of Face-recognition instead of fingerprints and other sensor/access input. But what developers and designers accomplished spectacularly with AI and Infrared thingamajig inside their labs, fizzled out for a second outside those labs. That is not desirable. But let’s face it- it can happen to anyone, any company, any demo.</p><p>This was when Apple had also enlisted the best-known hands from Hollywood special effects’ universe to test and secure Face ID with the most bizarre recreations of the human face. So what does it tell you about the tail-end of testing? Is there something you have been missing out or neglecting?</p><p><strong>What is User Acceptance Testing?</strong></p><p>What we know as beta testing is essentially the phase of UAT or User Acceptance Testing (UAT). This part of end-user testing nails a crucial<strong> </strong>phase of software-development — checking the software for the actual world and the audience that is supposed to use the application. Why test an already-checked software code again, you may ask. Let’s see that from a user’s eyes.</p><p><strong>Objectives</strong></p><p>It is only when the experiences of some users are captured and shared with developers, that software assumes the real-shape that will delight its users in the best-case scenario. For the worst-case scenarios, UAT will, at least, help the developers discover what did they missed, the one that troubles a user outside.</p><p>This part is paramount before the commercial release of an application as this will reveal important pitfalls and hidden issues that only surface when a user puts it to use.</p><p>With UAT, one can be sure that a product has been thoroughly tested for both functionality and business dimensions. UAT helps to validate key business functionalities and unravels many aspects that can translate into bugs, contractual gaps, QA red flags, delivery promises, and final performance areas. With both alpha and beta-testing, the organisation can be sure of having (at least to a reasonable extent) taken notice of all nuances and factors that will make or break the application in the user’s hands. This can be done in-house by leveraging the expertise of users similar to real users; or by having early-stage users. Yet, it is not as easy as it sounds.</p><p><strong>Challenges Faced</strong></p><p><strong><em>Improper test planning</em></strong></p><p>No matter how much one invests or what amazing users one has put together for this process, the exercise can easily backfire in the absence of a systematic plan.</p><p>It should be as good as (and well-aligned to) system-testing. The inclusion and focus related to requirement-analysis, design-phase, delivery tick-boxes, strategic implications, functionality-and-feature roadmap and form-factor issues should be weaved well. Sharp and lucid definition of test objectives, along with easy-to-word templates for the team for writing test-cases, scripts and strong environments, play an important role too. So does the setting of priorities for business objectives.</p><p>What will also make UAT deliver its outcomes is the time management aspect as this happens to be the fag end of the testing cycle; so critical setbacks can be quite heavy. Overlaps between system-testing and UAT can also be quite serious. When time is less and deadline pressures are huge, getting the best out of UAT can be quite a struggle.</p><p><strong><em>Incorrect UAT users</em></strong></p><p>The purpose of this testing is defeated at the very outset when user-selection is wrong. The thrust should be resolutely on the inclusion of end users. Careful and meticulous selection of beta users and internal team members requires special attention. Their level of familiarity, training and understanding of business needs, and time allowed for getting well-versed with real UAT intents can be of great significance.</p><p><strong><em>Managing new biz-requirements</em></strong></p><p>UAT phase can throw a whole new set of confusions, questions and requirements. Last minute change requests can add to the number of panic attacks without any warnings. Project managers should keep an eye and hand ready for accommodating nick-of-the-time demands and changes without leading to any release failure.</p><p><strong><em>Communication gap between teams</em></strong></p><p>A lot of the problems mentioned so far can be wiped on the spot by fine-tuning communication between all aspects of a team: from development, testing to user-testers and between onshore and offshore ones, where applicable. This will help immensely in mitigating incident-response latencies and improving proper planning and collaboration. Use of latest tools and workload management can curb a lot of duplication and bring out a new teamwork impact.</p><p><strong>Solutions Framework</strong></p><p><strong><em>Planning the UAT in advance</em></strong></p><p>It is important to make sure that there is sufficient time, resource-availability and attention for giving a good structure to UAT. This is where identification of user roles, differences in expectations and actions, outcomes-related variations can be given an early spot. Similarly, use of User Stories as Test Cases and clarity in communication of client requirements can be quite an active constituent in making UAT surpass its intended goals. Adequate room for language that works for users when they use and report is a prominent point. Due push should be given to the creation of UAT templates, hands-on training interventions, the timing of UAT, test sequence and test scenarios while not losing a firm grip on the actual expected results as well as business-impact.</p><p><strong><em>Involve actual users</em></strong></p><p>This may sound like common-sense advice, but it is quite a clincher in UATs. Negligence or pushing UATs down the neck of functional test-teams can sound risky but can happen without raising any warnings. Lack of time or resources should, nevertheless, be not an excuse for not galvanising proper users to conduct these tests. Compromising the kind of users is as good as making these tests plunge down the drain. At the same time, positive communication and interface between user-testing and development teams are required so that negative feedback and blame-game can be supplanted with constructive feedback and a focus on the big-picture outcome.</p><p><strong><em>Baseline the real-time conditions</em></strong></p><p>UATs pass or fail in an environment, and if the environment itself does not reflect or simulate the real-world scenario, then the tests become pointless to undertake. Use of appropriate data, tapping it smartly and including tools that help in bridging the gap between UAT environment and the actual environment is highly recommended. So is the importance of control on release cycle to have good navigation on different software versions and their tracking on test and UAT environments.</p><p><strong><em>Understanding UAT well</em></strong></p><p>UAT is an excellent and decisive way of aligning expectations, requirements and application-performance in the minutest way possible. Development of products should make users comfortable, satisfied and not left for fighting fires.</p><p><strong><em>Review of proper standards</em></strong></p><p>Test-acceptance is an indication of a confirmation of specifications and expectations. But in situations where meeting specifications still do not translate into acceptance, it becomes a struggle to handle the after-test effects well. The math can become more confusing when there is a real business-value despite all shortcomings. Clarifying the slippery-spot of acceptance is essential and helpful for everyone in the process.</p><p>It would propel UAT to success faster when one knows how to define and work on UAT feedback. The range should cover positive areas as well as spotting of bugs or quality gaps. There should be a good room given to change-requests and new functionalities as well. After all, the main aim of UAT is to get closer to what the user wants or dislikes — no matter how late or where he/she realised that insight. Interactions with early-stage application allow them to find out more about their own behaviours and inclinations.</p><p>Act on everything as soon and as well as you can. Remember these wise words from Gerard Huerta.</p><p><em>“When you are stuck, walk away from the computer and draw. It will teach you how to see:”</em></p><p>When done well, with use of latest automation, tools and breakthroughs, UAT can sometimes be that very drawing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2e629612919" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/acceptance-testing-automation-challenges-and-solutions-e2e629612919">Acceptance Testing Automation: Challenges and Solutions</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Setup a CI/CD Pipeline to Run Automated Tests Efficiently across Teams]]></title>
            <link>https://medium.com/cloudscaleqa/how-to-setup-a-ci-cd-pipeline-to-run-automated-tests-efficiently-across-teams-3f6914e351cd?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f6914e351cd</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[automation-testing]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Mon, 26 Mar 2018 05:47:16 GMT</pubDate>
            <atom:updated>2018-03-26T05:47:16.027Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*2jBE3l6G4Orc6mGeGWM5Lw.png" /></figure><p>“When a C-level person approves a project and analysts come up with a big list of requirements, these aren’t really requirements — they are guesses, or hypotheses,” as once rightly reckoned by Jez Humble, author of ‘Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation’.</p><p>As his co-author David Farley contends too; rapid, incremental delivery of high quality, valuable new functionality to users need to be enabled to survive in a world where software release is not just painful but also risky.</p><p>When it is hard to put a finger on how the product will actually address the needs of its target customers, continuous delivery jumps in, making it easy for both coders as well as business-suits to iron away the kinks.</p><p>It is all about small frequent changes, testing at every step, and discovering more quickly so that one has a good grip on how well a new product or feature will work.</p><p>Like using the notion of a deployment pipeline — an automated process for managing all changes, from check-in to release. Or wielding an ecosystem approach to support continuous delivery, from infrastructure, data and configuration management to governance.</p><p>Welcome to the world of Continuous Integration, Continuous Delivery and Continuous Deployment.</p><p>For any quality software development, we need both Continuous Integration and Continuous Delivery. These two approaches are used together (CI/CD) to enable faster delivery of software, bug fixing and the addition of new features.</p><p>In Continuous Integration, codes are regularly tested to catch any issue that can be fixed immediately by the development team. In this practice, the development work is merged with the mainline to test the changes and check whether those changes are working or not. Mostly, the work is done by automated tests technique in CI that requires a build server created specifically to perform the required tests wherein simultaneously, the developers merge requests for changes during the tests.</p><p>Once the code is ready to be published, the developer delivers the readycode to the environment which falls under the process of Continuous Delivery. The delivery of code to the user base is constant, whether the delivery is made to the QA or the customers for feedback, review or inspection. In this process, business logic tests can be fed which usually do not take place in CI. This process is an easy task for the developers as various issues are detected before the task has been fed to the next step.</p><p><strong><em>How Does Automated Testing Fit Into DevOps?</em></strong></p><p>For any business to be successful, it is imperative to focus on the quality and speed of the product or service. With an integrated set of principles and practices,an organisation can deploy software faster and better. This can be made possible by creating an efficient environment of accepted DevOps practices that use a shared set of tools to ensure software delivery success without having to compromise on quality. Needless to say that testing is a critical part of software success and so, successful teams are integrating DevOps practices and fully automated tests into their software development cycle. Many companies are now considering Agile software development to accelerate the faster release of the software.But for that, the testers should test the API services for business logic and processes to maximise the benefit of automation.</p><p>There is an increased need to develop and deploy cloud-based applications across different platforms more quickly,and so it compels the development and operations team to collaborate and provide quality results. Automated provisioning of the integration builds; test automation and deployment of the builds with the help of DevOps solutions greatly benefit the organisation by continuously providing a high functioning environment for efficient performance and correctness.</p><p>For example: Shipping the code on a regular basis has a great risk of being broken and as the codes are complex, even a small error can bring about repercussions. Not only there is a risk of breaking, frequent changes introduced by a group or a person involved also involves a higher risk of introducing errors. Automation of CI here plays a significant role by eliminating or reducing the introduction of errors caused by people. When the testing and deploying is taking place multiple times a day, with the help of automation, ultimately, cleaner codes are delivered quickly to the customers.</p><p><strong><em>Understanding the CI-CD Pipeline</em></strong></p><p>The constant demand for faster delivery cycles is insisting more streamlined process,i.e. CI-CD pipeline to ensure that the team releases the regular flow of software updates into the production to fasten the release, lower the costs and reduce/eliminate the risks involved with the development. By streamlining the process, not only is the organisation able to deliver the process on time but is able to receive user demand, gauge market shifts and rectify any kind of errors.</p><p>The fully automated CI-CD pipeline is the most ideal proposition for any software developing organisation.</p><p>The following are the stages of a Continuous Integration-Continuous Delivery Pipeline:</p><p><strong>Commit</strong>: The development team takes a request and designs a solution around it, converts it into a code and after testing it, commits the code to the main repository. The developers commit the code after making the changes and update the change, sometimes, several times in a day.</p><p><strong>Build</strong>: The new piece of software of the change is built from the extracted code and is unit tested. With the help of Continuous Integration, each step is automated after the codeis written.</p><p><strong>Testing</strong>: To be able to meet the requirements, the software is tested thoroughly using various methodologies to make sure that the application is successful and without any errors. In this stage, the testing environment should mirror the production environment to test the software in the same environment that the end users are accessing it in.</p><p><strong>Automated Deployment</strong>: The last stage is the automated continuous deployment of the application after any configuration changes are being made by the development and accepted by the QA team.</p><p><strong><em>Benefits of an Automated Continuous Deployment Process</em></strong></p><p>With the help of automated CD process, the time and cost of tests, QA and production processes are minimised and the time taken to deliver the production-ready code is reduced.</p><p>Following are the benefits of an automated CD process:</p><p><strong>Low Costs</strong>: Various fixed costs are eliminated that are linked to building and testing changes.</p><p><strong>Faster Release Cycles</strong>: Automation logically fastens the process of build and deploy wherein the team quickly works on the changes, releasing the product in user’s hands faster.</p><p><strong>High Quality</strong>: With CI, the developers can find bugs and fix them faster. When the automated regression and parallel tests are run, the application is ensured to be bug-free and compatible to work in a wide range of environments. Also, continuous updates to the software will ensure customer satisfaction.</p><p><strong>Risk Reduction</strong>: Since the new features are added regularly and bugs are being fixed continuously, the risk of finding bugs in the production is visibly reduced and those that are found are resolved faster.</p><p><strong>Better ROI</strong>: With continuous features and bug fixes, the business will get a market advantage by meeting the rapid changes in the trends and delivering software that meets the current demands.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f6914e351cd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/how-to-setup-a-ci-cd-pipeline-to-run-automated-tests-efficiently-across-teams-3f6914e351cd">How to Setup a CI/CD Pipeline to Run Automated Tests Efficiently across Teams</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Continuous Integration & Deployment (CI-CD): The Future Paradigm has arrived]]></title>
            <link>https://medium.com/cloudscaleqa/continuous-integration-deployment-ci-cd-the-future-paradigm-has-arrived-8776ba34439e?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/8776ba34439e</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[continuous-testing]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Fri, 23 Mar 2018 04:51:49 GMT</pubDate>
            <atom:updated>2018-03-23T04:53:15.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*baRAyv8pjYUQylurd58kmQ.png" /></figure><p>In an era where software and apps have disrupted erstwhile industries and markets beyond recognition, while opening a swathe of new opportunities and challenges, it is imperative to embrace the tenets of Continuous Integration and Deployment.</p><p>Continuous Integration is what compels the organization to focus integrating the work from each developer into the main repository multiple numbers of times in a day to gauge any integration bugs and speed up collaborative development.</p><p>Continuous Delivery reduces friction in the release process and automates the steps that are required to deploy a build to release a code safely at any point in time. Continuous Deployment, on the other hand, is used to automate the delivery whenever a code is changed.</p><p>Simply put, Continuous Integration is a development practice in which the shared repository receives integrated codes by the developers several times in a day. Each of the integration is verified by automated build as well as by the automated tests. This helps the developers or the clients to assess any error at an initial stage and locate it quite easily. No wonder, in recent years, CI has become one of the best practices for software development as it enables the on-point deployment of the application while allowing the main codebase to automatically enter the production whenever there are any changes.</p><p><strong>Encourage small changes</strong></p><p>With the CI practice, developers can integrate their changed codes often into the shared repository as and when required instead of building out the features and integrating them at the end of a development cycle. This helps in minimising the cost used in integration by quickly enhancing the process, devoid of delays. Developers can assess the conflicts at an early stage which are easy to rectify, thus, saving time and money.</p><p><strong>Trunk Based Development</strong></p><p>Trunk-Based Development (TBD) is where all the developers commit to one shared branch or commonly called trunk under source-control. Under this, the developers are on different workstations working on varied multi-branch development, but when the bug is fixed, it needs to go back to the main trunk. The trunk is in use for many years, and CI has been accepted by the developers as a process that ensures quality maintenance — and that everything is going back to the trunk several times a day. The CI works similarly to the trunk-based development forming a safety net around a bunch of techniques and is greatly valued by the developers.</p><p><strong>Keeping the Building &amp; Testing Phases Fast</strong></p><p>The cornerstone of CI is to ensure faster feedback. An even more daunting task is to get to a faster build and keep up with the project. Under this, setting up of the deployment pipeline, also known as build pipeline or staged build, is done where the commit to the mainline triggers the first build or they commit build in such a way that there is a balance of fixing the bug and maintaining the speed for developers to work on the commit build. Once you have the commit build, faster running tests can be added along with additional machines that can run further testing routines on the build that usually take longer to do so.</p><p><strong>Maintaining Consistency</strong></p><p>On a factual note, often, integrating code does not guarantee high quality or new code functionality. If compared with the manual process, integration is costly as in the case of the former; emphasis is made on standardised codes, with no introduction of bugs and continuous existing functionality. Also, friction may be created if the level of automation fails to match the assurance quality maintained by the organisation. To address the problem of friction, CI along with robust test suites and automated system, run the desired tests and if a bug is detected during the build or test phase, the team moves ahead in fixing it. CI ensures that the process of integration is kept simple as well as repetitive to ensure that the integration cost is reduced, there is no hurdle in the development workflow and the defects are responded to at the earliest.</p><p><strong>Decouple Deployment &amp; Release</strong></p><p>One of the most important factors required for successful CI is the availability of multiple environments to run commit tests and secondary tests. Since executables are being moved in these environments several times a day, automation is needed wherein effective scripts will help you to deploy the application into any environment. Because of automated deployment, the process speeds up and errors are drastically reduced. Also, it is a cheaper option as it uses the capabilities that were used to deploy into the test environments. Also, being able to revert to a glitch automatically reduces a lot of friction of deployment that enables new features to be introduced to users at a faster pace. Automated deployment along with able CI discipline essentially makes better use of testing of new features and user interfaces before deployment of the final choice.</p><p>Many of the clients may negate the working of CI highlighting the price tag that is not easy on the pockets, but one of the most distinguished benefits of CI is the reduced risk. During the integration process, it is tricky to predict the time duration and the length of the process with a complete blank picture in your head. CI helps to address this problem as there is no lengthy integration and you exactly know what is working, what is not working, where exactly you are and if any bug is found in the system. Even though CI does not eliminate the bug, it helps you to find it at the right place and remove it, acting as a self-testing code. Also, with Continuous Integration, you can introduce new features to the users who can give feedback, and you break down the barrier between the users and the development.</p><p>The mainstream technique for software development, CI is all over the world effectively helping create successful software since last few years.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8776ba34439e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/continuous-integration-deployment-ci-cd-the-future-paradigm-has-arrived-8776ba34439e">Continuous Integration &amp; Deployment (CI-CD): The Future Paradigm has arrived</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Marrying Automation with Acceptance — A Compelling Pair]]></title>
            <link>https://medium.com/cloudscaleqa/marrying-automation-with-acceptance-a-compelling-pair-33b426d02245?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/33b426d02245</guid>
            <category><![CDATA[acceptance-testing]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[user-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Thu, 22 Mar 2018 05:35:21 GMT</pubDate>
            <atom:updated>2018-03-22T05:35:21.086Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*e000lpjhe8--neKFfBBswQ.jpeg" /></figure><p>If there is one yardstick that makes or breaks any business in the new, digitally-reincarnated and mercurial world of today, it is — speed.</p><p>Even the best of products and services can crumble under the pressure of that unrelenting tick-tock that the market is pulsating with. It is not going to suffice to offer the best to the customer, it has to be done — now, in real-time, before everything goes stale.</p><p>That explains the attention and significance that Agile and DevOps teams have acquired in the recent past. These tenets have pervaded almost-all realms of software and business services. The demands of velocity and rigour, hence, also apply to the area of acceptance testing- whereupon one checks the offering from a user’s context and from the dimensions that define acceptance.</p><p>In order to attain goals that actually make acceptance-testing live to the swift clocks of today, one can always tap the catalyst of automation.</p><p><strong>It Delivers</strong></p><p>With well-directed and well-injected automation in this area, a service or software can be endowed with:</p><ul><li>Effective release outcomes</li><li>Production-like environment</li><li>Inimitable competitiveness in the marketplace</li><li>Quality-related relief for software requirements</li><li>Super-fast cycles</li><li>Palpable reduction in GTM (Go-to-Market) windows</li><li>Continuous delivery advantages</li><li>Cognizance of feedback loops</li><li>Success with comprehensive requirement-validation</li><li>Substantial testing-related time-savings</li><li>Simultaneous development, integration, testing and deployment of code</li></ul><p><strong>Doing it Right</strong></p><p>To make sure that automation is wielded the right way in the case of acceptance testing, an organisation would have to comprehend and strategically handle these tests within the CICD process. If a team is able to handle development and maintenance of test suites with reasonable effectiveness and efficiency; the outcomes intended for this process would come by easily and would stay.</p><p>Strong understanding of Governance, Principles and Practices would usher in the precision and speed that one is aiming for. This would entail room for aspects like positive and negative testing, sharp scenario-planning, production-relevant features, run-time acceleration; readiness for test-breakdowns; as well as a timely confrontation of dependencies and complexity that can pop without warning.</p><p>Ascertaining relevance, complexity-levels, regression-scope and degree of risk would make these tests more actionable and profitable. Alignment of test goals with constraints also helps immensely in making this stage productive and wrinkle-free.</p><p>With sufficient clarity, planning, documentation, tooling and collaboration, acceptance testing can be leveraged in a new way with automation — thus, helping organisations survive and conquer brisk and blunt expectations of today’s business. That too, at a lightning speed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33b426d02245" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/marrying-automation-with-acceptance-a-compelling-pair-33b426d02245">Marrying Automation with Acceptance — A Compelling Pair</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating Rest API- How to Do it Right?]]></title>
            <link>https://medium.com/cloudscaleqa/automating-rest-api-how-to-do-it-right-7d69fe0de1d1?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d69fe0de1d1</guid>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[api-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Wed, 21 Mar 2018 05:56:49 GMT</pubDate>
            <atom:updated>2018-03-21T05:56:49.210Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*iJQWqOg2jHam2vbac53P6A.jpeg" /></figure><p>API Testing includes testing direct APIs and as part of end-to-end transactions that are integrated during testing. These transactions include multiple endpoints type that are web services, databases, ERPs, web UIs, ESBs, mainframes and RESTful APIs. This testing is used to determine multiple results such as response to a range of feasible requests, reaction to edge cases that could be failures and unexpected inputs, delivery of responses on time and respond to security attacks.</p><p>API Testing is considered more suitable than GUI testing for test automation and continuous testing because APIs are known to have a more stable interface to the system under test and tests at the API later have short release cycles with fast feedback loops and are easier to maintain.</p><p>REST or the Representational State Transfer is an approach used in web applications to define the roles of various components. It uses the standard database- Create, Read, Update, Delete and convert into HTTP verbs including Post, Get, Put, Delete. By following the convention and passing the right parameters, you successfully translate business logic into HTTP.</p><p>Furthermore, a REST API is based on representational state transfer technology and uses an architectural approach and style of communication in web services development. As REST API uses HTTP, any programming language can use and test it easily. By using some conventions, REST API, along with simple data transfer mechanism and authentication mechanism can help build a set of APIS to create, read, update and delete records in your system through a set of HTTP calls.</p><p>As compared to the Simple Object Access Protocol (SOAP), REST technology is preferred worldwide due to its use of less bandwidth making it suitable for internet usage. The API helps form an articulate way for the developer to write the program requesting services from an operating system or other application. REST is being used to build APIs in powerful websites around the globe such as Google, Amazon, Twitter and LinkedIn, as it allows the users to interact and connect with the cloud services.</p><p><strong><em>Why REST API?</em></strong></p><p>As against SOAP that has to follow a number of rules, with REST, the development team can scale the product by reaching out to the other servers or make various changes in the database, given that the data from each request is being sent correctly. There is a separation between the client and the server which makes it possible to gauge the front as well as the back of different servers making the apps more flexible to work with.</p><p>Under the REST protocol, the user interface is totally separated from the server and the data storage. In this, the portability of the interface to other platforms is improved while increasing the scalability of the projects. This division helps the different components of the development to be evolved on an independent basis.</p><p>Since adaptability of REST APIs to different types of platforms is considerable, new environments can be changed or tested within the development. With the help of servers such as PHP, Python, Node.js or Java, REST APIs can be easily used. What is to be considered however is that the responses to the requests should take place in the same language that is being used for the information exchange in which case, it is usually XML or JSON.</p><p>You can create an API with REST that can be used by you or the users. Using the right HTTP actions on the resources, the API design and functionality can be clearly indicated to the clients. When the correct HTTP verbs are being used, an API is declared understandable from the perspective of the client.</p><p><strong><em>Setting up REST-API</em></strong></p><p>The REST API has the following features:</p><p>1. The Client has the front end and the server has the backend wherein both can be replaced independently of each other.</p><p>2. Between the requests, no client data is being stored on the server and the session state is stored on the client.</p><p>3. The clients can cache the response to help improve the performance.</p><p>For example:</p><p>To GET or view all the widgets (here, we are taking the example of widgets), the URL will look like:</p><p>GET<a href="http://example.com/widgets"> http://example.com/widgets</a></p><p>By posting the data, we are then creating a new widget:</p><p>POST<a href="http://example.com/widgets"> http://example.com/widgets</a></p><p>Data:</p><p>Name=Foobar</p><p>Now, to view the single widget, we GET it by mentioning the widget’s ID:</p><p>GET<a href="http://example.com/widgets/1234"> http://example.com/widgets/1234</a></p><p>To update the widget, we PUT the new data:</p><p>PUT<a href="http://example.com/widgets1234"> http://example.com/widgets1234</a></p><p>Data:</p><p>Name = New name</p><p>Color= Blue</p><p>To Delete the widget, the URL will be:</p><p>DELETE<a href="http://example.com/widgets/1234"> http://example.com/widgets/1234</a></p><p>The most important aspect while writing HTTP status codes is to know the correct status codes against the request being made. Whenever you make the HTTP request, the server will respond likewise, and you will get to know if the code was successful or not and how to move further.</p><p><strong><em>Best Practices</em></strong><em>:</em></p><p>Always consider using the key principles of REST that involve separation of APIs into logical resources. Use Nouns instead of Verbs and keep the URL format consistent and use a plural such as tickets, users, groups etc.</p><p>Since not all internet points are secure, use SSL as the web APIs can be accessed from anywhere in the world and are open to being hijacked. SSL guarantees encrypted communication which in turn simplifies the authentication efforts.</p><p>All the APIs should have proper documentation which are easy to find and are open to public viewing. You may add URLs that can be opened into a browser or a terminal. Also, any update should be communicated via either a blog or a mailing list or both.</p><p>Use lean URLs instead of complex ones.</p><p>Use Put, POST and DELETE methods instead of the GET method to alter the state. Do not use GET for state changes.</p><p>For better navigation through the API, use Hypermedia As The Engine Of Application State (HATEOAS) that hypertext links.</p><p>Let the API consumer be given the ability to choose returned fields as this will reduce the network traffic and the usage of the API will speed up.</p><p>Always give aversion to your API and do not release that API which is unversioned. Use simple ordinal number and avoid dot notation such as 2.5.</p><p>Though some HTTP clients only work with GET and POST requests, increase accessibility by overriding the HTTP method, i.e. accept a request header with a string value containing one of PUT, PATCH or DELETE.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d69fe0de1d1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/automating-rest-api-how-to-do-it-right-7d69fe0de1d1">Automating Rest API- How to Do it Right?</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using real devices for Continuous Testing for Mobile Apps]]></title>
            <link>https://medium.com/cloudscaleqa/using-real-devices-for-continuous-testing-for-mobile-apps-69cd2266521d?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/69cd2266521d</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[mobile-app-testing]]></category>
            <category><![CDATA[continuous-testing]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Wed, 21 Mar 2018 05:23:07 GMT</pubDate>
            <atom:updated>2018-03-21T05:23:07.867Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*tcH3KJ1PEBqDAtaM8xZmlA.jpeg" /></figure><p>Every silver lining has a cloud. Yes, as cynical and downbeat as it sounds, this happens to be that pinch of salt that every ambitious app needs to swallow well. Not even the likes of Niantic spared this harsh truth. While we thought they must be hardly getting anytime to wriggle away from celebrating the explosive popularity and feverish adoption of Pokémon GO, there was also a lot of hand-wringing going on over insufficient preparedness to handle the gaps of back-end testing. It turned out to be a fantastic app, but as it burst many charts and scale-limits alike, its makers confronted its real performance limits too.</p><p>Load, performance, soak, spike, shrink — these are words that are keeping people awake — whether it is a gaming major working to keep pace with a breakneck-speed love its fans shower on a new app or update; or an immigration/Government website trying to make sense of mercurial demand-blips and flips.</p><p>There is simply no room, then, for an app to suffer network request failures, or a server error or an operating system-mismatch or feature-update snag or any other goof-up. Especially no wiggle-room whatsoever when the organisation and teams are too complacent to test them in the real context.Be it this device or that, this form-factor or that, this screen-size or that, this native language or that, be it iOS or Android or Windows or Blackberry — it is the software’s team onus to shake the app well for consistency, performance and scale.</p><p>Yes — enter the world of Mobile Device Testing.</p><p><strong>Top challenges faced by Mobile App Dev and Test Teams</strong></p><p>Just like no self-respecting automotive major would let a new car slide out without brutally testing it on a test-road that simulates all aspects of traction, turns, temperature, winds, heat issues, manoeuvrability, water-pressure etc. The same way developers and test-teams cannot rest (and should not open their beer cans) until an app is thoroughly tested on real devices.</p><p>The terrain is full of challenges — such as heterogeneity and consequent-incompatibility of devices and OS;network variations;battery problems; connectivity issues;differences in environments, features, user preferences, usage nuances, screen characteristics; and back-end muscle. This further accentuates the need and objective of deploying real devices,irrespective of the strength and frequency of emulators and simulators put to use in mobile app development. The intervention of real devices brings an app closer to actual, and bare, introspection; and more adjacent to a deep-dissection of anything-under-the-sun-causes that can ruin an app.</p><p><strong>Challenges related to hardware issues</strong></p><p>Solutions that promise a comprehensive toolkit and provide reusable test-case repositories while empowering the app’s test on every ripple of hardware possible.This is where performance, as well as stress and security testing, should be taken into account, lest the app forgets to check its sturdiness in the face of the most unpredictable factors. It is often hard as well as expensive to equip it for unknown vulnerabilities, third-party integration pitfalls, chip-part-reasons, memory support, interoperability-bottlenecks, fault-tolerance, battery consumption, power usage, network-strength volatility and other hard-side aspects. It is only through a well-designed test on real devices that one can ascertain both software and hardware readiness of any app.</p><p><strong>Challenges related to software issues</strong></p><p>With a spree of endless platforms, OEM customisations, OS categories, designs, UI genres; the task of adequate app testing gets twisted and tangled in new software-side challenges. Impact on users and anticipation for user needs, responsiveness-strengths, interfaces and workflows is something that cannot be comfortably sidelined while releasing an app. The new app has to be checked on all angles and varieties of user-frustration. Un-installations have to be successfully and timely averted. Developer updates and regular checks are vital here. So is the need for running tests for various browsers, UI versions, features, APIs and OS-types.</p><p><strong>Decoding Mobile Continuous Testing Process</strong></p><p>It is no surprise that a study by Dimensional Research spotted 53 percent of users experiencing ‘severe’ app issues (these mean apps that crashed or didn’t perform as expected). When 61 percent expect apps to start within four seconds, can we rely on isolated and fragmented testing approaches anymore?</p><p>If we peek into a Q2 2017 ‘State of Mobile Device Performance and Health’ report, we would easily see how the Android device failure rate hit 25 percent worldwide. The numbers for iOS device-failure-rate were about 12 percent. That’s not the whole story — the crashing app rate was some 54 percent on iOS devices; while for the Android breed it was somewhere about ten percent.</p><p>This ‘failure’ — as study-organisation Blancco defines it — entails a slew of first-party and third-party issues, Wi-Fi connectivity problems, headset malfunctions, phone reboots, and anything that can set the app conking off.</p><p>This ‘failure’, however miniscule or temporary it may be, can immediately convert into frustration, alienation, abandon and competitor-switch for users who are already impatient and fickle in this device-inundated world.</p><p>This endows new rigour and planning-regimen for mobile testing, and bringing in ‘Continuous’ underpinnings here is what app-makers need in ensuring that their testing stands the test of real-time.</p><p>Continuous testing is a strong answer to help navigate the testing challenges that new devices, new Operating Systems and new capabilities are throwing up — and these are often so odd and case-to-case that conventional testing may not hold much water here. Companies need to look beyond expensive, clunky, unpredictable, lengthy, ineffective and inefficient release processes that were oriented to support one update every couple of months.</p><p>It is the age of continuous delivery and, hence, of continuous testing. As the Dimensional Research study reminded well, even ‘mobile first’ thrust is not going to suffice unless organizations adopt a ‘performance first’ mindset that entails, among other things, monitoring application performance continuously.</p><p><strong>The Future</strong></p><p>What’s harder than wooing a new user? Retaining a user that has just experienced a bug or some load-gripe on your app. No doubt then that thorough and meticulous testing assumes new proportions and significance in a world where users are not just fastidious but also unforgiving.</p><p>This is not just a hygiene issue; it is also a financial one. When reports from firms like Gartner are cautioning how just 0.01 percent of mobile applications will be considered financially successful by 2018 — it is time to pause and take stock of one’s testing mettle candidly enough.</p><p>Apps need the ruthless testing that leading car-makers invest in every new and promising beauty or beast that they bring out. They still know that no matter how well they intend to and try, the real road is going to be always unpredictable.</p><p>It’s not enough to install air-bags. It is precious to know where to place them and why.</p><p>Because no one likes to be a deer caught in the headlights. Or facing one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69cd2266521d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/using-real-devices-for-continuous-testing-for-mobile-apps-69cd2266521d">Using real devices for Continuous Testing for Mobile Apps</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Continuous Performance Testing: Myths and Realities]]></title>
            <link>https://medium.com/cloudscaleqa/continuous-performance-testing-myths-and-realities-4294893abd45?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/4294893abd45</guid>
            <category><![CDATA[performance-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[myths]]></category>
            <category><![CDATA[reality]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Tue, 20 Mar 2018 14:08:52 GMT</pubDate>
            <atom:updated>2018-03-20T14:08:52.151Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*v_72Mh5ZIga5Bo2cNq60OQ.jpeg" /></figure><p>As surprising as it was to observe, it was a reality that was going only to get starker every next year. In 2014 Black Friday drew a new line between desktops and mobiles. A line that sent lots of developers, testers and above all, businesses on their toes and thinking hard. When the aggregate performance that year was compared to that of 2013 (as per web performance monitoring company Catchpoint Systems), why were desktop web pages 19.85 percent slower? Why were mobile web pages 57.21 percent slower?</p><p>A similar concern was felt in the technology world (where developers and application-makers reside) when the well-known British clothing site ASOS came crumbling down (and stayed that way for over a day) after the peak-demand following a Brexit referendum-nod. The list of examples can just go on –Niantic suffered from heavy loads of Pokemon; Macy, Old Navy, GAME, Quidco websites went through under the back-breaking pressure of heavy-shopping — All this is just a glimpse of how much damage unanticipated volatility in scale can stir up.</p><p>Yes, we are talking about actual demand spikes, feature-rich UI load, processing limits, or the sheer scale and enormity of thumbs at work.It is not just useful but also necessary to test a system for all possibilities, what-ifs, emergencies, peak loads and scale-issues — much before the alarm bells go off.</p><p>The question is whether software makers and businesses ever ensure that their app or service is completely ready for the day of final reckoning — no matter what ceilings the demand graphs break or how impatient or hard-to-predict customers get?</p><p>The answer lies somewhere in the concept and mindset of Continuous Performance Testing.</p><p><strong>Continuous: the operative word</strong></p><p>Two words — ‘continuous’ and ‘performance’ define its unique character and thrust. It has to be done at every possible opportunity. And not just for bugs or functional issues but under actual performance pressure.</p><p>This is a genre of testing that enables developers to routinely and continuously create new features and changes as they strive to make a rigorous application. It is only through this mode of testing that they can be sure of the impact, precision and muscle of whatever they are making.</p><p>Problems related to performance are watched for during the development process itself and not sidelined to production. This also helps to navigate the ever-growing complexity of applications owing to an endless growth of devices, form factors, OS, features, interconnects, capabilities and user needs.</p><p>With this testing, application builds can be tested for performance and stress way before they are released to production; hence saving testers/coders the headache of last hour troubleshooting and sparing businesses the nightmarish sight of letting customers switch to a rival’s faster/more capable app during a holiday blitzkrieg.</p><p>It is all about high-quality and dependable code that is tested early, often, automatically and continuously. But are there any ill-conceived, misplaced assumptions lurking around this model?</p><p><strong>Top 5 Myths &amp; Realities</strong></p><p><strong>1. It is expensive</strong></p><p>It is not impossible to find investments being channelised into unit tests, regression testing, and integration testing over, and sometimes at the cost of, performance testing. It may seem like a massive and resource-intensive exercise but once the teams have the test-it-quick mindset well entrenched in the overall approach; it is not an expensive testing mode. Also, when the continuous testing strategy is handled with apt vision, stronghold, tools and scale, it pays tremendously well in an eventual output.</p><p><strong>2. There are no bugs in a tested product</strong></p><p>Various things like final-day transaction volume, speed, response latency, unexpected scenarios, mission-critical oversights, different peak orders, load constraints and out-of-the-blue server crash — these can never be picked accurately unless continuous performance testing is the approach being adopted.</p><p><strong>3. Testers do not write codes</strong></p><p>With lines between coding and testing getting blurred all the time, it is vital to take note of the consequences of automation, agile and DevOps; and test teams’ comfort with developer assets, automated scripts and test-frameworks plays a considerable role. Continuous Performance testing allows testers with a unique skill and advantage here.</p><p><strong>4. Complete testing is possible</strong></p><p>In testing, no matter how well or how frequent, there is never a flawless report possible. Areas of grey shade always remain and have to be reckoned. This method of testing helps everyone to get equipped for unexpected spikes or dips in demand, user experience, capacity, throughput, response time etc.</p><p><strong>5. Automation reduces testing time</strong></p><p>The scope of automation is best limited to areas like build-management, data-transfer, data flows, deployment etc. Many aspects like codebase, design, UI nuances and architecture always call for manual checks and reviews. Any crucial part that is not weaved in for an automation nose can easily slip by and cause havoc on the big day of the performance.</p><p>Continuous Testing is an effort, for sure. It will need resources, time and strategic exertion. But the results that it generates are so attractive and deep-cutting that many organisations are not hesitating about the idea at all. The outcomes are massive: Confidence in your product; the elasticity to handle more –whatever/whenever; and the sheer robustness of what you are offering against your competition.</p><p>It is just like a good habit. The sooner it sets in, the more natural and advantageous it becomes.</p><p><strong>Future of Software Testing</strong></p><p>As we enter into a world where software becomes every business’s asset or pitfall — the need to be continuously on with new apps and features is just not going to dilute anytime. Every business and hence, its software team will have to be constantly kicking, alive and running around.</p><p>Meeting user demands, the first time and every time would become more of a staple rather than a privilege.</p><p>Things would get more complex and ruthless with growing impact of service-oriented architectures, micro-service architectures, containers, NoOps, NoCode variety of trends accompanied with a flurry of new operating systems, mobile environments, mobile devices, and sensor-layered IoT points.</p><p>Testing is going to turn into even more work and by embracing it as a continuous and performance-ready element, businesses can, and will, preempt problems that would otherwise pop in the real field. Else a crash is inevitable, and if that happens on a significant Friday, it sounds loud, really loud.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4294893abd45" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/continuous-performance-testing-myths-and-realities-4294893abd45">Continuous Performance Testing: Myths and Realities</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Services Virtualization can help Optimize Test Automation by 2X]]></title>
            <link>https://medium.com/cloudscaleqa/how-services-virtualization-can-help-optimize-test-automation-by-2x-a4cd98768dd5?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4cd98768dd5</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[virtualization]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Fri, 16 Feb 2018 07:19:12 GMT</pubDate>
            <atom:updated>2018-02-16T07:19:12.047Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*unaztnS5Q_-A7kBDa-CpKw.jpeg" /></figure><p>From wheels to telescopes to microscopes, what man has got a good hold on is not just a form of technology but a supporting limb that amplifies ideas and work explosively. It does not matter whether it helps to see something faster, closer or in more detail- as long as it helps — humans always find themselves nimble-footed and with hotter biceps when the right button is handy.</p><p>Now peek into the Gartner Research ‘Recommendations for API Testing, Service Virtualization, and Continuous Testing in Agile Environments’. In exercising meaningful tests, a huge spoiler is lack of access to a complete test environment. When one is struggling around umpteen dependent systems that the Application Under Test (AUT) interacts with, muddled further with the knobbly nature of today’s applications, getting to and using a complete test environment, often, becomes a pipe-dream.</p><p>It is here that we find Service Virtualization coming in as just the very button that empowers a testing hand. With strong and strategic emulation of the behaviour of specific components, it helps in ironing out the issue of environment-poverty.</p><p>It jumpstarts regular execution of initial automated-test-suite and adds a supersonic force to CI (Continuous Integration) by shaving off dependencies. The goal of a good Service Virtualisation approach is making dependent systems available with the appropriate configuration and at the same time sliding in the requisite functionality and test data without any time barriers or latencies.</p><p>If we rewind to Forrester analyst’s<a href="https://www.forrester.com/Diego-Lo-Giudice"> Diego Lo Guidice keynote</a> at a Continuous Delivery (CD) Conference, we gather that success of CD and Agile manual testing has to be shrunk from 60–80 percent of the testing effort down to 5–20 percent. Environment complexity makes Continuous Testing more tangled and weighed down by dependencies. Simulation of resources and environment-elements such as a mainframe, a testing tool or a third-party service allows actual, uninterrupted, fluid continuity, integration and consistency in testing.</p><p>Let us take a good look under the hood now.</p><p><strong>Common Challenges Faced</strong></p><p><strong><em>Scaling in number of connected sensors</em></strong></p><p>A good Service Virtualisation solution can achieve real-time scalability without ruining the connectedness of sensors that line the space up. The developers and testing teams and phases do not get drifted off or disoriented in fragmentation or scale barriers. It is important that Service Virtualization nails these gaps with a good eye on the big picture and continuity-stream.</p><p><strong><em>Difficulty in testing multiple configurations</em></strong></p><p>Real and fail-proof testing reckons every possible scenario and covers all devices, platforms and configurations that can play a major or minor role in making an application work on the roads. This heterogeneity is addressed strongly and durably by deploying a well-wedged Service Virtualisation solution. Testing becomes a fast-track circuit that it is, ideally, supposed to be.</p><p><strong><em>Troubles in delivering the right performance in a live environment</em></strong></p><p>A live environment is full of expected, unexpected, tangible, intangible elements and forces. More so when testing is being relied upon to pass the verdict on an application where stakes can change anytime and at any degree of domino-effect. This makes Service Virtualization compelling enough to ensure that performance is not just tested against paper-boxes but in the face of real, live, make-it-or-break-it environments. Service Virtualisation, leveraged well, can take those wrinkles and scepticism off.</p><p><strong>Benefits</strong></p><p>This is not just an answer that tackles availability of resources but also their costs, intersections, redundancies and environment-equations.</p><p>It also adds to the overall pizza of virtualisation injected in adjacent slices such as hardware (VPS) or operating system (VMware and similar solutions) or other assets turned virtual.</p><p>It also touches upon areas such as database parts, message protocols, mainframe interaction etc.</p><p>With this approach, one can drill out:</p><ul><li>Wiping out delays that arise from availability.</li><li>Test cycle smooth-runs.</li><li>Positive and comprehensive test coverage.</li><li>Continuous-maintenance and access to test environments.</li><li>Readiness for live environments.</li><li>Support for ‘shift left’ testing.</li><li>Exposure of defects at the right and early stage.</li><li>Simplified test environment access.</li><li>Removal or trimming of Set-up barriers.</li><li>Resource-sharing across development teams.</li><li>Reduced Operational Expenditures.</li><li>Savings in configuration time.</li><li>Speed-gains in test cycles.</li><li>Wipe-offs of interface dependencies</li><li>Reliable test-environments</li></ul><p><strong>Conclusion</strong></p><p>Why scratch your heads and wallets with worries of consistent and robust availability of resources, environments, data, performance across test cycles, teams and runs? Why not slap on some simulation. It is amplification and confidence that works just as tremendously and durably as a wheel or a wing or a new button.</p><p>It pushes us closer to production-like environments without spilling over the needed resource, time and scale that those would demand. Consistency, cost, security, and privacy is what simulation technologies whip up while navigating the usual, on-ground constraints around dependent systems.</p><p>This is what brings testers, developers and organisations to the ultimate aim of thorough, deep, effective, flexible, swift, smooth, user-oriented, agile, and end-to-end tests.</p><p>It is about amplifying and accelerating — in one go. It is about adding elasticity. And eventually, adding confidence.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4cd98768dd5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/how-services-virtualization-can-help-optimize-test-automation-by-2x-a4cd98768dd5">How Services Virtualization can help Optimize Test Automation by 2X</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobile Application Testing using Managed Crowd-sourcing]]></title>
            <link>https://medium.com/cloudscaleqa/mobile-application-testing-using-managed-crowd-sourcing-9789e188bc3f?source=rss-8a1f1992a872------2</link>
            <guid isPermaLink="false">https://medium.com/p/9789e188bc3f</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[mobile-apps]]></category>
            <category><![CDATA[mobile-app-testing]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[mobile-application]]></category>
            <dc:creator><![CDATA[CloudScaleQA]]></dc:creator>
            <pubDate>Wed, 07 Feb 2018 12:59:36 GMT</pubDate>
            <atom:updated>2018-02-07T12:59:36.322Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zebupnjCNfgUB6zTm_8BVw.jpeg" /></figure><p><em>If you want to go fast, go alone.<br>If you want to go far, go together.</em></p><p><em>In a space with mind-boggling delivery-speeds and changes that can be as </em>unexpected<em> as earthquakes, testing assumes a new challenge every day.</em></p><p>S<em>o many platforms, so many OS creeds, all these devices pouring out of labs and factories- </em>c<em>ould our challenges have gotten any more slippery and tricky?</em> <em>Releasing a perfect app or product happens to be an exercise tied in a ponytail of these trends and potholes. It is a challenge the scale and complexity of which is simply hard to handle for any organi</em>s<em>ation or team on its own.</em> But e<em>veryone can use some help in slicing away these problems.</em></p><p>The 2014–2015 World Quality Report pegged how by 2017 some 29% of IT budgets would get going to quality-assurance and testing. Yet, just around the corner of 2015 alone, the spends on testing jumped to 35% of IT budgets.</p><p>The year 2016 threw a new buffet of top-tier testing tools around function, performance, cloud, Continuous Integration, Parallel Testing, readiness for device-versatility and compatibility with OS options as well as major ALM environments (languages).</p><p>This new state of testing world and the way app users are turning fussy every year, have only opened floodgates of new possibilities and work for an interesting part of this world — that was not <em>in</em> there, but always <em>out</em> there. Yes, the power of the <em>Crowd</em>.</p><p>More so in the case of mobile app testing where the complexities of problems are way different than those of desktop or web apps.</p><p><strong>Hey, but Crowd-sourcing?</strong></p><p>Yes, it is happening and possible. Thanks to what technology can allow us to do today, organisations can now spread the burden and pressure of testing apps on-time, thoroughly and through more lenses/perspectives than one — to a crowd, i.e. interested and equipped testers outside the walls of the organisation. This need and trend are gaining a lot of traction for some obvious and latent reasons. Let’s attack them briefly here.</p><p><strong>The Challenges of Mobile-App Testing</strong></p><p>We know the usual issues that Mobile-app testing is usually wrought with, don’t we?</p><ol><li>A big picnic of screen sizes,<strong> </strong>aspect ratios, pixel-densities, screen elements, access factors and other differences that boil down to more work and more confusion for testing.</li><li>An intimidating variety of mobile standards, power-side factors, battery-aspects, connection types, carrier details, service changes, data volumes, bandwidth ranges and availabilities — as distorted as this may appear, no specific need can be sidelined into the real-world environment. It has to be tackled during testing stages with confidence and comprehensiveness.</li><li>Add to these lists the differences erupting from OS versions, fragmentation in Android landscape, APIs, user mobility, language differences, usability nuances, localisation needs, Internationalisation requisites etc. which make it unwieldy for a single team.</li><li>The depth and breadth of an app’s nature<strong> — </strong>native, hybrid or web application as well as the growing traction and ever-climbing expectations of agile development. Do not forget to add the aspect of contextual testing tools here.</li></ol><p>So we can get a drift now of what is making this new room for crowd-testers. There’s more to the plot when we consider why more and more organisations and products are sinking their teeth into this approach. Lean in:</p><p><strong>Cheap vs Expensive</strong></p><p>If testing misses any error or usability-flaw, it will immediately pop on the bottom-line, customer-experience and user-retention figures. That makes missing to opt for crowd-testing akin to a big hole in one’s pocket. After all, the more people help in testing an app, the faster the app rolls out; but more importantly, the chance of having unchecked-flaws is also considerably reduced. The tendency of oversight and slipping on defects decreases, when there are more eyes, and more than one kind of eye, checking and watching what can go wrong. This polishes the stellar impression of your brand for future apps and offerings too.</p><p><strong>Lack of in-house test environment</strong></p><p>No matter how much an organisation prefers to keep things in a walled garden, there are practical knots of network availability, scalability, resource-utilisation, load-readiness, QA burdens etc.</p><p>With Crowd-testing, a team not only stretches the network parts but also creates an environment where needs and nuances of a variety of users can be looped in at the testing stage.</p><p>Actual checks for load bear-ability, dips, performance, spikes, and execution can happen better, faster and cheaper when the massive scale offered by crowds gets tapped easily.</p><p><strong>Lack of sufficient time to test</strong></p><p>The sheer pace at which apps keep evolving, adapting and adding to new devices, user whims, network factors, functions, features and technology-innovations can be quite a nightmare for testers.</p><p>New builds can drive through these extreme-level scenarios (that DevOps, Parallel Testing and Continuous Integration have only made more pressing) better with Crowd-testing even if they are rolling out updates quite frequently.</p><p><strong>Crowd-sourced Testing for Scalable Mobile QA. Pros &amp; Cons.</strong></p><p>It pays to know, no matter how promising and glossy an alternative sounds. So here’s a quick and objective list of both the sides of the coin:</p><p><strong>Pros:</strong></p><ul><li>Speed and versatility that a global pool of professional testers offers.</li><li>Significant savings on time and money.</li><li>Quality of feedback and defect-observation gets sharpened considerably.</li><li>Testing-cycle length gets a refreshed and optimal effect with crowd-sourced options, thus, reflecting on time-to-market cycles</li><li>Access to a wider variety and capabilities of testers.</li><li>​Better test-coverage and ramp-up times (hours instead of weeks).</li><li>Possibility of test-on-demand.</li><li>Insights into real environments, real devices, real networks and real users.</li><li>Closer alignment with Target demographics.</li><li>Scalability and automation impacts.</li><li>Cloud-advantages.</li><li>Additional scope for any performance testing tool and scope for simulation of local network conditions, or traffic load.</li><li>Access to a wide and latest range of skills.</li><li>Faster feedback to developers without denting customer experience.</li><li>Neutral feedback and objectivity that raises the bar of apps.</li><li>Ease and depth of customisation as per target segment.</li></ul><p><strong>Cons:</strong></p><ul><li>Control issues.</li><li>Information confidentiality and integrity.</li><li>Adequate motivation and availability of crowd-testers.</li><li>Getting work done as per time-needs, standards and complexity and risk factors.</li><li>Communication challenges.</li><li>QA rigour.</li></ul><p><strong>Developing a Strategic Approach to Faster QA</strong></p><p>Both the sides, benefits and risks spelt out above, have to be looked into smartly and attentively, so that crowdsourcing turns out just the edge that it appears on paper. For that, one needs an expert with experience and understanding that this space needs. Addressing the areas of information sanctity, resource-readiness, control, organisation, coverage, time and standards — these are just some red-lined qualities that wipe away chaos from crowds and turn them into arms that extend and turbo-charge the impact of your team.</p><p>Do recall how Statista had reckoned that by March 2017, Android users would be choosing from a pack of 2.8 million apps, while Apple users from 2.2 million. Can we notice a small detail that was tucked somewhere? What is worrying here is the mad rush by developers to meet such demand-appetites and let go of proper testing. That’s not just possible but natural.</p><p>Yes, faster time-to-market should never mean loose-ends. Apps are useless if they are full of user gaps and vulnerabilities. It is all about getting the big picture right. It is all about making QA count — with or without crowds.</p><p>Because the only place that is not crowded in this market is — an app-maker that users love and stick by because they know that they can always look forward to work that is –slick and kick-ass! Is that you?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9789e188bc3f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudscaleqa/mobile-application-testing-using-managed-crowd-sourcing-9789e188bc3f">Mobile Application Testing using Managed Crowd-sourcing</a> was originally published in <a href="https://medium.com/cloudscaleqa">CloudScaleQA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>