Forum Discussion
I have no assertions added to the test.
As for the test case structure I have 3 test , two of them fail one passes.
The first test that fails, has 2 steps that are rest request.
Hope this is enough
I have made another discovery, that the test that look like they have failed from java actually have not.
I assume that the error comes from when I override the afterRun() method.
here is a code snippet of the afterRun() method:
@Override
public void afterRun(TestCaseRunner runner, TestCaseRunnerContext context) {
super.afterRun(runner, context);
...
output.append("Status" + runner.getStatus().toString());
...
}
A better assumption is that runner.getStatus().toString() returns fail when it should return finished.
I mentioned earlier that the test which fails has the additional security scans compared to the one which passes.
Regards,
Andrei
Hello,
Do you have any updates on this?
Related Content
- 3 years agosth2ot