This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
master stewards:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
garden masters:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Load tester for a legacy JSP application behind proxy

Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to troubleshoot a memory leak that supposedly happens on one of my companies production server. So far we have two servers running the application: the new one that has the UI and a quartz engine, and the old server that has just the UI. We eventually want to cut over to the new server but once a lot of traffic starts coming to it then we get some sort of memory leak. The UI by itself on the legacy server works fine, and the quartz produced queuing engine and UI run fine when it's just the queuing engine that runs every 15 min and minimal user traffic. This application was originally maintained by another developer so we don't have the actual error in production that is thrown. I have been trying to duplicate the memory leak in lower environments but cannot do so. I wrote a program to load a bunch of test jobs for the queuing engine to run, and have overloaded while watching JConsole for any memory leak signs.. Everything looked fine so I feel I can rule out there is no issues there.

Next I am trying to mock a bunch of users coming to the site, and I have used JMeter but that requires a proxy in the browser.. and my work requires a proxy to access the intranet/internet and the setting points to a script. So, I have no way of even passing JMeter some sort of host/proxy and when I pass it the one that it points to for the script, my work just blocks all my access. I tried LoadUI which uses a bunch of gets requests.. but it also works with soapUI for actual recording and creating jobs to run, but it also was talking about a wsdl, which I don't understand how to write, so soapUI is a bit of a learning curve for me to use and understand, same as the Grinder, which also seems to require a proxy (and would put me in the same boat as JMeter).

I tried writing some code to use the model code to create a bunch of jobs that is used by the UI, but I quickly realized that it's hard to spawn off threads and mock a bunch of users coming in using a reference to the httpServletRequest object as one object should really be for one request (at least from what I gathered reading).

Any ideas on a good load tester application that will help me get over the current obstacles?
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!