I am attempting to benchmark a third-party JBoss/Tomcat application using Apache JMeter, however JMeter cannot log onto the application. Apparently during the authentication process, the system sets the jsessionid variable using URL rewriting. Once the user is logged in it tracks it using a cookie. The URL rewriting appears to be what's stopping JMeter. My question is, how can I configure JBoss/Tomcat to perform the authentication using cookies, and not use URL rewriting at all? I've tried switching from form to basic authentication, but it didn't work. Thanks.