Skip to content

Manual and Automation Testing on gorest.co.in

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

AnjarTiyo/GOREST-API-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

GoREST.co.in API manual & Automated Testing

GoREST.co.in API manual and automated testing using Postman & Rest Assured
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Feature Tested
  5. Contributing
  6. Contact
  7. Acknowledgments

About The Project

Product Name Screen Shot

It is Group Project regarding Alterra Academy Quality Engineer Immersive Bootcamp Batch 06 on Manual and Automation Testing. We implement gherkin languange as main feature of this test. So it's quite easy to understand what to test and how the test work.

This project is based on GoRest - GraphQL and REST API for Testing and Prototyping. which use fake data | real responses | 24/7 online

We use public V1 API version because we can get more testing insight in tester POV.

You can also view our latest test run online HERE

(back to top)

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

Method 1: Trough terminal (Maven Should be Installed)

  1. Clone the repo
    git clone https://github.com/AnjarTiyo/GOREST-API-testing.git
  2. Go to project directory
    cd GOREST-API-testing
  3. run Maven command
    mvn clean verify

Method 2: Trough Intellij IDEA

  1. Create New Project
  2. Select from "versioning control"
  3. Paste https://github.com/AnjarTiyo/GOREST-API-testing.git
  4. Select JDK 1.8
  5. Select maven
  6. Click OK

(back to top)

Usage

Feature: Create new users
  Create new resource users with given json data. Because data.email should unique, we use "Lorem" random email generator.

  Scenario: post create new user with valid data
    Given set path post new user to "https://gorest.co.in/public/v1/users"
    And set request body post to json data
    When send request post create new user
    Then API should return 201 created
    And post create new user json schema
    And API send usersID to dynamic variable
    And assert usersID not 0

For more examples, please refer to the Documentation

(back to top)

Resource Tested

Method we implement is HEAD, GET, PUT, PATCH and DELETE. And authorization using header Bearer Token and HTTP Basic Auth

  • ./users
    • POST Create new users
    • GET users data
    • PUT update users
    • DELETE users
  • ./posts
    • POST create new posts
    • GET posts
    • PUT update posts
    • PATCH update feature
    • DELETE posts
  • ./comments
    • POST create new commets
    • GET comments
    • PUT update comments
    • DELETE comments
  • Misc
    • HEAD ping server

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Anjar Tiyo Saputro - LinkedIn - [email protected]

Bunga Ayu Ferdiyanti - LinkedIn - [email protected]

M. Sholikudin Bhasri - [email protected]

Project Link: https://github.com/AnjarTiyo/GOREST-API-testing

(back to top)

Acknowledgments

(back to top)

About

Manual and Automation Testing on gorest.co.in

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published