Skip to main content

Create Rest Assured Project with Eclipse and Maven

Eclipse is one of the most widely used tool to create Java project. If you are going to create your first Rest Assured project, I recommend that you should use Eclipse and Maven. Maven is a build automation tool used primarily for Java projects. Follow below steps:

Step 1: Go to File->New->Maven Project
Step 2: Use default location and click Next, you can change location if you want to.
Step 3: Let it remain the default selection for Archetype and Click Next.
Step 4: Enter Group Id, Artifcat Id and Package name.

Give group id as com.organisationName.projectName and artifact id as projectname and package name as com.organisationName.projectName.base and click finish. Do not enter space between words.

  • groupId: a unique base name of the company or group that created the project
  • artifactId: a unique name of the project
  • version: a version of the project
  • package: You can name your first packager here

The first three of these (groupId:artifactId:version) combine to form the unique identifier and are the mechanism by which you specify which versions of external libraries (e.g. JARs) your project will use.

In next lecture we will discuss Jar Files or Maven Dependencies required for Rest Assured Project.

Submitted by tgoswami on September 1, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.

About

At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.