test api setting