For my website I had writter few testcases in FuncUnit. I wanted to reuse those testcases in Grinder for purpose of load testing. As I am a beginner I wanted to ask if this was achievable if yes then how can i achieve it ? All suggestions are welcome.
Load testing is really for one endpoint being able to handle many requests, which makes sense for a server setup. However, on the UI side, you're basically creating a distributed application. You shouldn't need to load test the client, as there's only one user(each user is able to handle processing).
I recommend load testing your service endpoints, as they will have many users, and critiquing performance on the client. This can be done through Chrome dev tools or any sort of client profiler. The following is a well written article on what to look for in client side applications: http://developer.yahoo.com/performance/rules.html
What I am doing is from Grinder I try to open my test.html. Now what I want is Funcunit should not pop-up another window but run in same window because I want grinder to listen to the request made by funcunit .[ And I not interested in seeing Qunit results ] I know its difficult to understand . Let me know if you have tried to run funcunit on same page.
It's not possible for FuncUnit to run in the same window unless the target window (that would usually be a popup) is in an iframe. If FuncUnit opened the target app in its window, then FuncUnit wouldn't be running anymore.
Like the previous posters said there are other tools for testing front-end performance. It seems like you are using FuncUnit to test the backend services which its not designed to do. I would just write your tests in Jython and make your HTTP requests through that to test the backend.