You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
# Not released yet
2
+
-[PR-26](https://github.com/Skejven/aet-docker/pull/26) - AET Docker client for running AET suites with no dependencies but Docker
2
3
-[PR-22](https://github.com/Skejven/aet-docker/pull/22) - changed no of Selenium Grid Nodes replicas in order to improve tests results stability.
3
4
-[PR-23](https://github.com/Skejven/aet-docker/pull/23) - updated mongodb image version to `3.6`. **Important**: if you are upgrading AET from the version that used mongo 3.2, please read carefully upgrade notes before migrating. Updated docker swarm schema to `3.7`.
Copy file name to clipboardExpand all lines: README.md
+39-4Lines changed: 39 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,9 @@ You may find released versions of AET Docker images at [Docker Hub](https://clou
9
9
-[Docker Images](#docker-images)
10
10
*[AET ActiveMq](#aet-activemq)
11
11
*[AET Browsermob](#aet-browsermob)
12
-
*[AET Apache Karaf](#aet-apache-karaf)
13
-
*[AET Apache Server](#aet-apache-server)
12
+
*[AET Karaf](#aet-karaf)
13
+
*[AET Report](#aet-report)
14
+
*[AET Docker Client](#aet-docker-client)
14
15
-[Running AET instance with Docker Swarm](#running-aet-instance-with-docker-swarm)
15
16
*[Prerequisites](#prerequisites)
16
17
*[Instance setup](#instance-setup)
@@ -19,7 +20,9 @@ You may find released versions of AET Docker images at [Docker Hub](https://clou
19
20
+[OSGi configs](#osgi-configs)
20
21
+[Throughput and scaling](#throughput-and-scaling)
21
22
*[Updating instance](#updating-instance)
22
-
*[Executing AET Suite](#executing-aet-suite)
23
+
*[Running AET Suite](#running-aet-suite)
24
+
+[Docker Client](#docker-client)
25
+
+[Other Clients](#other-clients)
23
26
*[Best practices](#best-practices)
24
27
*[Available consoles](#available-consoles)
25
28
*[Troubleshooting](#troubleshooting)
@@ -54,6 +57,8 @@ All custom AET extensions are kept in the `/aet/custom` directory.
54
57
Runs [Apache Server](https://httpd.apache.org/) that hosts [AET Report](https://github.com/Cognifide/aet/wiki/SuiteReport).
55
58
The [AET report application](https://github.com/Cognifide/aet/tree/master/report) is placed under `/usr/local/apache2/htdocs`.
56
59
Defines very basic `VirtualHost` (see [aet.conf](https://github.com/Skejven/aet-docker/blob/master/report/aet.conf)).
60
+
### AET Docker Client
61
+
[AET bash client](https://github.com/Cognifide/aet/tree/master/client/client-scripts) embedded into Docker image with all its dependencies (`jq`, `curl`, `xmllint`).
57
62
58
63
## Running AET instance with Docker Swarm
59
64
This chapter shows how to setup a fully functional AET instance with [Docker Swarm](https://docs.docker.com/engine/swarm/).
@@ -154,6 +159,10 @@ When you see status `healthy` it means Karaf is running correctly
154
159
> IMAGE STATUS
155
160
> skejven/aet_karaf:0.4.0 Up 20 minutes (healthy)
156
161
162
+
Now you may want to run a sample suite by executing:
163
+
```
164
+
docker run skejven/aet_client
165
+
```
157
166
158
167
#### Minimum requirements
159
168
To run example AET instance make sure that machine you run it at has at least enabled:
@@ -240,7 +249,33 @@ detect automatic changes in the config. You will need to restart Karaf service a
240
249
changes in the configuration files (e.g. by removing `aet_karaf` service and running stack deploy).
241
250
242
251
243
-
### Executing AET Suite
252
+
### Running AET Suite
253
+
There are couple of ways to start AET Suite.
254
+
255
+
#### Docker Client
256
+
You may use an image that embeds AET Bash client together with its dependencies by running:
E.g. when you run AET on Docker for Mac/Win and have following setup:
260
+
```
261
+
.
262
+
├── custom
263
+
│ └── my-suite.xml
264
+
```
265
+
and want to run `my-suite.xml` file, simply run:
266
+
`docker run --rm -v "$(pwd)/custom:/aet/suite" -v "$(pwd)/report:/aet/report" skejven/aet_client http://host.docker.internal /aet/suite/my-suite.xml`
267
+
268
+
The results will be saved to the `report` directory:
269
+
```
270
+
.
271
+
├── report
272
+
│ ├── redirect.html
273
+
│ └── xUnit.xml
274
+
```
275
+
276
+
> Notice that we are using here `host.docker.internal` as the address of AET instance - that works only for Docker for Mac/Win with local AET setup. In other cases, use the AET server's IP/domain.
277
+
278
+
#### Other Clients
244
279
To run AET Suite simply define `endpointDomain` to AET Karaf IP with `8181` port, e.g.:
0 commit comments