• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

How to check web application performance test using JWebUnit

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have done web application and deployed in tomcat. Its running successfully.

I wrote JWebunit test class for test my web application. Its working for me.

Then i tried to check: Simultaneously 100 request to access my application. But nothing happened in the JwebUnit test class.

Normal code: working fine. Means the request passed and proceed request by deployed application.


The abode code is working fine. So i tried to implement thread concept for this code. But nothing happened for me.
Nothing received by my application.


My actual web application, i got from here How to call javascript method from JWebunit

Help me.
Thanks in advance.
 
Sheriff
Posts: 17416
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JUnit is probably terminating before the spawned thread can do anything and thereby also terminating the spawned thread. If you search for multithreaded JUnit testing, you'll find a number of techniques that you can try out.
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you haven't developed a lot of tests yet probably it is a good time to switch to JMeter - it's free and open source Java-based load testing solution from Apache.

If you already have a lot of coded JWebUnit test cases you can run them in multithreaded manner using JMeter's JUnit Request Sampler.

For more information refer to How to Use JUnit With JMeter guide.
 
reply
    Bookmark Topic Watch Topic
  • New Topic