Skip to content

saitam91/API-Test-Mercado-Libre-Groovy-TestNG-REST-Assured

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Mercado Libre / Groovy-TestNG-REST-Assured

Resume:

• To achieve this test framework, the following scenario with Mercado Libre API was taken:

Carry out a search in Mercado Libre for 3 different items and validate that the search results contain the word used as search criteria.


• In order to automate test cases, the following classes and files were created:

1. build.gradle file to define the build configurations that will be applied to all the modules in the project.

2. Base page groovy class to implements methods setting baseUri, Headers, Request Specifications so this can be inherited from other pages.

3. Page groovy class where we are going to implement the methods to validate the test cases.


Technologies used:

  • Language: Groovy

  • Building Tool: Gradle

  • Libraries: REST Assured-TestNG

  • Enviroment Configuration:

    • Download and set JAVA environment variables (JAVA_HOME and PATH):JDK (17.0.2)

    • Download and installation IDE (IntelliJ IDEA)

  • TestNG Reports:

    • build/reports/tests/test/index.html
  • Run Tests:

    • gradle clean

    • gradle test -D TestMeli

About

API Automation Framwork with Groovy, TestNG and REST Assured

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages