added JS http,websocket test case