Giter VIP home page Giter VIP logo

rest-assured-workshop's Introduction

REST Assured Workshop

Exercise yourself with REST Assured

Exercise Status Exercise Status Exercise Status
JSON Response validation Hamcrest matchers JsonPath
XML Response validation Specification Custom ObjectMapper
Logging Response extraction Deserialization
Parameterization Serialization Simple Safe Methods
Destructive Methods Configuration URL Forwarding
Optimization Query Params

Dockerized JSON Server

docker-compose up -d

or

npm i -g json-server
json-server --watch src/test/resources/serialization.json

http://0.0.0.0:3000/posts


Useful Links

https://www.jsonschema2pojo.org/

https://jsonpath.curiousconcept.com/


setup

  1. Go to IntelliJ IDEA > Preferences > Plugins
  2. Search and install plugin Maven Archetype Catalogs
  3. Go to IntelliJ IDEA > Preferences and search Maven
  4. Select Maven Archetype Catalogs and add this repository https://repo1.maven.org/maven2/archetype-catalog.xml
  5. Go to IntelliJ IDEA > New > Project...
  6. Select Create from archetype > org.apache.maven.archetypes:maven-archetype-quickstart and create a new project

Library Used:

rest-assured

Note:
  • Java JDK version 8 or higher is required for using JUnit 5
  • JUnit Jupiter (Aggregator) is the best dependency to add to your project in order to have access to all the JUnit 5 features

rest-assured-workshop's People

Contributors

prashanth-sams avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

rgr2k

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.