I want to run my tests from the command line using maven but for some reason I am getting a “com.google.gson.stream.MalformedJsonException: Use JsonREader.setLenient(true) to accept malformed JSON at line 1 column 3.” When I click the “run tests” button in Webtestit, everything works perfectly. I am not sure why one works and one doesn’t. I have read solutions online about setting the json reader to lenient but I am not sure how that applies to webtestit.
Here is a picture of the cmd:
Here is the line where the failure happens in “TestNgTestBAse.initTestSuite.java”:
Feel free to ask me questions! I would love a solution or to be pointed in the right direction.