Comments (7)
@HenryGuillen17 just pass -n
to the container
from docker-jmeter.
Any solution for this?
from docker-jmeter.
I also need a solution for this.
from docker-jmeter.
"-n" is already in test.sh args for jmeter. I also added -Djava.awt.headless=true \ without success.
the final printed command will be :
jmeter args=-Dlog_level.jmeter=DEBUG -Djava.awt.headless=true -n -t tests/trivial/test-plan.jmx -l tests/trivial/test-plan.jtl -j tests/trivial/jmeter.log -e -o tests/trivial/report
and
An error occurred:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
from docker-jmeter.
It's a problem when passing many words to an argument "-JTARGET_KEYWORD="${TARGET_KEYWORD}"" and passing them through containers and finally the -n option won't be reached. The question is more around how to past space separated list to the entrypoint.sh
from docker-jmeter.
Why was this closed? I don't see, or maybe I don't understand, the solution.
D:\Git>docker run justb4/jmeter
START Running Jmeter on Wed Jan 20 18:56:05 UTC 2021
JVM_ARGS=-Xmn4698m -Xms18792m -Xmx18792m
jmeter args=
Jan 20, 2021 6:56:06 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
================================================================================
Don't use GUI mode for load testing !, only for Test creation and Test debugging.
For load testing, use CLI Mode (was NON GUI):
jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]
& increase Java Heap to meet your test requirements:
Modify current env variable HEAP="-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m" in the jmeter batch file
Check : https://jmeter.apache.org/usermanual/best-practices.html
================================================================================
An error occurred:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
from docker-jmeter.
@HenryGuillen17 just pass
-n
to the container
May I know where should I exactly pass this command?
from docker-jmeter.
Related Issues (20)
- log4j vulnerability - CVE-2021-44228; HOT 2
- Issue while running jmeter with Docker by passing arguments in the command - The JVM should have exitted but did not.
- Use GitHub Workflow to build-push Docker Images HOT 1
- Add FUNDING option HOT 1
- Jmeter container not storing log result.jtl file as output HOT 1
- question about plugins HOT 1
- Use MemAvailable when computing Java memory limits HOT 4
- Increase or support multiple Java versions HOT 1
- Support request - how to run with X11? HOT 1
- Please fix README HOT 1
- /jmeter-entrypoint.sh: line 13: JVM_XMN: parameter not set
- Crashes after a few minutes of use or idle behavior
- Incorrect computation for the memory
- Add ARM Support
- Can't run container with custom user
- Execution hangs and doesn't start jmeter
- Plugin copy error - "Read-only file system"
- The '-c' returns an 'unknown option' when attempting a docker run
- Docker run to generate HTML Report from .jtl file HOT 1
- Update the image to reduce the vulnerabilities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-jmeter.