1. win generate a test plan under
2. upload to Linux
3 , run the test plan
SH jmeter.sh-n-T second_login.jmx-l res.jtl
Error 1:
Solution:
Remove the JDK version from the original Linux system into the new JDK version and configure the new version of the JDK path in the environment variable
Source/etc/profile
Error 2:
The cause of this error is now in two cases:
In case 1, the lower version of JMeter runs a higher version of the test plan (the test plan was compiled on a higher version of JMeter). Workaround: Run the plan with the same or a later version of JMeter.
Scenario 2, a test plan generated using a third-party plug-in is run on a jmeter that does not have the third-party plug-in. Workaround: Install the plug-in on JMeter or rebuild the test plan that does not contain the plug-in.
is really less plug-ins, it is important to note that if the error, then win under the use of JMeter version copy to Linux, so as to ensure that the plug-in and version good consistency
4 , Run complete
5 , speak res.jtl file incoming win under View results
Run JMeter script under Linux