How do I get cucumber scenario names at run time, I want to send scenario names to browserstack so that I can see logs against scenario names

Is there a way we can get cucumber scenario names at runtime, I can get the feature name using test listener using testCaseContext.getTestCaseId()

Please can you check this.

Regards
Krishna

Please can you check this query.

Regards
Krishna

Please provide solution for this issue.