test ws api