aspose file tools*
The moose likes Testing and the fly likes testing application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "testing application" Watch "testing application" New topic
Author

testing application

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hi. I'm pretty much sure where should I post such a question, so if moderator doesn't find this are appropriate please redirect the post.
However it's about testing application from internal network. I built private network area (ten computers), where my PC is in role of server, and other Pc-s are, of course clients. Now I would like that application I built to be tested by these clients. How can I perform such a testing, or in other words, what is the address of my application when she is approached from client machine? Thanks in advance
Oscar Costa
Ranch Hand

Joined: Feb 05, 2009
Posts: 31

Hi Slobodan,

Are your building a web application (servlet/jsp) or a client server application (socket, rmi, corba, etc)?

Usualy, in client server application is used IP to network communication.

"Do or do not... there is no try!" - Jedi Master Yoda
> SCJP 5 : SCWCD 5 : SCBCD 5 <
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
I'm building web application based on servlet/jsp. I use many other technologies but they are not in the matter of fact. So I use JSP/Servlet. Do you know maybe the answer?
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Considering that my Ip is 192.168.0.1, and at client machine gateway is the same, and I have perfectly established communication between these two pc .But what would be the full address to my application from her computer?
This is address when her approach my computer:

\\Name_of_Server\some_content

and this is the address of my application :

http://localhost:8080/project_sler

So, I believe that I should bind these two addresses, somehow
But how ?
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
It's ok, I have accomplished task... I mean I have accomplished connection from client to server, but there is a second problem.
I, as my self, am part of a bigger network, so my personal internal network is just part of my private network. In other words, I get an internet through wireless connection, with provider. That is huge internal network. Now I create my personal network, with several computers, where each computer has an access through my computer, but non of these, my private computers, are not directly on this big internal network which supply me with internet...
Now, the clients from my own network can connect to my web application when Tomcat is deployed. Now I would like that every user of internet-providing-network, has also access to my computer- to my application.
The clients, my own, in order to utilize my application, are typing my ip address + port + application name.
I try the same, from another computer of internet-providing-network, supplying the ip address, which is assigned to me from the administrator + port+ application name. And it want.
SO I believe that problem is an access constraints, made by internet-provided-network administrator, which probably doesn't allow access to computers between users. What do you thinks?
Oscar Costa
Ranch Hand

Joined: Feb 05, 2009
Posts: 31

Now, it's a network "problem".
You need to forward the http service from your server to the internet.
Maybe your ISP is blocking the http traffic from inside to outside...
Hector Tenedero
Ranch Hand

Joined: Oct 13, 2008
Posts: 31
I don't know if I clearly understood your problem but here it goes. Have you tried looking at OWASP . Some of my configuration files are based on their articles. I hope this helps.
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Thanks, I'll take a look :-)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: testing application