Giter Club home page Giter Club logo

sample-custom-keywords-plugin-usage's Introduction

Katalon Studio Samples: Jira API Tests

Katalon Studio is a free and easy-to-use automated functional and regression testing platform. It provides users the ability to implement full automated testing solutions for their application projects with minimal engineering and programming skill requirements.


The jira-api-tests perform API automation test on Jira Web Application using Katalon Studio. The examples in this project range from common to advanced test cases.

Companion products

Katalon TestOps

Katalon TestOps is a web-based application that provides dynamic perspectives and an insightful look at your automation testing data. You can leverage your automation testing data by transforming and visualizing your data; analyzing test results; seamlessly integrating with such tools as Katalon Studio and Jira; maximizing the testing capacity with remote execution.

Katalon Studio

Katalon Studio is a free and complete automation testing solution for Web, Mobile, and API testing with modern methodologies (Data-Driven Testing, TDD/BDD, Page Object Model, etc.) as well as advanced integration (JIRA, qTest, Slack, CI, Katalon TestOps, etc.). Learn more about Katalon Studio features.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Setting Up

Executing a Test Case

Execute a simple test case

  1. Expand the Test Cases structure, where all the test cases are stored.
  2. Select the test case you want to execute
  3. Choose the browser for executing the test case

At the end of this README, you will find additional methods to execute automation test cases.

Test Scenarios

Story: Get issue's information feature

   User story
        As a Jira user, I would like to be able to get issue's information via web service, so that I could get the data without logging in Jira web application.
     
     Feature: Get issue's information 
         Scenario: Get issue's information successfully
          Given The web service is available
          When I send a request to get issue's formation
          Then I could get the issue's information from the response

Story: Create issue with defined information

   User story
        As a Jira user, I would like to be able to create a new issue with defined information via web service, so that I could manage my issues without logging in Jira web application
     
      Feature: Create issue
          Scenario: Create issue with defined information successfully
	    Given The web serice is available
	    When I send a request to create issue with defined information
	    Then The issue is created successfully in the system

Test Cases

Common Test Cases

Test cases at this section will help the users to understand:

  • How to create simple API testing with hard coding test data
  • How to create a RESTful Web service object at Object Repository with different method:
    • GET
    • POST
    • PUT
    • DELETE
  • How to use simple built-in keywords to
    • Send request
    • Verify response code
    • Verify response information

Advanced Test Cases

Additionally, the users can try more advanced test cases and modify as they need. The advanced test cases contained in this project are:

  • How to create RESTful Web services object at Object Repository with parameters so that it can be tested with different data set using data-driven approach
  • How to create test cases that can be reused in different test scenario
  • How to create test cases with BDD mindset
  • How to use built-in keywords together with extended scripts such as assertj to verify the response information.
  • How to group API end-points

Advanced Execution

Execute an Advanced Test Case

Execute an advance test case The advance test cases in this example repository demonstrate how to set up the test project with Page Object Design Pattern approach to reduce the maintenance cost as well as increase the reusability of testing scripts.

  1. Open EXECUTABLE folder
  2. Select the test case you want to execute
  3. Choose the browser for executing the test case

Execute a Test Suite with Data-Driven

Execute a test suite with data-driven This example demonstrates how to apply data-driven approach to test execution with Katalon Studio.

  1. Select the test suite
  2. Select the test case you want to apply data-driven approach
  3. Select data file
  4. Bind test data and test case's parameters

Execute a Test Suite

Execute a test collection This example demonstrates how to execute a test suite collection.

  1. Select the Test suite
  2. Add test cases into the test suite
  3. Execute the test suite

See Also

Update configurations for integration: Jira, Katalon Analytics

Katalon Documentation: http://docs.katalon.com/, especially some Tips and Tricks to run a successful automation test.

Katalon Forum: https://forum.katalon.com/

Katalon Business Support: https://www.katalon.com/support-service-options/

sample-custom-keywords-plugin-usage's People

Contributors

devalex88 avatar

Watchers

James Cloos avatar TrongBui avatar Dat Quach avatar Vinh Nguyen avatar  avatar  avatar  avatar

Forkers

huynguyen2908

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.