I've wrote tests few days back and they worked without problem.
Now when I try to run them, they exit with code 1 and error message:
An error occurred: null
I'm running it on TeamCity
.jtl file is created with no problem.
Here is fragment of log from run.
[17:03:02][Step 2/2] jmeter args=-g tests/report/dynamic-checkout.jtl -o tests/report/dynamic-checkout
[17:03:03][Step 2/2] Dec 05, 2019 4:03:03 PM java.util.prefs.FileSystemPreferences$1 run
[17:03:03][Step 2/2] INFO: Created user preferences directory.
[17:03:03][Step 2/2] An error occurred: null
[17:03:03][Step 2/2] Process exited with code 1
[17:03:03][Step 2/2] Process exited with code 1 (Step: Performance Tests Execution (Command Line))
[17:03:03][Step 2/2] Step Performance Tests Execution (Command Line) failed
I've tried to find solution, but I've just found few articles that are about java version. Solution provided in other issue on stackoverflow:
alternatives --config java
When I tried to use this, TeamCity shows me, there is only 1 java version and that is selected.
Aucun commentaire:
Enregistrer un commentaire