We have a jmeter injector box which uses 32GB heap size for jmeter jvm. When running load tests we noticed a big dip in injecting load when GC activity happens. Anyone experienced this before? Which GC algorithm we can use here?? Answer Most probably you’re seeing so called Stop-The-World There are garbage collection algorithms like: ZGC Shenandoah C4 which can
Tag: jmeter
Can’t pass extracted string into body object in JMeter [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 8 months ago. Improve this question
BUG! exception in phase ‘semantic analysis’ in source unit ‘Script2.groovy’
Recently, I have upgraded to the java version OpenJDK version “17.0.1” 2021-10-19 IBM Semeru Runtime Open Edition 17.0.1.0 (build 17.0.1+12) Eclipse OpenJ9 VM 17.0.1.0 (build openj9-0.29.1, JRE 17 Windows 10 amd64-64-Bit Compressed References 20211207_55 (JIT enabled, AOT enabled) Jmeter 5.4.3 is giving follow error in logs when running any JMX file. Any idea how to resolve this issue? 022-06-09 07:59:31,354
How to loop Samplers with different intervals in same loop using JMeter
Idea is to loop requests independently, the thread will run for 20 minutes. One Sample will sample every 5 seconds. Other Samples in Simple controller will loop one by one with 10 second delay. Answer I don’t think you will be able to run Samplers with different throughput within the bounds of one Thread Group because JMeter will always wait
JMETER non gui: Not able to generate folder using jmeter command line
I am unable to generate a folder/HTML report of jmeter in the command line. I have previously upgraded to the latest java and somehow it did not work. I have downloaded jdk8 but encountered this message below: jmeter: line 128: [: : integer expression expected jmeter: line 199: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home -v 1.8.331.09/bin/java: No such file or directory Answer You’re using
Using java.util.concurrent.TimeUnit shows GroovyBugError on JMETER
I am currently using JMETER with plugin for Selenium Web Driver Sampler. Why is this happening? any solution I can use so that I can use implicit wait, explicit wait, and fluent wait? Here is my code Answer Unsupported class file major version 61 Looking here – Java SE 17 = 61 (0x3D hex) so you’re using Java 17 which
JMeter: Groovy code for moving files from one directory to another stopped working. Any better approaches?
I had used the below mentioned Groovy code in the JSR223 Sampler to move my file from one directory to another. This was working until a few days back, now it no longer does. Any suggestions on how to get it working? Also, I tried using a Beanshell sampler to perform the same task, but was not successful with that
My plugin in jmeter throws java.lang.NoSuchMethodError: org.openqa.selenium.chrome.ChromeOptions.setBinary
I have plugin in JMeter, which throws java.lang.NoSuchMethodError: org.openqa.selenium.chrome.ChromeOptions.setBinary when I want to run plugin. Im pretty sure, that ChromeOptions.set binary method is on my classpath, maybe some library discrepancy. My build.xml : My code: Can someone give me a point how to solve this issue? Thank you Answer Your “plugin” depends on selenium-java 3.5.3, you need to make sure
redirecting thread group in every x sec in jmeter
I have a requirement where I need to check in If controller of Jmeter whether the elapsed time is greater than x seconds. For that, I created a timer from this post using System.CurrentTimeMillis and put it in a preProcessor But when I am running jmeter test plan, it is looping within timer and logging every 3 secs but not
How to parse ISO-8859-1 encoded Form Data in Parameters in Jmeter?
I am using Jmeter for recording my Application. I used Recording Controller template in Jmeter. When I tried to execute my script, I am getting an error message as Response code:400 & Response message:Bad Request. Could someone please help me how to read ‘Form Data’ in Request body? I have tried ‘Content-Type: as application/x-www-form-urlencoded’ but did not work. Below are