added errors to url post test cases.