? QA Design Gurus: ssoma
Showing posts with label ssoma. Show all posts
Showing posts with label ssoma. Show all posts

Sep 12, 2015

UI Performance Testing with Taurus and Blaze Meter



Recently we have identified few intermittent issues in our product and issues are reproducing only when there is load on our product. We just wanted to start basic ui performance testing to uncover issues in our product. We have started with Jmeter but it isn’t easy for the beginner to work with Jmeter as tool itself comes with steep learning curve. In this post, we will take a look at Taurus, It is an open source test automation tool that extends and abstracts Jmeter, and helps to overcome these challenges. Taurus provides simple way to create, run and analyze the performance tests.
Taurus is an acronym that stands for Test Automation Running Smoothly, which reflects its baseline mission - making the process of test configuration and execution as simple as possible. Following are the Taurus features:
  • extremely simple setup and upgrading
  • an easily-readable, version control friendly and unified DSL (Domain-specific language) to define load test scenarios
  • the ability to execute existing JMeter (or Grinder or Gatling or Selenium) tests
  • the ability to create new tests from scratch using the aforementioned DSL
  • the ability to merge multiple existing test scripts and/or DSL-driven tests into a single scenario
  • real-time reporting
  • multiple test output formats, including but not limited to:
  • a native results format of the underlying testing tool
  • integration with the blazemeter.com reporting service
  • console stats and pseudo-graphic charts during the test execution (which can be combined with the Blaze Meter integration
  • a JUnit-compatible test results format
  • an easy way to define flexible pass/fail criteria. In case the results exceed a threshold, it is possible to automatically mark test(s) as failed
  • platform-independency - runs where Python and Java can run

 

Bug triage process



Bug Triage Process:

Triage is a medical term and It refers to dividing sick people into three categories such as: those who will die no matter what you do, those who will recover even if unaided, and those who will recover if only aided.
A bug triaging meeting should be held regularly during the development phase or testing cycle of a Project. The QA lead calls these meetings and goes through all open bugs based on severity and priority.

What should be involved while triaging the bug?

  • ·         Check that enough information is provided by QA or not in the defect report so that Dev can understand the defect otherwise triage team can reassign to the QA to provide more information.
  • ·         Check if defect is logged under correct project, module and release or not.
  • ·         Check whether defect is reported with sensible priority and severity or not.
  • ·         Bug Triaging process divides all open bugs into three categories such as bugs to fix now,   bugs to fix later and bugs we will never fix.

Deciding which defect to address:

When there are many open defects logged by QA then developer should not fix the defects randomly. Now you have a question in your mind that which defects should be fixed by developers first. So answer to your question is based on assigned priority and severity of the bug.
There are other following reasons to triage the bugs which needs to be address first

  • ·         What is the impact on end customer because of open defect?
  • ·         What is the possibility/Probability to hit the bug in production by the customer?
  • ·         What is the functional impact because of the open bug?
  • ·         Is that bug fix regression prone? What level of testing is required for bug fix?
  • ·         What it the technical challenges to address the bug?

















Jul 31, 2015

Business Continuity/Zero Downtime Testing in Blue Green deployment



As per wiki definition,
“Business continuity encompasses a loosely defined set of planning, preparatory and related activities which are intended to ensure that an organization’s critical business functions will either continue to operate despite serious incidents or disasters that might otherwise have interrupted them, or will be recovered to an operational state within a reasonably short period.”

During deployment
·         Our business should continue with existing production environment and customers should be able to operate and work with our products without any interruption
Once deployment is completed
·         Customer should be able to see the changes in the build and able to operate with our products seamlessly

Business continuity also means that customers should able to operate with our products in case of deployment failures. We should identify the time taken for disaster recovery during hot upgrade deployment in case of deployment failures.



Business continuity can’t be simulated with manual testing alone. In Production, we are not sure how many customers are using our products, what the load on production is and what the customer user cases are. We can automate Business continuity tests by continuously running the tests before and during upgrade deployment. We should make sure that none of the automated tests should fail during upgrade deployment because of deployment issues. We are calling this as Business Continuity/zero downtime testing.