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.
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.
- Read our documentation.
- Ask a question on Forum.
- Request a new feature on GitHub.
- Vote for Popular Feature Requests.
- File a bug in GitHub Issues.
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.
These instructions will get you a copy of the project up and running on your local machine.
- Katalon Studio - Installation and Setup
- Permission access to Jira System (provided in the sample code)
- Application Under Test (AUT):
- Jira cloud: https://katalon.atlassian.net/
- Account: [email protected]/BAGRyAfuRevu0xrXdrZL6ECD
- Check out the code from this .git
- Open the project from Katalon Studio
- Expand the Test Cases structure, where all the test cases are stored.
- Select the test case you want to execute
- Choose the browser for executing the test case
At the end of this README, you will find additional methods to execute automation test cases.
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
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 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
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
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.
- Open EXECUTABLE folder
- Select the test case you want to execute
- Choose the browser for executing the test case
This example demonstrates how to apply data-driven approach to test execution with Katalon Studio.
- Select the test suite
- Select the test case you want to apply data-driven approach
- Select data file
- Bind test data and test case's parameters
This example demonstrates how to execute a test suite collection.
- Select the Test suite
- Add test cases into the test suite
- Execute the test suite
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/