Hello,
I'm trying to send NeoLoad results to Dynatrace after I've followed the documentation, but there is an error in the DynatraceEvent action when I launch the test script:
"java.lang.StringIndexOutOfBoundsException: String index out of range: -1"
Code error: NL-DYNATRACE_EVENT_ACTION-02
Nothing is writen in Dynatrace an I have no further informations :/
Thank you.
Hello Antoine,
In the source code the line raising the error is this one :
final String entities = entitiesBuilder.substring(0, entitiesBuilder.length() - 1);
You must check your parameters. You may have added more than needed. (values, number of parameters)
Best Regards,
Fousseyni B.
Hello Antoine,
Did you check the value of each parameter to look for some added spaces ? It is maybe because you paste space character or some additional character.
Best Regards,
Fousseyni B.
Thank you for your responses.
There is no more white spaces on the parameters of the two actions (monitoring & event), but the error is still present.
Hello Antoine,
Can you enable the debug mode for logging and display the log content ?
Best Regards,
Fousseyni B.
The problem was: one of the 2 tags I entered in parameters was on a "Technology", not on a "Transaction" or a "Service" on Dynatrace.
It looks like NeoLoad can't mesure tagged "Technologies"...
Thank you for all your responses.
Regards,