Comments (15)
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.
yes
from pepper-box.
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
from pepper-box.
Same issue for me as well.
from pepper-box.
@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?
In case if you want to send keyed message then keyed message property should be set to 'YES'
from pepper-box.
@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?
from pepper-box.
@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.
Ok - But my where javac shows JDK path!
from pepper-box.
@ganeshmuralidhar can u do one thing when u launch Jmeter can u trace which java command it picks
from pepper-box.
Can you elaborate on how to capture that? @satishbhor
from pepper-box.
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.
from pepper-box.
@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.
from pepper-box.
Thats the issue :), try checking ur environment path variables, incase any variable is pointing to JRE.
from pepper-box.
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.
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)
- Compression feature is not working HOT 1
- please add support for new kafka versions HOT 1
- FR - Add "--num-messages" option on PepperBoxLoadGenerator
- How to get vars values in Kafka Producer
- Publish this plugin on jmeter-plugins.org
- com.gslab.pepper.Message not found HOT 2
- Caused by: java.lang.IllegalArgumentException: Could not find a 'KafkaClient' entry in `jaas.conf`.
- Data Parameterization (Using CSV Data Set config) in JMeter while using Pepper Box HOT 1
- java.lang.ClassFormatError: Truncated class file in Pepper Box for larger json files HOT 3
- Can't add properties in PepperBoxKafkaSampler HOT 1
- ERROR c.g.p.l.i.PlaintTextLoadGenerator: Please make sure that expressions functions are already defined and parameters are correctly passed. com.gslab.pepper.exception.PepperBoxException: java.lang.NullPointerException. JDK is mentioned in path, have also modified JM_Launch HOT 1
- Pepperbox Config has high priority than Beanshell Sampler or Preprocessor
- How to attach the Avro schema along with the payload
- Message encryption
- Unable to increase number of threads
- JMeter KAFKA connection using SCRAM authentication HOT 3
- Kafka version 3.3.1 not supported? HOT 2
- Any Remediation Plan for Veracode SCA Vulnerability Findings?
- Provide provision to add key to message
- Class pepper.Message not present in Pepper-Box jar
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 pepper-box.