AshisRaj / cucelastic-maven-plugin

Real-time reporting of cucumber tests to Elastic Search
GNU General Public License v3.0
17 stars 9 forks source link

A JSONArray text must start with '[' - error message while I 'm execute my cucumber tests via Jenkins #10

Open ghost opened 3 years ago

ghost commented 3 years ago

Hello I have got my cucumebr test suite. I have added your plugin into my pom.xm file. Connection to remote elasticsearch works fie. While I'm running my test cases via Jenkins pipeline I have this error message. It is visible in Jenkins's console log.

[INFO] com.mashape.unirest.http.exceptions.UnirestException: java.lang.RuntimeException: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]

Could you tell me how to fix it?

AshisRaj commented 3 years ago

Is it coming from the plugin code? Please attach the complete stack trace if possible.