{ "description": "chat index, agent page, history paging and input validation", "steps": [ {"send":{"type":"ping"},"expect":{"type":"pong"}}, {"send":{"type":"http_request","method":"GET","path":"/"},"expect":{"type":"http_response","status":200,"headers":{"Content-Type":"text/html; charset=utf-8"}}}, {"send":{"type":"http_request","method":"GET","path":"/agent-test"},"expect":{"type":"http_response","status":200,"headers":{"Content-Type":"text/html; charset=utf-8"}}}, {"send":{"type":"http_request","method":"GET","path":"/agent-test/api/history"},"expect":{"type":"http_response","status":200,"body":{"agent":"agent-test"}}}, {"send":{"type":"http_request","method":"POST","path":"/agent-test/send","body":{"text":" "}},"expect":{"type":"http_response","status":400}} ] }