@Shakthi sir... i tried to implement the steps you mentioned
...but i got stuck up at step no 5...when i give the command  'curl
localhost:5000/current' in my terminal...it gives me this error..
'curl: (7) Failed connect to localhost:5000; Connection refused'
Kindly help me out with this

On Sat, Sep 20, 2014 at 11:10 AM, Shakthi Kannan <[email protected]>
wrote:

> Hi,
>
> --- On Sat, Sep 20, 2014 at 6:01 AM, YOGESHWAR DAN CHARAN
> <[email protected]> wrote:
> | I got the things running as per the steps you showed. Diff of xml
> | outputs[1] on terminal 2 was non empty i.e. xml files generated are
> | actually different.
> | [1]http://fpaste.org/135039/11726641/
> \--
>
> Bingo! Well done.
>
> The difference in the XML is due to the execution state change sent by
> the adapter when you ran simple_scenario_1.txt
> (2|execution|INTERRUPTED).
>
> If you decide to take the next challenge, I would like you to first go
> through the XML relevant code in the agent/ folder (xml_* files). The
> task is to write an equivalent JSON emitter in the agent. In other
> words, when you do:
>
>   $ curl localhost:5000/current
>
> instead of an XML, we should receive a JSON.
>
> SK
>
> --
> Shakthi Kannan
> http://www.shakthimaan.com
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.dgplug.org/listinfo.cgi/users-dgplug.org
>



-- 
Pallavi Chaurasia
Undergraduate Student
Department of Computer Science And Engineering,
National Institute of Technology Durgapur,
India.
Contact no : +91 8001814820
email : [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.dgplug.org/listinfo.cgi/users-dgplug.org

Reply via email to