Git Product home page Git Product logo

Comments (15)

Nachiket90 avatar Nachiket90 commented on August 30, 2024 3

Or specifically set JM_LAUNCH variable to /bin/java.exe in jmeter.bat file in case you plan not to disturb other configurations.

from pepper-box.

satishbhor avatar satishbhor commented on August 30, 2024 2

yes

from pepper-box.

ganeshmuralidhar avatar ganeshmuralidhar commented on August 30, 2024 1

Sorted this in a very simple way! I am not using the PlainTextConfig and started using JSR223 sampler with below code. Continued to use the Pepper-Box Javarequest Sampler with all default options available. Successfully able to post the messages to Kafka

image
image

from pepper-box.

saikris12 avatar saikris12 commented on August 30, 2024

Same issue for me as well.

from pepper-box.

Nachiket90 avatar Nachiket90 commented on August 30, 2024

@ganeshmuralidhar, @saikris12 Recently we have added keyed message feature but documentation/README is yet to be updated. Apologies for that. Can you try with below settings and see if it works?
keyed_message

In case if you want to send keyed message then keyed message property should be set to 'YES'

from pepper-box.

ganeshmuralidhar avatar ganeshmuralidhar commented on August 30, 2024

@Nachiket90 - The plugin seems to be deleting my entry when i try to save the Java request sampler with these new options!!!! However, just want to add that even before the Java request sampler is initiated, my PlainTextConfig itself is failing to start. And I tried this on Jmeter 3.0 and 3.3. I have JDK home and Java Home already set to proper locations. Still i am not able to execute a sample. Can you please assist?

image

from pepper-box.

satishbhor avatar satishbhor commented on August 30, 2024

@ganeshmuralidhar by looking at logs u shared, ur jmeter is picking up java from JRE and not from JDK
can u do where javac ?

from pepper-box.

ganeshmuralidhar avatar ganeshmuralidhar commented on August 30, 2024

Ok - But my where javac shows JDK path!

image

from pepper-box.

satishbhor avatar satishbhor commented on August 30, 2024

@ganeshmuralidhar can u do one thing when u launch Jmeter can u trace which java command it picks

from pepper-box.

ganeshmuralidhar avatar ganeshmuralidhar commented on August 30, 2024

Can you elaborate on how to capture that? @satishbhor

from pepper-box.

Nachiket90 avatar Nachiket90 commented on August 30, 2024

Check JDK path from windows task manager process. Click on Jmeter process -> properties -> general tab should show you JDK path used. Here is screenshot for reference.

jmeter

from pepper-box.

ganeshmuralidhar avatar ganeshmuralidhar commented on August 30, 2024

@Nachiket90 This shows me a JRE path.. @satishbhor also pointed this, but i couldn't find a way to change it back to JDK. Hence I had to try a work around for this and use JSR223 sampler.

image

from pepper-box.

satishbhor avatar satishbhor commented on August 30, 2024

Thats the issue :), try checking ur environment path variables, incase any variable is pointing to JRE.

from pepper-box.

ganeshmuralidhar avatar ganeshmuralidhar commented on August 30, 2024

My environment variables do have an entry for JRE but a JDK entry is before that.. and that should ideally be picked as Env vars are traversed sequentially to pick the relavant process. Are you saying that I should try removing JRE entries completely out?

from pepper-box.

ganeshmuralidhar avatar ganeshmuralidhar commented on August 30, 2024

Awesome! This works now with the JM_LAUNCH set in the jmeter.bat file!!! Thanks a lot @Nachiket90 @satishbhor

from pepper-box.

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.