• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Testing JNLP application

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any good method to test the JNLP application deployed in an application server?

Currently our team use "abbot" to test the swing application and it works fine, but the swing application is going to deployed through JNLP in application server and we want to find some good methods to test if the deployment environment configuration is okay or not. Any good sugguestion for that?

Thanks for any advice.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't written JNLP files myself, but would it be possible to just fetch the JNLP file programmatically over HTTP, parse (and validate?) the file, and check that all the server-side resources referenced in the JNLP file are actually available?
 
Yiu Wing Tsang
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your suggestion but I think that your approach may not be able to verify the correctness of the jnlp application as it cannot check if all of the dependencies have been included and stated correctly or the application can be run by the web start.

It would be the best to test the application using abbot just as like running as a simple swing application, however after searching through the web, not a solution can be found for help.

Or any idea to test a JNLP application in an automatic and general way rather than by hands?

(sorry that I have repeated the same post in the other forum)
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm. How about including some kind of self-diagnostics tests into the Webstart application itself? Something that could be run with a shortcut under the "Help" menu, for example?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic