Add a new file restapitest
fix defect 4117 and 4113