Docs & Support
Get A Free Trial
close mobile menu
Community Forums Forum
AJAX and Web 2.0
Live Streaming of Sysout and SysErr onto the JSP Page on executing a testcase
Feed for this thread
1 posts, 0 answers
Posted 08 Oct 2009
Link to this post
I am new to this forum.
In my project I am running, say 10 testcases at a time using junit.textui.TestRunner.run(). The Sysout and Syserr are moved into a DB once the testcase execution is complete and I display the results (including Success State and SysOut and SysErr, if applicable)from the DB.
Right now the task I have in front of me is that I need to stream the Sysout and SysErr live (while the testcases are executing) to the
would be a great
for this. I tried moving the Sysout to a string while the testcase is executing and then refresh the
page every 2 secs such that the
calls a servlet which fetches the updated Sysout string and displays it in the same
This page refresh is too costly and a pain of overload on the
Thats the main reason why I thought of using
for this matter. Can someone shed some idea on a way to accomplish this.
I have read thru polling, comet/longpolling, piggy back techniques. But I am nt sure how to implement those. Do u think any of these is really required or is there a difft easy efficient method?
I use a JAVA SERVLET -
- DB (MVC) model for my project.
Back to Top