Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Load tester for a legacy JSP application behind proxy  RSS feed

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?
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!