see,
case 1: I gave like assertion is "true" then end the test. In this case my assertion got succeeded (because i gave correct value in "expected value" field) and all my test cases got passed.
case 2: I gave like assertion is "true" then end the test.In this case my assertion got failed (because I gave a wrong value in "expected value" field). This time also all my 3 test cases got passed.
Note: assertion is in my 1st test case
If the service which I m testing is not working then case2 will happen, correct?.So in that case how will I know if my test case get passed?
My question is : I am expecting a value "x" in one field which I made it as expected value. So if my service has no issues then "x" will be obtained in the response and then it will match exactly with my expected value. What if when my service is down? I wont get "x" in my response. Then my assertion will become false. But how do I know that if my test case gets passed?
And I m not sure all my assertions are executed if I have multiple assertions in my test case.
see screen shot attached