<?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 Zlata Volkova on Medium]]></title>
        <description><![CDATA[Stories by Zlata Volkova on Medium]]></description>
        <link>https://medium.com/@zlata.volkova?source=rss-b58281c18291------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZPrg90tVP7Bk5s8dOKXQjg.jpeg</url>
            <title>Stories by Zlata Volkova on Medium</title>
            <link>https://medium.com/@zlata.volkova?source=rss-b58281c18291------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:20:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zlata.volkova/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[Testing of Stripe integration (Part 1)]]></title>
            <link>https://medium.com/@zlata.volkova/testing-of-stripe-integration-part-1-9574a19d8f44?source=rss-b58281c18291------2</link>
            <guid isPermaLink="false">https://medium.com/p/9574a19d8f44</guid>
            <category><![CDATA[integration-testing]]></category>
            <category><![CDATA[payments]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[stripe]]></category>
            <dc:creator><![CDATA[Zlata Volkova]]></dc:creator>
            <pubDate>Thu, 09 Feb 2023 09:13:39 GMT</pubDate>
            <atom:updated>2023-02-09T09:13:39.418Z</atom:updated>
            <content:encoded><![CDATA[<p>I will cover the theoretical information in this article. The practice will be covered in the following article.</p><p>Nowadays, supporting online payments has become a mandatory requirement for modern businesses.</p><p>There are many payment systems available to work in the e-commerce industry. For <a href="https://kodibox.io/">Kodibox</a>, where I work as a QA, <a href="https://stripe.com/">Stripe</a> has become a one-size-fits-all solution.</p><p>So what is it, Stripe? — You may ask.</p><p><strong>Stripe </strong>is an international system for secure online plastic card payments, a leader in the number of advantages among all the payment systems. Stripe meets international security standards with PCI DSS Level 1 certification. I will only go through some of the details of how Stripe works. Other information you can read in the <a href="https://stripe.com/docs">official documentation</a>.</p><p>The Irish brothers Patrick and John Collison, the creators of Stripe, based their philosophy on the idea that everyone should have a chance to enter the online market and legally accept payments. We at Kodibox agree with this idea and consider such principles as openness, transparency, honesty, safety, legality, and protection of our users to be very important.</p><h3>Online payment process participants</h3><p>It was a distraught time for me to start testing because this is money, this is reputation, this is serious stuff, and I can’t and don’t want to disappoint my team. I began by studying the theory because I had no experience in testing integration with payment systems. After reading many articles and documentation, I compiled the essentials in this article.</p><p>The first thing I asked myself was who are the participants of this process and how the payment is implemented.</p><p>So</p><p><strong>Customer</strong> is a cardholder or an account who has decided to use the services of the Merchant.</p><p><strong>Merchant</strong> is a person or a company that sells goods or services. In our case, this is Kodibox.</p><p><strong>Merchant account/gateway</strong> — is an intermediary between a client and a merchant which conduct a secure internet payment. In our case, this is Stripe.</p><p><strong>An Acquiring Bank/Processor</strong> is a financial organization where a merchant account is opened to accept and process transactions with plastic cards, i.e., perform transactions with real money.</p><p><strong>Card Networks</strong> — a set of tools and procedures to pay for purchases and non-cash transfers via bank cards and electronic payments. In our case, we are talking about payments through the Internet using bank cards.</p><p><strong>Issuing Bank</strong> — confirms or rejects the transaction depending on the cardholder’s account status and transmits the information to the Acquiring Bank.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*sXpC22sZSd02KKg3IkhiPQ.png" /></figure><p>There are a few more tedious but essential concepts:</p><p><strong>A credit card </strong>is a plastic card used to buy goods or services. The card has a number (16 digits), expiration date, hologram, magnetic stripe, signature field, and card authentication code (CVV).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*rAnhYpOvE-g_aqepcrU_Wg.png" /></figure><p><strong>Transaction</strong> — the process when the seller receives funds from the buyer.</p><p><strong>Authorization</strong> — This is a confirmation that the card belongs to the buyer, the availability of sufficient funds and so on. It is requested at the time of purchase and done by the customer’s issuing bank.</p><p>As they say on the Internet, you will need to expend ten calories to break an ordinary credit card in half, but if you collect all the payment cards in the world, you can lay out the length of the equator 3.5 times.</p><p>Yeah, Right, OK, enough of the dull, unnecessary information. It’s time to talk about the types of testing I use.</p><h3>What types of testing are required to verify integration with the Stripe payment system?</h3><p>Depending on the payment processor and your product/application, we might need the following types of tests to become test it.</p><p><strong>Documentation Testing </strong>— I always start with documentation. I look at the requirements (User story) for completeness, accuracy, definiteness, consistency, necessity, feasibility, and testability. And, of course, I create documentation for new functionality — first of all, these are test cases, then various documents depending on the need.</p><p><strong>Regression </strong>— Next, I run the regression with my tests written in Postman. I talked about it in <a href="https://medium.com/@zlata.volkova/how-does-kodibox-work-with-postman-f7a02ba9e308">this article</a>. Now I have 687 tests for the functionality of the system. The regression allows you to understand whether the integration with Stripe has broken the logic of the entire system. My tests were successful, and then I started testing the feature itself.</p><p><strong>Re-test </strong>— I spent a re-testing if we found bugs during the regression and then fixed them. In other words, we check the rightness of the corrected defects.</p><p><strong>New feature acceptance testing</strong> — we test new functionality. In other words, you need to check that Stripe performs the specified functionality, i.e. processes orders and computations. I advise you to start with positive test cases.</p><p><strong>Integration testing</strong> — since we are integrating with Stripe, of course, without integration testing, nowhere. To check that the integration of Kodibox with Stripe works, you have to check the entire transaction flow:</p><ul><li>The choice of the payment tariff by the client. It displays the subscription in the Stripe account.</li><li>Reviewing billing for usage.</li><li>Checking the receipt of funds to the Merchant’s account.</li><li>Preventing cancellation/failure of transactions.</li><li>Studying behavior in the presence of debt.</li></ul><p><strong>Security testing </strong>— during the transaction, the client provides personal data, card number, and CVV number. It is crucial to make sure that all this is safe and legal. I checked the work with <a href="https://stripe.com/docs/testing?numbers-or-method-or-token=card-numbers#declined-payments">invalid cards</a> and possible <a href="https://stripe.com/docs/testing?numbers-or-method-or-token=card-numbers#fraud-prevention">fraudulent transactions</a>. Test card data is available in the official Stripe documentation.</p><p>Stripe takes care of most security checks, but I advise you to run simple tests to feel more confident.</p><p><strong>Performance testing</strong> is also certainly an essential component of testing. The payment processor should not throw an error when multiple users try to complete transactions simultaneously.</p><p><strong>Load testing </strong>— Stripe does not recommend doing this in test mode, but it is worth reading the<a href="https://stripe.com/docs/rate-limits#load-testing"> information</a> in the official documentation.</p><p><strong>UI-testing</strong> — remember to check how Front-end responds to various actions. Here I check out all the errors, notices, messages, and warnings we want to show our Users.</p><p>Of course, complete testing is <strong>system testing</strong> and <strong>acceptance testing</strong>. It is when the entire system’s operation is rechecked, including the new functionality.</p><h3>Subscription statuses</h3><p>I also want to pay attention to the statuses of subscriptions since the integration logic is dependent on them.</p><p>Kodibox has a Plans&amp;Usage section, where the User can go and choose the tariff plan that suits him. Now we have two of them:</p><ul><li>Intro — free trial period 30 days,</li><li>Unlimited — free trial period of 15 days.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FdkRgy4NVYMN_L8menmIJw.png" /></figure><p>Users choose a subscription plan, which displays in their Stripe account.</p><p>Stripe offers a wide variety of subscription statuses. You can see all of them in the <a href="https://stripe.com/docs/billing/subscriptions/overview#subscription-statuses">official documentation</a>.</p><p>You can use any of the suggested statuses in your system, but <strong>testers need to understand and check the following</strong>:</p><ul><li>What subscription statuses are being used?</li><li>What does each status mean?</li><li>What messages and notifications does the User receive with each status?</li><li>What can User do and can’t do in each status?</li><li>How do I go from one status to another?</li><li>Can I go from one status to another several times?</li><li>How do subscription statuses relate to payment?</li><li>Can I cancel a subscription?</li><li>What happens if there are unpaid subscriptions?</li><li>Can an admin manage subscriptions?</li><li>How are subscriptions and limits related to your product?</li></ul><h3>Invoice statuses</h3><p>Each subscription status is linked with invoice statuses.</p><p>Stripe describes the <a href="https://stripe.com/docs/invoicing/overview#invoice-lifecycle">life cycle of accounts </a>and their<a href="https://stripe.com/docs/invoicing/overview#invoice-statuses"> statuses</a> in great detail. Please read this information, as it is essential to understand the process.</p><p>The above knowledge is also advantageous in the testing process. A picture is emerging. And the tester needs to pay attention to the following:</p><ul><li>What invoice statuses does the business logic used?</li><li>Check transitions from one status to another.</li><li>See how each invoice status affects subscription status.</li><li>Check if the subscription status changes when the invoice status changes.</li><li>Check whether invoices are saved in the system and whether they are saved at all.</li><li>How does a User know about an invoice?</li><li>How can a User pay a bill?</li><li>What happens if a user doesn’t pay the invoice?</li><li>Consider what notifications about invoices the User will receive from you.</li><li>Can you create and issue invoices by yourself?</li><li>What if there was a mistake in the invoice?</li><li>How do I get a refund if the User didn’t pay correctly?</li><li>and etc</li></ul><p>It seems enough theory. In the following article, I will describe the practical part.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9574a19d8f44" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kodibox | Initial account setup]]></title>
            <link>https://medium.com/@zlata.volkova/kodibox-initial-account-setup-a58f01f9b8c2?source=rss-b58281c18291------2</link>
            <guid isPermaLink="false">https://medium.com/p/a58f01f9b8c2</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[environment]]></category>
            <dc:creator><![CDATA[Zlata Volkova]]></dc:creator>
            <pubDate>Tue, 18 Oct 2022 10:56:42 GMT</pubDate>
            <atom:updated>2022-10-18T11:01:05.150Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I would like to tell you about the initial setup for an account in <a href="https://kodibox.io/">Kodibox</a> to start using the system.<br>In my previous <a href="https://medium.com/@zlata.volkova/how-to-save-time-and-nerves-qa-57ea1f958194">article</a>, I told you about what Kodibox is and how it helps me in QA. Now let’s look at the process of presenting the account. The setup won’t take more than 20–30 minutes of your time.</p><p>I decided to describe the initial account setup process in this article.</p><p>What you need to do to use <a href="https://medium.com/@kodibox_eaas/what-is-kodibox-1de116d9cb7f">Kodibox</a>:</p><ol><li>Sign up into the platform by entering <em>Name</em>, <em>Email </em>and <em>Password</em>, <em>Confirm Password</em>.</li></ol><p>You can also register via Google account.<br>(For more detailed information: <a href="https://kodibox.io/documentation/1.0/sign-in">https://kodibox.io/documentation/1.0/sign-in</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*vVxeIT39-N9rM7COJ43BZg.png" /></figure><p>2. Create a team by entering <em>Team Name</em>, <em>Company Name</em>. <br>The fields <em>Team Description</em>, <em>Address </em>are optional.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uZVT3YR9rYOI1hKK3Nx2lw.jpeg" /></figure><p>3. Go to <em>Plans&amp;Usage</em> in order to choose the right tariff for you.</p><p>We have two plans:</p><h4>Intro</h4><ul><li>2 environments per day,</li><li>$5/month,</li></ul><h4>Unlimited</h4><ul><li>Unlimited number of environments,</li><li>First $0–100 spent in stripe — $5/month,</li><li>Over $100 spent in AWS — cost 5% of amount spent.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NrLOh46LhS5ErFMnifzCeA.png" /></figure><p>4. After the free trial period, if you enjoy Kodibox, I assure you that you will definitely enjoy it. You need to go to the <em>Billing portal</em> section and add your card details there to pay for our services.</p><p>We integrated with <a href="https://stripe.com/ae">Stripe</a>, an international secure online card payment system. You can be sure your data are safe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*_H1bnXcRHM_n20koExS-Mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XT5r2PhOwXiWqD2S_s-CVQ.png" /></figure><p>5. Go to the <em>Cloud Provider Settings</em> section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h6VDTIBYcXfOr2HsGnMg1A.png" /></figure><p>6. In the <em>Cloud Provider Settings</em> section:</p><ul><li>Add AWS Credentials, i.e. fill in the fields <em>— Access key ID, Secret access key</em></li></ul><p>(For more detailed information <a href="https://kodibox.io/documentation/1.0/aws#create-user">https://kodibox.io/documentation/1.0/aws#create-user</a> )</p><ul><li>Add<em> AWS parameters</em>. Add <em>Hosted zone</em> and <em>Security Group</em></li></ul><p>(For more detailed information <a href="https://kodibox.io/documentation/1.0/aws">https://kodibox.io/documentation/1.0/aws</a> )</p><ul><li>Select <em>AWS tariffs</em> from the drop-down list. The region<em> — eu-central-1</em> is now available.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_p6MVlRoRhewtQ9Vuc64Rw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9MSe27cEg9ImqnW_pt_MVA.png" /></figure><p>7. Go to the <em>Integrations</em> section.</p><p>On this page you can manage your integrations, for example with Slack messenger, Docker, as well as with Gitlab CI/CD integration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DOcOW3KcNGeTo0LbnMNK2g.png" /></figure><p>8. The <em>Docker registry</em> section allows you to set up integration with a public or private registry in order to download the Docker images you need.</p><p>In the <em>Docker registry</em> subsection, fill in:</p><ul><li><em>Hostname</em></li><li><em>User</em></li><li><em>Password</em></li></ul><p>For more detailed information: <a href="https://kodibox.io/documentation/1.0/docker-registry">https://kodibox.io/documentation/1.0/docker-registry</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hcSJs0zmcFCeEQBznfDqWA.png" /></figure><p>Kodibox will make sure you have access to the registry, if everything is ok it will show a green marker next to your Docker registry name, and if there is a problem with the data you entered it will show a red marker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IXL3AVx1gs4ApfPIVa660g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UlM6QB5ha9feJSGcbFnSWQ.png" /></figure><p>9. In the <em>Messengers integration</em> section, you can set up integration with Slack. In the selected channel you will receive notifications on the status of the environments — Running, Failed. This is very convenient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*EQdOWbtsMMwSbfw1SJvvyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*JW1q1UVKcWYjOUyOcSNfGw.png" /></figure><p>10. Add a token for integration with GitLab in the <em>CI/CD integration</em> subsection, it enables the automatic creation of an environment from MR.</p><p>For more detailed information: <a href="https://kodibox.io/documentation/1.0/gitlab-integration">https://kodibox.io/documentation/1.0/gitlab-integration</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*SmD9_J9jbj65G5pWJGKMEA.png" /></figure><p>11. Go to the<em> Applications</em> tab and click <em>+Create new</em> in order to add your applications.</p><p>For more detailed information: <a href="https://kodibox.io/documentation/1.0/create-application">https://kodibox.io/documentation/1.0/create-application</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2h_PGGjxk1SqgMRe3uOc1g.png" /></figure><p>12. To create an <em>Application</em>, you need to fill in:</p><ul><li><em>Name </em>— application name (required)</li><li><em>Docker Compose</em> — specification (required)</li><li>The <em>Alias </em>field is not required to be filled in, but it will help to link with the environment.</li><li>The <em>Description </em>field is optional, you can specify a description of the Application in it.</li><li>The <em>Dependencies </em>field is used when there are several applications that depend on each other.</li><li>All tags of the images used will be visible in the <em>Images </em>section.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pf2Ynk8iMq7oVAsYN4Kc5A.png" /></figure><p>13. For example, let’s use the Simple Nginx (Name) application. <br>Its specification as follows:</p><p>version: ‘3.3’<br>services:<br> nginx:<br> image: nginx:latest<br> ports:<br> — “443:443”<br> — “80:80”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4-XjR8vqWxd-77HSbT9n1Q.png" /></figure><p>14. TLS Certificate will be formed by the time the pre-configuration is completed and a notification will appear at the top in the bell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*ojhXTdTrC1mCgG74Emd56w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A2dDnBHuhHL0nM-pvS7R0A.png" /></figure><p>15. Go to the <em>Team Settings </em>to check for TLS Certificates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OZU5M7tncuq3maSc6Qxa6A.png" /></figure><p>16. Valid certificates with the expiration date are visible in the <em>TLS Certificates</em> section and are available for download. <br>Please be sure to reach out to <a href="/service/mailto:info@kodibox.io">info@kodibox.io</a> in case you don’t see your TLS Certificates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJ15SA9DNESJNmR9CKhDOg.png" /></figure><p>At this step — all the preliminary setup stages are complete!</p><p>Now it’s time to move on to creating an environment.<br>For more detailed information: <a href="https://kodibox.io/documentation/1.0/create-environment">https://kodibox.io/documentation/1.0/create-environment</a></p><ol><li>Go to the <em>Environments </em>page.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2h_PGGjxk1SqgMRe3uOc1g.png" /></figure><p>2. Fill in the following fields:</p><ul><li><em>Name </em>(optional)</li><li><em>Description </em>(optional)</li><li>Choose a <em>tariff </em>(or it will be used by default<em> t2.micro</em>)</li><li>Specify the <em>lifetime </em>(from 5 minutes to 100 days)</li><li>Select the applications to be included in the environments <br>(Simple Nginx)</li><li>Click the <em>Create </em>button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S1QUgfzdl0tu-SkS9HPAzQ.png" /></figure><p>3. The process of building the environment will begin. It will take 3–5 minutes to create an environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aRKbgNDHXWyvP0IL1w-Ffg.png" /></figure><p>4. The environment is assembled, you can monitor that by the <em>Running </em>status. <br>There is an endpoint available via <strong>https</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eYe_vEt5uTRB2x6FJ3ABdw.png" /></figure><p>5. Click the link represented:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C9VUxmVSN9403TwPvwP82A.png" /></figure><p>When the lifetime of the environment expires, it will be automatically deleted, you do not need to worry about this.</p><p>So, the process of presetting and integrating with Kodibox is not as complicated as it seems at first glance. It will only take 20–30 minutes of your time.</p><p>The amount of time and money you invested in Kodibox will compensate for the time you spent on the initial presetting of your account. <strong>You will be left with a win-win.</strong></p><p>If there is any question, you can always contact us, we will help you.</p><p><strong>P.S.</strong> Also we made a new feature — a tour of the <em>Dashboard page</em>. The tour will help you understand the system, explain what each field is for, and what you need to do to get the environment you want.</p><p>You can go through it by clicking “<strong>Start tour</strong>” on the <em>Dashboard page</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8n4wF-YGANXmfyVFE1xw7w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a58f01f9b8c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How does Kodibox work with Postman?]]></title>
            <link>https://medium.com/@zlata.volkova/how-does-kodibox-work-with-postman-f7a02ba9e308?source=rss-b58281c18291------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7a02ba9e308</guid>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[regression]]></category>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[bugs]]></category>
            <dc:creator><![CDATA[Zlata Volkova]]></dc:creator>
            <pubDate>Mon, 05 Sep 2022 12:15:06 GMT</pubDate>
            <atom:updated>2022-09-05T12:15:06.306Z</atom:updated>
            <content:encoded><![CDATA[<p>My name is Zlata and I am the one and only QA at <a href="https://medium.com/@kodibox_eaas/what-is-kodibox-1de116d9cb7f">Kodibox</a>. I love testing and I try different tools to do it. One of the first tools I started using was <strong>Postman</strong>.</p><p>Postman is an API platform that allows you to run tests and repeat your APIs. Postman is very popular with QA testers around the world because it’s easy to use and very helpful.</p><p>In this article I won’t describe in detail the steps of creating collections, writing queries and tests, but I will tell you how easy it is to use Kodibox for testing any new feature and regression in your environment.</p><p>If you’re a tester and you use Postman in your work, you probably have several collections with queries. I decided to make full use of Postman and have currently written <strong>629 tests</strong> for the entire system. With my collections, I can easily check out the entire regression and I don’t have to spend a lot of time on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*bhefTcs7mwXqvufduhXY3g.png" /></figure><p>Collections have varying degrees of complexity, composition, and amount of tests. They also include all steps of the user story. I am constantly adding collections thus expanding the coverage of tests.</p><p><strong>Life hack</strong> — The numbers in the name of the collections are special, they allow you to keep the right order of tests. And if there are new actions in the user scenario, I can create a collection easily and put it in the appropriate place.</p><p>Each collection I have is cyclic, in order to make it easier to work and avoid worrying about clearing test data after the test. For example, the collection named 50.Create/Edit/Del Team includes the following queries: login to the system, create a team, change a team, delete a created team, logout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*EkROqoYjca5IlvDhyWhOSw.png" /></figure><p>So I can run this collection in any environment (Stage, Production, or Kodibox in Kodibox) and check the functionality of team creation by pressing a couple of buttons in Postman.</p><p>Within each request we have written tests for various checks. For example, POST request Create Team has three tests inside to check the response code status, to check if the team with the right name was created and if the JSON response is correct.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZCtxeGbaJaFZtItszV5nA.png" /></figure><p>There is a question — Why do we need Kodibox for all this?</p><p>In the first <a href="https://medium.com/@zlata.volkova/how-to-save-time-and-nerves-qa-57ea1f958194">article</a> I told you about how I use our product in my work. Building the environment with the right tag to test, for example, a new feature, I get an endpoint, which is available over https. This is the endpoint I need to do a regression in Postman.</p><p>I have three primary environments created in Postman that I run collections on:</p><ul><li>Stage — this is out integration environment</li><li>Production</li><li>Kodibox in Kodibox</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*t1OQj3lEahIsG1Tny8YRhA.png" /></figure><p>For each of the environments, we have environment variables, which allows us to change and apply the test data quickly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fhG_jebPtO1v1lVKjylAsg.png" /></figure><p>To test the new feature, I created an environment, I got an endpoint and all I need now is to put it in the variable ‘url’.</p><p>You can say: “But, Zlata, you can do the same things with a stage environment! Why do you need to bother with Kodibox?”. And I’ll tell you “ Remember how much time, energy and effort you waste every day waiting for a free working environment. Remember how much time you need to communicate to get the right environment and how much time you have to spend to clean or redeploy the environment after testing to get clean and correct configuration. And in the end ask yourself — <strong>Do I want to waste my time?</strong>”</p><p>Our main idea is <strong>one task — one environment</strong>. The URL I get is like a ticket to a personal environment for a developed feature. You just need to put your ticket in the terminal and the gate is open. So it’s the same situation with URL, you just need to put the URL into the Postman and access to the tests on a specific environment is open.</p><p>Then I choose one of the collections and run Runner, remembering to select Kodibox in Kodibox environment, where the tests will be run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2VLEu0WC4ACZHof3tgNuog.png" /></figure><p>Now I get the result — 14 tests from the Create Team collection were successful, which means that the new feature did not affect this functionality and did not damage anything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*roLUpXplC55DkgqFxcPzWg.png" /></figure><p>In the same way, I run all my collections and check the regression. If all tests are successful, I can declare that the new functionality has not affected the previously created functionality.</p><p>Further, I test the feature itself and, if necessary, add new collections to the Postman for further testing.</p><p>Collections in the Postman allow me to get rid of the constant regression routine and perform manual regression much more rarely.</p><p>In addition, after running the collections on the KodiboxInKodibox environment, we roll out the changes to Stage and then run all our collections on Stage, and only after that we deliver the changes to Prod.</p><p><strong>That way the probability of some bug getting into Production is significantly reduced.</strong></p><p>With this approach, as the only tester on the project, regression doesn’t seem like a drudgery and misery to me.</p><p><strong>Started collections — don’t bother — got the answer.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7a02ba9e308" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to save time and nerves QA?]]></title>
            <link>https://medium.com/@zlata.volkova/how-to-save-time-and-nerves-qa-57ea1f958194?source=rss-b58281c18291------2</link>
            <guid isPermaLink="false">https://medium.com/p/57ea1f958194</guid>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[qa]]></category>
            <dc:creator><![CDATA[Zlata Volkova]]></dc:creator>
            <pubDate>Mon, 15 Aug 2022 12:22:58 GMT</pubDate>
            <atom:updated>2022-08-15T12:34:45.351Z</atom:updated>
            <content:encoded><![CDATA[<p>Kick-starting a blog by landing the first ever article may not seem like a big deal, but it honestly feels somewhat theatrical!</p><p>My name is Zlata and I am a QA engineer.</p><p>In this article I would like to share how I reduce the time for testing using <a href="https://kodibox.io/">Kodibox.io</a> and demonstrate the process in details.</p><p>Hope you’ll find it practically helpful!</p><p>A quick intro before we dig into the details:</p><p><a href="https://kodibox.io/documentation/1.0/about-kodibox">Kodibox </a>is an auxiliary platform that allows to deploy environments with dynamic application configuration with few clicks. The only thing required to use it is to perform the initial configuration of the account after registration. The logic that I am clearly obsessed with is the idea of: one task — one isolated environment.</p><p>We all operate with the same testing principal: <br>Each task must be tested on a test/integration environment that is close to production before being rolled out to the prod. Often such an environment is called Stage or Int. Usually they are deployed in a single instance and that’s when you start witnessing the rise of questionable moments.</p><p>If I had to describe my day to day life as a QA before finding out about <a href="https://medium.com/@kodibox_eaas/what-is-kodibox-1de116d9cb7f">Kodibox</a>:</p><ul><li>I used to make sure that the stage is free for testing through the general chat of my colleagues and wait for the response of everyone;</li><li>The process of waiting for the response could take anywhere between 1 minute to several hours, not talking about receiving a reply in early mornings or weekends;</li><li>If the stage is busy, which is pretty much the general case, then I had to wait for my turn to use the stage from several hours to days;</li><li>Once the stage is available, in obligatory order I used to negotiate with the team once again so that someone could deploy changes onto the stage before I proceed to testing — that’s another 30 minutes;</li><li>When the feature was finally brought to the test environment, I used to spend another 15 minutes to pre-configure the test account and spend at least half an hour to accomplish my tasks.</li></ul><p>To sum up — at the best I used to spend 90 minutes to accomplish one single task, 1 hour of which was spent on communication and waiting for the availability of the stage.</p><p>The most common problems when preparing the environment for testing:</p><ul><li>Errors in the configuration of the infrastructure, their search and solution;</li><li>The deployment of the wrong version of the application and the need for a new deployment;</li><li>The statement of “Everything works locally…” when everything works on the developer’s computer, but not on the test environment;</li><li>Roll back the environment to the initial state after testing.</li></ul><p>A bit of an outro information before I show off how the current picture looks like with Kodibox:</p><p>We roll out accomplished tasks to the prod when they are ready. <br>One of the tasks that we’re working on currently is “Move the Create button on the Create App form (Draw form design)”(KB-965 on Jira). I will demonstrate my testing process using Kodibox.io</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zCdGzNCp-gMl6hd9" /></figure><p>First, our front-end developer Danya took this task into work, implemented it and informed me that it was ready for testing, saying that his branch was called<em> ‘feature-sticky-save’</em>. I need the name of the branch to create an environment with its changes.</p><p>Since integration with JIRA is still in our plans, I will note one cool life hack. You can name a branch during development as well as the number of the task that is being implemented. This makes it easier to understand which version of the application should be used when creating an environment for testing a specific feature. Our team is not big and there is no such need.</p><p>In order to test the KB-965 task, I need to build an environment with the <em>kodibox-interception-billing</em> application and the <em>feature-sticky-save</em> tag.</p><p>Kodibox platform has a microservice architecture and consists of 8 services. Each service has different dependencies on other services — I choose the exact application needed for testing, and the platform determines all the necessary dependencies by itself.</p><p>To do this, I go to the <em>Environments </em>tab and click <em>Create new</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ElmRodB6Ml8fuopb" /></figure><p>Then I select the <em>kodibox-interception-billing</em> application under test. All its dependencies were also automatically selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ts80kQIytJByHnxY" /></figure><p>I want to test <em>feature-sticky-save</em> branch — I select a specific application image and leave everything else by default. Next to the <em>kodibox-interception-billing</em> application that I need — I click the <em>Edit </em>button. I change the tags and save the changes using the <em>Save </em>button.</p><p>By the way, the platform suggests the last 10 tags, so it can help you find the one you need. And if the selected tag does not exist, the platform will also report about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4dZadbcQ53ycFcA0tj7kkw.png" /></figure><p>The creation of the environment has begun. It usually takes about 4–6 minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oSdS-A5pE-tlmz4N" /></figure><p>YAY! The environment is successfully assembled — I see the status “Running”.</p><p>I get the endpoint of the created environment and access via https.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k0a7cO5FoiP9f6Mo" /></figure><p>Then I can use the received link for manual testing, for testing the API using Postman, as well as for running autotests.</p><p>Now, to check the KB-965 task in the created environment, I go to the <em>Create application </em>section. I see the changes — the <em>Create </em>button is over, which was required to be done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HFRIM6D2XxdufboR" /></figure><p>And so it was before the changes — the button is at the bottom, and you need to scroll to it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vqNekrjOTiwYWhrk" /></figure><p>I will need to run a few more tests to check if the button is “floating”, adding applications with a large number of images to the <em>Docker Compose</em> field, which expands the field. I’ll check if the layout on mobile is running — all using Postman for regression and Selenide to run autotests to see how the UI works.</p><p>Thus, after testing, we can assume that the task is completed, I send it to <em>Code Review</em>.</p><p>Also, I don’t need to worry about the created environment, since Kodibox itself will delete it as soon as the lifetime expires.</p><p>To sum up results using Kodibox:</p><ul><li>4–6 minutes to create an environment;</li><li>10–15 minutes for account pre-configuration — this can be automated, which is a growth point for me in the future;</li><li>30+ minutes for the testing process itself;</li></ul><p>Conclusion points:</p><ul><li>Testing with Kodibox took a little more than 30 minutes;</li><li>I saved an HOUR from my schedule that I used to spend on doing repetitive tasks;</li><li>Not a single member of the team was distracted;</li><li>I do not wait and do not occupy any common staging environment;</li><li>I don’t need to write to all team members and find out if the stage is available.</li></ul><p><strong>In my opinion, Kodibox saves me time, emotional wellbeing, and also improves the microclimate in the team)))</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57ea1f958194" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>