Hi,
I am trying to integrate Graphwalker machine based model based testing for a python based web application.
I have downloaded jar - dev standalone CLI - branch 3.2.1 from link provided in documentation and started GraphWalker with command java -jar graphwalker-3.2.1.jar -d ALL online -p 8887.
Per API documentation, for a getNext request the following response is expected
Request:
{
"type": "getNext"
}
Response:
{
"type": "getNext",
"id": "Element id",
"name": "Element name"
"success": boolean,
"msg": "If success is false, a message will returned",
}
But upon testing this in http://www.websocket.org/echo.html I am getting the following response from graphwalker machine
SENT: {"type":"getNext"}
RESPONSE: {"visitedCount":1,"id":"e0","type":"visitedElement"}
RESPONSE: {"success":true,"type":"getNext"}
full trace:
RESPONSE: {"success":true,"type":"loadModel"}
SENT: {"type":"start"}
RESPONSE: {"success":true,"type":"start"}
SENT: {"type":"hasNext"}
RESPONSE: {"success":true,"hasNext":true,"type":"hasNext"}
SENT: {"type":"getNext"}
RESPONSE: {"visitedCount":1,"id":"e0","type":"visitedElement"}
RESPONSE: {"success":true,"type":"getNext"}
Could you please let me know if I am missing some thing.
Thanks in advance.
Cheers,
Ravi