How to print the SSE response body in the console?

.exec(
sse(“Stocks”).connect("/api/a/dd/batch/${requestID}")
.await(10)(
sse.checkMessage(“DD-SSE-Batch”).check(regex(""“DD-SSE-Batch-(.*)”""))
.check(bodyString.saveAs(“TestDEV_Batch_request”)))
)
.exec( session => {
println(session(“TestDEV_Batch_request”).as[String])
session
})

I am using the above code, but facing issues for the same