• 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 tool to compare Download time

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am new to writing unit/automation test for a program, I do have a program that was Written using EBJ entity beans. It does a download after searching for the fields from the database. The download takes 20 minutes or even time out some times, so changes have been be made to speed up the download eg.....enable caching, and some other changes.

My job now is to prove that this download that is taking 20 minutes now take 4 minute, for this I have to either write a unit test, or some kind of Automation test to prove it.

What tool is best to use? If it is JUnit, how do I go about it. Please help

Thanks
 
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'd probably write such a test with something like HtmlUnit, running against the application deployed to an in-memory Jetty web container.

I have to say, though, that the speed of downloads tend to be limited by the bandwidth of the network connection rather than by something you do at server side, which makes me curious about what you're doing behind the scenes when a download request arrives? Just curious.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic