Giter VIP home page Giter VIP logo

Comments (7)

sparkoo avatar sparkoo commented on June 2, 2024 2

@HenryGuillen17 just pass -n to the container

from docker-jmeter.

andrewmadden avatar andrewmadden commented on June 2, 2024

Any solution for this?

from docker-jmeter.

HenryGuillen17 avatar HenryGuillen17 commented on June 2, 2024

I also need a solution for this.

from docker-jmeter.

subkryl avatar subkryl commented on June 2, 2024

"-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.

subkryl avatar subkryl commented on June 2, 2024

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.

Bryce-L avatar Bryce-L commented on June 2, 2024

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.

seanbenhur avatar seanbenhur commented on June 2, 2024

@HenryGuillen17 just pass -n to the container

May I know where should I exactly pass this command?

from docker-jmeter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.