|
|
JMeter Example Project Setup
|
|
|
============================
|
|
|
|
|
|
## Prerequisites
|
|
|
* [Java SE Development Kit 8u66 or later](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
|
|
|
* Install it on your computer and setup the **`JAVA_HOME`** environment variable by pointing it to the jdk folder.
|
|
|
* Add also the JDKs bin directory to your **`PATH`** variable.
|
|
|
* [Eclipse IDE for Java EE Developers Mars.1 Release or later](https://www.eclipse.org/downloads/)
|
|
|
* Extract the zip file to a path without whitespaces in its name.
|
|
|
* [Apache JMeter 2.13 or later](http://jmeter.apache.org/download_jmeter.cgi)
|
|
|
* Extract the zip file to a path without whitespaces in its name.
|
|
|
* **Optional:** You can add also the JMeters bin directory to your **`PATH`** variable.
|
|
|
* [WildFly 9.0.2.Final or later (official open source successor of JBoss Application Server)](http://wildfly.org/downloads/)
|
|
|
* Extract the zip file to a path without whitespaces in its name.
|
|
|
|
|
|
## Eclipse Setup for WildFly Server
|
|
|
|
|
|
![wildfly-01](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/4084429937afc582e0b4000eb8f2e8bb/wildfly-01.png)
|
|
|
Create a new server in the server tab.
|
|
|
|
|
|
![wildfly-02](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/28dd1cfbd365326175e9c3beb5ed9cf1/wildfly-02.png)
|
|
|
Choose the WildFly server in the Red Hat category.
|
|
|
|
|
|
![wildfly-03](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/1f78ab7e99dcf94c814625ac7a4630f1/wildfly-03.png)
|
|
|
Accept the License agreement...
|
|
|
|
|
|
![wildfly-04](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/4d1ac6aa04f5f40ee92d8f08f510f1ca/wildfly-04.png)
|
|
|
... and let Eclipse install the WildFly Tools.
|
|
|
|
|
|
![wildfly-05](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/9ab7328f424c70d2d9347f143816c2d0/wildfly-05.png)
|
|
|
Accept the warning and let Eclipse restart.
|
|
|
|
|
|
![wildfly-07](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/b922fe505a20ae591979b9be1afc4c40/wildfly-07.png)
|
|
|
Choose again in the Server tab to create a new server.
|
|
|
|
|
|
![wildfly-08](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/4d0ffeeaf721495207017f7bf5b41132/wildfly-08.png)
|
|
|
Select the major version of your WildFly server.
|
|
|
|
|
|
![wildfly-09](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/a5ca169f03dd8c4b6c01f627a70b2e6a/wildfly-09.png)
|
|
|
Choose the defaults as in the above image.
|
|
|
|
|
|
![wildfly-10](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/7e95d75bdc86118729af8dc8567c7d7b/wildfly-10.png)
|
|
|
Choose the path of your WildFly installation.
|
|
|
|
|
|
![wildfly-11](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/18d10dc5a6cd18e9a38e8dd630fa3ae7/wildfly-11.png)
|
|
|
Finish the configuration and let the server start in the server tab.
|
|
|
|
|
|
![wildfly-13](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/103fff68696534c64a6e9ffb9effa158/wildfly-13.png)
|
|
|
You should see some console output.
|
|
|
|
|
|
![wildfly-14](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/5b82ee85d29daf74400de3491029f9c6/wildfly-14.png)
|
|
|
Go to your web browser and digit the address `http://localhost:8080`.
|
|
|
|
|
|
![wildfly-15](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/64c0ff6dffa3865f18b35cc07a1fbba8/wildfly-15.png)
|
|
|
**Optional:** Go to your WildFly folder and setup the admin account by launching the `add-user` script.
|
|
|
|
|
|
![wildfly-16](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/a44c0e814a4d7f70747fe92f7b74e231/wildfly-16.png)
|
|
|
**Optional:** Download the [WildFly example projects](https://github.com/wildfly/quickstart/tree/9.x) to get started with already configured projects.
|
|
|
|
|
|
![wildfly-17](https://gitlab.inf.unibz.it/julian-sanin1/jmeter-example/uploads/bd41876547a893a5816cd072cd1f5935/wildfly-17.png)
|
|
|
Import the WildFly projects as Maven projects and launch the server. |
|
|
\ No newline at end of file |