• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

webapp in container testing stategy

 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello;
I have a web app that calls webservices and servlets to actually funtion.
I have been asked to come up with a way to validate behavior in the actual container. Not using mocks and stubs and preferably not use the webapp presentation to test the server side function calls.

Hoping for some guidance on current strategies. What I am finding.
one of the desired goals is to not a

(the old way): HTTPUNIT/HTMLUNIT/Cactus ontop of junit - effective, developers have experience using it. Looks like it can be a real pain if you have to build long complex web conversations.


selinium: to track web app conversation. and replay it. pro/con fast easy but cannot separate browser app from back end calls.

There was a desire to use testng but I am not finding any documentation/examples on the web where testng is launching in-container based tests.


any thoughts/ opinions
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to checkout Arquillian http://arquillian.org/
 
peter cooke
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for the suggestion. A quick look at the link, but i will look further at the documentation. a quick Look at the link indicates aquillian assumes you are using jboss server.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

peter cooke wrote:a quick Look at the link indicates aquillian assumes you are using jboss server.



JBoss is just one of the many servers that are supported. Tomcat, TomEE and even GlassFish are the others which are supported as far as I remember. Here's the relevant part from the documentation http://arquillian.org/guides/getting_started/#add_a_container_adapter

 
Good heavens! What have you done! Here, try to fix it with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic