[webapi]Add a </testcase> tag to tests.xml file

repair the bug 2931.
Pay attention to the indent.

By the way, `tests.xml` shall be generated from `tests.full.xml`. Is this `tests.full.xml` correct?