Assertion result handling
Hello,
Within a project I have 2 test suites (A and B). Groovy TestStep (from B) calls REST TestStep (from A)
Project
TestSuite A
TestCase A
TestSteps
REST TestStep
TestSuite B
TestCase B
TestSteps
Groovy TestStep
When I run groovy TestStep and the REST server is not up (Connection refused) the assertions configured on REST TestStep (A) not setting the assertion's message or error status. If I open (double click) on the GUI the TestStep (A) first and then run Groovy TestStep then I got the status. Why???
Mon Jan 24 11:43:58 CET 2021:INFO:Test step name: REST TestStep - POST method
Mon Jan 24 11:43:58 CET 2021:INFO:Assertable
Mon Jan 24 11:43:58 CET 2021:INFO:Assertion (Valid HTTP Status Codes) status: UNKNOWN
Mon Jan 24 11:43:58 CET 2021:INFO:Assertion (Contains) status: UNKNOWN
Mon Jan 24 11:43:58 CET 2021:INFO:Assertion (JsonPath Count) status: UNKNOWN
Mon Jan 24 11:43:58 CET 2021:INFO:Assertion (JsonPath Existence Match) status: UNKNOWN
Mon Jan 24 11:43:58 CET 2021:INFO:Assertion (JsonPath Existence Match) status: UNKNOWN
Mon Jan 24 11:43:58 CET 2021:INFO:Test step final result: FAILED
Mon Jan 24 11:43:58 CET 2021:INFO:Response Content: <missing response>
Mon Jan 24 11:43:58 CET 2021:INFO:Test step result: FAILED ==> Test not passed
Mon Jan 24 11:54:08 CET 2021:INFO:Test step name: REST TestStep - POST method
Mon Jan 24 11:54:08 CET 2021:INFO:Assertable
Mon Jan 24 11:54:08 CET 2021:INFO:Assertion (Valid HTTP Status Codes) status: FAILED
Mon Jan 24 11:54:08 CET 2021:INFO:-> Error message: Status code extraction error!
Mon Jan 24 11:54:08 CET 2021:INFO:Assertion (Contains) status: UNKNOWN
Mon Jan 24 11:54:08 CET 2021:INFO:Assertion (JsonPath Count) status: FAILED
Mon Jan 24 11:54:08 CET 2021:INFO:-> Error message: null/empty response
Mon Jan 24 11:54:08 CET 2021:INFO:Assertion (JsonPath Existence Match) status: FAILED
Mon Jan 24 11:54:08 CET 2021:INFO:-> Error message: null/empty response
Mon Jan 24 11:54:08 CET 2021:INFO:Assertion (JsonPath Existence Match) status: FAILED
Mon Jan 24 11:54:08 CET 2021:INFO:-> Error message: null/empty response
Mon Jan 24 11:54:09 CET 2021:INFO:Test step final result: FAILED
Mon Jan 24 11:54:09 CET 2021:INFO:Response Content: <missing response>
Mon Jan 24 11:54:09 CET 2021:INFO:Test step result: FAILED ==> Test not passed