This document discusses how to set up an nGrinder project in Eclipse.
First, we recommend developers adopt to Spring Tool Suite (STS) as their main development platform.
Because STS is conveniently integrated with Git and Maven, enabling developers to focus on development rather than getting entangled with
configuration-related issues.
Currently, we use STS version 2.9.2.
change perspective to “Git Repository Exploring”
and then we will clone a Git repository.
Just input this in the URI field:
https://github.com/nhnopensource/ngrinder.git
and click “Next.”
Please specify nGrinder Project path on your local drive and click “Finish” and wait for a while.
nGrinder Project is already in our local drive!
2. Importing nGrinder Project
The instructions above describe how to clone an nGrinder project from Github to our local drive.
As follows, we will import the project into our eclipse workspace.
First, return from “Git Repository Exploring” perspective to “Java” perspective,
and import the nGrinder project from the local Git Repository
please select “Local” and click “Next”
select “Import as general project” and click “Finish”
3. Use Maven to build an nGrinder Project
Now that the nGrinder Project can be seen in “Java perspective”.
we should import modules separately as Maven Projects.
because an nGrinder Project consist of three modules ngrinder-controller,ngrinder-core,and grinder-dns.
Select Root Directory and click “Next”, nGrinder sub Projects will be imported automatically.
It’s time to build an nGrinder project.
First, open “Run Configurations” and config new “Maven Build.”
Compiling of the project is successful !
Let’s deploy the nGrinder package .
An additional tomcat server should be used ,because it’s faster than the STS self-install Server.
Our tomcat server is finished !
Ok, let`s check it from the browser.