Skip to content

Commit 21c62e0

Browse files
authored
Update README.md
1 parent 2523149 commit 21c62e0

1 file changed

Lines changed: 18 additions & 40 deletions

File tree

README.md

Lines changed: 18 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ A hardened, multi-platform Docker image for running Robot Framework test automat
1414
- **Hardened Security**: Built on Docker's official hardened Python base image
1515
- **Pre-installed Tools**:
1616
- Robot Framework 7.x
17-
- Apache JMeter 5.6.3 for performance testing
1817
- Modern Python 3.12 environment
1918
- Alpine Linux-based for minimal footprint
20-
- **Flexible Execution**: Run Robot tests, JMeter scripts, or any custom command
19+
- **Flexible Execution**: Run Robot tests or any custom command
2120
- **Optimized Dependencies**: Pre-cached package installation for faster builds
2221

2322
## 🚀 Quick Start
@@ -28,14 +27,6 @@ A hardened, multi-platform Docker image for running Robot Framework test automat
2827
docker run --rm -v $(pwd):/robot malovec/robot-runner:latest tests/suite.robot
2928
```
3029

31-
### Running JMeter Tests
32-
33-
```bash
34-
docker run --rm -v $(pwd):/robot -e CMD=jmeter \
35-
malovec/robot-runner:latest \
36-
-n -t Summary-Report.jmx -l Summary-Report.jtl
37-
```
38-
3930
### Interactive Shell Access
4031

4132
```bash
@@ -54,7 +45,6 @@ docker run --rm -ti -e CMD=bash malovec/robot-runner:latest
5445
- All major Robot Framework ecosystem packages
5546

5647
**System Tools:**
57-
- Apache JMeter 5.x
5848
- Node.js/npm packages for modern web testing
5949
- Alpine Linux system dependencies
6050

@@ -71,31 +61,21 @@ docker run --rm \
7161

7262
### 2. Run Specific Robot Suite with Variables
7363

74-
```bash
75-
docker run --rm \
76-
-v $(pwd):/robot \
77-
malovec/robot-runner:latest \
78-
--variable BROWSER:chrome \
79-
--suite smoke_tests tests/suite.robot
80-
```
81-
82-
### 3. Execute JMeter with Custom Properties
83-
8464
```bash
8565
docker run --rm \
8666
-v $(pwd):/robot \
87-
-e CMD=jmeter \
8867
malovec/robot-runner:latest \
89-
-Jthreads=10 -Jduration=300 -n -t load_test.jmx -l results.jtl
68+
--variable BROWSER:chrome \
69+
--suite smoke_tests tests/suite.robot
9070
```
9171

92-
### 4. Run Custom Python Scripts
72+
### 3. Run Custom Python Scripts
9373

9474
```bash
95-
docker run --rm \
96-
-v $(pwd):/robot \
97-
-e CMD=python \
98-
malovec/robot-runner:latest \
75+
docker run --rm \
76+
-v $(pwd):/robot \
77+
-e CMD=python \
78+
malovec/robot-runner:latest \
9979
my_script.py
10080
```
10181

@@ -105,20 +85,20 @@ docker run --rm \
10585

10686
```bash
10787
# Mount current directory and specific output directory
108-
docker run --rm \
109-
-v $(pwd)/tests:/robot/tests \
110-
-v $(pwd)/results:/robot/results \
111-
malovec/robot-runner:latest \
88+
docker run --rm \
89+
-v $(pwd)/tests:/robot/tests \
90+
-v $(pwd)/results:/robot/results \
91+
malovec/robot-runner:latest \
11292
--outputdir /robot/results /robot/tests
11393
```
11494

11595
### Environment Variable Configuration
11696

11797
```bash
118-
docker run --rm \
119-
-v $(pwd):/robot \
120-
-e PYTHONPATH=/robot/lib \
121-
-e ROBOT_OPTIONS="--loglevel DEBUG" \
98+
docker run --rm \
99+
-v $(pwd):/robot \
100+
-e PYTHONPATH=/robot/lib \
101+
-e ROBOT_OPTIONS="--loglevel DEBUG" \
122102
malovec/robot-runner:latest
123103
```
124104

@@ -141,8 +121,8 @@ services:
141121
142122
```bash
143123
# Build for both x64 and ARM
144-
docker buildx build --platform linux/amd64,linux/arm64 \
145-
-t malovec/robot-runner:latest \
124+
docker buildx build --platform linux/amd64,linux/arm64 \
125+
-t malovec/robot-runner:latest \
146126
--push .
147127
```
148128

@@ -177,14 +157,12 @@ requirements/
177157

178158
This project is open source. Please check the respective licenses for included tools:
179159
- Robot Framework: Apache License 2.0
180-
- Apache JMeter: Apache License 2.0
181160
- Python: Python Software Foundation License
182161

183162
## 🔗 Links
184163

185164
- **Docker Hub**: [malovec/robot-runner](https://hub.docker.com/r/malovec/robot-runner)
186165
- **Robot Framework**: [robotframework.org](https://robotframework.org/)
187-
- **Apache JMeter**: [jmeter.apache.org](https://jmeter.apache.org/)
188166

189167
---
190168
*Built with ❤️ for the Robot Framework community*

0 commit comments

Comments
 (0)