So some are confused about what exactly is the requirement. Here is a full description.
I have 2 machines.
Machine 1 - Server : A Virtual machine where Fitnesse is deployed.
Machine 2 - A local machine where I have to access all the information in a java project.
Now, I have 1 Test Page with the content in form of:
|Import|
|Fixtures|
|AdditionTestPageFixture|
|a|b|doAddition?|
|1|2| 4 |
in the server machine. I access this page from my machine using the URL : http://x.x.x.x:xxxx/FrontPage.ArithmeticSuite1.AdditionTestPage
Coming back to my local machine.
I have a JAVA project created where I need to know which class is being used in this Fixture so basically I want to read this content and extract word "AdditionTestPageFixture".
I can't go to server through putty and access files there, that should not be done. Whatever I can do, I should do through Fitnesse only. So,
1. I cant go to directory where the pages are stored on that server machine and extract content.
2. I can't use URLConnetion to send HTTP requests because the response is a HTML response and parsing that whole content will be tedious.