• 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

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

 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic