As it was mentioned in http://community.jaspersoft.com/wiki/getting-started-rest-web-service-api Example -> executing the sample code i did mvn test i am getting the following
Did you perhaps run the test twice? It creates a folder on the jasperserver, which won´t be deleted automatically. So, before re-running, you have to delete by yourself the folder.
If not, did you check the login credentials? Maybe you changed username and/or password on jasperserver? You would have to change this in the sample package too, there is a class with constants including username and password somewhere.
Answering my self the problem is due to embedded maven in eclipse
Have a look at the following link
For the first time itself it reported failure. and my login username and password are similar to jasperserver.
thanks for responding.