Common errors when JMeter starts

When many friends are learning the tool, the installation is also a very difficult problem. I remember talking about how to install the jmeter tool before. Then when you want to start jmeter, some fans will encounter the following problems.

1. Unzip the downloaded jmeter installation, Windows platform, double-click the jmeter.bat file in the jmeter/bin directory, jmeter cannot start and the error is as follows:

(1) In the red box in the figure, if it prompts ERRORLEVEL=1 error, edit the jmeter.bat file, comment out set DUMP=-XX:+HeapDumpOnOutOfMemoryError or because the machine uses the 1.5 jdk environment, the version is too low, upgrade The jdk version is fine.

(2) If the prompt ERRORLEVEL=2 is wrong, it means that the jdk environment is not configured properly, just reconfigure it

(3) If the ERRORLEVEL=3 error is displayed, it is because the version of jdk installed in the current system is too low and does not meet the requirements of jmeter. Installing the corresponding version of jdk can solve the problem.

For example: jmeter3.x requires the jdk version to be at least 1.7. If the jdk version is lower than 1.7, it will report ERRORLEVEL=3 error when starting.
2. When you click jmeter.bat, the pop-up prompt is as follows:
insert image description here

Not enough storage

Just modify the memory in jmeter.bat

before fixing:
insert image description here

After modification:
insert image description here
3. When using the cookie manager, the request result shows no cookie value

Check if there are multiple http cookie managers, because it is better to have only one http cookie manager in a test plan

Finally, I would like to thank everyone who has read my article carefully. Reciprocity is always necessary. Although it is not a very valuable thing, you can take it away if you need it:


              [The following is the most complete software test engineer learning knowledge architecture system diagram in 2023 that I compiled]


1. From entry to mastery of Python programming

2. Interface automation project actual combat

3. Actual Combat of Web Automation Project


4. Actual Combat of App Automation Project

5. Resume of first-tier manufacturers


6. Test and develop DevOps system

7. Commonly used automated testing tools


Eight, JMeter performance test

9. Summary (Small surprise at the end of the article)

life is long so add oil. Every effort will not be let down, as long as you persevere, there will be rewards in the end. Cherish your time and pursue your dreams. Don't forget the original intention, forge ahead. Your future is in your hands!

Life is short, time is precious, we cannot predict what will happen in the future, but we can grasp the present moment. Cherish every day and work hard to make yourself stronger and better. Firm belief, persistent pursuit, success will eventually belong to you!

Only by constantly challenging yourself can you constantly surpass yourself. Persist in pursuing your dreams and move forward bravely, and you will find that the process of struggle is so beautiful and worthwhile. Believe in yourself, you can do it!

Guess you like

Origin blog.csdn.net/NHB456789/article/details/132166078