You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Georgia Tanaka <gt...@dentalxchange.com> on 2003/05/20 20:44:57 UTC
Problem with getting Https to work - Getting 302 or 403 error
Jmeter users,
I. Problem:
Just installed jmeter. Having problems getting https to run. Get either
the following:
1) If name on certificate is same as hostname, I get endless loop, 302
error.
2) If name is different I get 403 forbidden error.
Anyone encountered this before and what was your resolution ? Your help is
greatly appreciated. Thanks, G
II. Configuration:
Jmeter 1.8.1 and JDK1.4. On Windows2000. Server is Jboss.
Launching step: c:jmeter\bin\jmeter
III. Property Setup:
############################################################################
####
# Apache JMeter Property file
############################################################################
####
#Preferred GUI language. Comment out to use the JVM default locale's
language.
#language=de
#Paths to search for classes (";" must be the separator)
search_paths=lib/ext
# Netscape HTTP Cookie file
cookies=cookies
# Authorization
authorization=authorization
#Working directory
user.dir=.
# XML Reader(Parser) - Must implement SAX 2 specs
xml.parser=org.apache.xerces.parsers.SAXParser
#Classname of the ssl provider to be used (to enable testing of https urls)
#And the package name where Stream Handlers can be found
#These provided defaults can be uncommented, and they will work if you are
using
#Sun's JSSE implementation.
ssl.provider=com.sun.net.ssl.internal.ssl.Provider
#ssl.provider=iaik.security.jsse.provider.IAIKJSSEProvider
ssl.pkgs=com.sun.net.ssl.internal.www.protocol
#The location of the truststore (trusted certificates) if other than the
default.
#you can uncomment this and change the path to the correct location.
#javax.net.ssl.trustStore=/path/to/cacerts
#Alternative protocol of the ssl provider for IAIK JCE + iSaSiLk
#You can also override IAIK specific Providers as well.
#ssl.pkgs=iaik.protocol
#ssl.provider=com.mycompany.security.provider.SmartProvider
#iaik.provider=com.mycompany.security.provider.SmartSSLProvider
#Flag for whether to output debug messages to System.err
#To enable it, set the value to "all" Note, for it to work with
#JSSE, it needs to be done from the Java command (i.e.
-Djavax.net.debug=all)
javax.net.debug=all
#Classname of the Swing default UI
#Installed Look and Feel classes on Windows are:
# Metal = javax.swing.plaf.metal.MetalLookAndFeel
# Motif = com.sun.java.swing.plaf.motif.MotifLookAndFeel
# Windows = com.sun.java.swing.plaf.windows.WindowsLookAndFeel
jmeter.laf=javax.swing.plaf.metal.MetalLookAndFeel
#icons -> moved to program code
#timer.tree.icon=timer.gif
#listener.tree.icon=ear.gif
#bench.tree.icon=clipboard.gif
#thread.tree.icon=thread.gif
#control.tree.icon=knob.gif
#plan.tree.icon=beaker.gif
#config.tree.icon=leafnode.gif
# Remote Hosts - comma delimited
remote_hosts=127.0.0.1
#Components to not display in JMeter GUI
not_in_menu=Remote Method Configuration,JNDI Configuration,JNDI Lookup
Configuration,JNDI Request,Default
Controller,org.apache.jmeter.control.DynamicController,
org.apache.jmeter.protocol.http.control.Cookie,org.apache.jmeter.protocol.ht
tp.control.Authorization,org.apache.jmeter.config.LoginConfig,Header,org.apa
che.jmeter.protocol.http.config.MultipartUrlConfig
#Logging levels for the logging categories in JMeter. Correct values are
FATAL_ERROR, ERROR, WARN, INFO, and DEBUG
log_level.jmeter=WARN
log_level.jmeter.engine=WARN
log_level.jmeter.gui=WARN
log_level.jmeter.elements=WARN
log_level.jmeter.util=WARN
log_level.jmeter.util.classfinder=WARN
log_level.jmeter.test=DEBUG
log_level.jmeter.protocol.http=WARN
log_level.jmeter.protocol.ftp=WARN
log_level.jmeter.protocol.jdbc=WARN
log_level.jmeter.protocol.java=WARN
log_level.jorphan=ERROR
#Log file for log messages.
log_file=jmeter.log
#---------------------------------------------------------------------------
# Results file configuration
#---------------------------------------------------------------------------
# This section helps determine how result data will be saved.
# The commented out values are the defaults.
# legitimate values: xml, csv, db. Only xml is currently supported.
#jmeter.save.saveservice.output_format=xml
# true when field should be saved; false otherwise
#jmeter.save.saveservice.data_type=true
#jmeter.save.saveservice.label=true
#jmeter.save.saveservice.response_code=true
#jmeter.save.saveservice.response_data=false
#jmeter.save.saveservice.response_message=true
#jmeter.save.saveservice.successful=true
#jmeter.save.saveservice.thread_name=true
#jmeter.save.saveservice.time=true
# legitimate values: none, ms, or a format suitable for SimpleDateFormat
#jmeter.save.saveservice.timestamp_format=ms
#jmeter.save.saveservice.timestamp_format=MM/dd/yy HH:mm:ss
# legitimate values: none, first, all
#jmeter.save.saveservice.assertion_results=none