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

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: 17734
302
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.
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic