Report shows failures in the header

Hello there,
I have the following problem: after executing simulation, I can see in the header that I had some failed requests during simulation, but after expanding the group, I see only zeros (0).
So I know why this happens (I have markAsFailed method with no actual request sent), and I found a comment from @slandelle that I can find the issue in the log (I know also that :slight_smile: ), but the client wants to see it in the report without searching for the issues in the log.

My question is β†’ is it possible somehow to display failure tho?
Maybe to add some dummy request that will be displayed in the report (I don’t know how, because it is not possible to add request inside session block)?

Here is the code snippet:

.doIf(session -> !Objects.equals(session.getString("EmployeeId"), "322")).then(
                                            exec(session -> {
                                                System.out.println("User account was not successfully validated, yet! On-boarding is incomplete.");
                                                return session.markAsFailed();
                                            })
                                    ).exitHereIfFailed()

Here is the report example:

This is what I found so far:

Thanks in advance!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.