jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From radcio <raduci...@yahoo.com>
Subject cannot login the webserver when I'm proxy-ing the connection
Date Wed, 23 May 2007 17:21:18 GMT

when I record a sequence of actions with  HTTP Proxy Server I get the
following error:

2007/05/23 18:03:48 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_IE 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: Loading user properties from:
user.properties 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: Loading system properties from:
system.properties 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: Copyright (c) 1998-2006 The
Apache Software Foundation 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: Version 2.2 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: java.version=1.6.0 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: os.name=Windows XP 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: os.arch=x86 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: os.version=5.1 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: Default Locale=English (Ireland) 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: JMeter  Locale=English (Ireland) 
2007/05/23 18:03:49 INFO  - jmeter.JMeter:
JMeterHome=D:\Test\jakarta-jmeter-2.2 
2007/05/23 18:03:49 INFO  - jmeter.JMeter:
user.dir=D:\Test\jakarta-jmeter-2.2\bin 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: PWD    
=D:\Test\jakarta-jmeter-2.2\bin 
2007/05/23 18:03:49 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties 
2007/05/23 18:03:54 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Cannot find .className property for htmlParser, using default 
2007/05/23 18:03:54 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for text/html is  
2007/05/23 18:03:54 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for application/xhtml+xml is  
2007/05/23 18:03:54 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for application/xml is  
2007/05/23 18:03:54 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for text/xml is  
2007/05/23 18:03:54 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
Parser for text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
2007/05/23 18:03:54 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log
sampler bean info 
2007/05/23 18:03:54 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser,
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser,
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser] 
2007/05/23 18:03:54 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access
log samper bean info init 
2007/05/23 18:03:55 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could
not create org.apache.jmeter.visualizers.MailerVisualizer.
java.lang.NoClassDefFoundError: javax/mail/MessagingException 
2007/05/23 18:03:55 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times 
2007/05/23 18:03:55 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1 
2007/05/23 18:04:09 INFO  - jmeter.gui.action.Load: Loading file:
D:\Test\jMeter_tests\testplan.jmx 
2007/05/23 18:04:09 INFO  - jmeter.save.SaveService: Testplan (JMX) version:
2.2. Testlog (JTL) version: 2.2 
2007/05/23 18:04:09 INFO  - jmeter.save.SaveService: Using SaveService
properties file version 408187 
2007/05/23 18:04:09 WARN  - jmeter.save.SaveService: Could not set up alias
MailerModel java.lang.NoClassDefFoundError: javax/mail/Message 
2007/05/23 18:04:09 INFO  - jmeter.protocol.http.sampler.HTTPSampler2: Local
host = NBGAL084 
2007/05/23 18:04:09 INFO  - jmeter.protocol.tcp.sampler.TCPSampler: Protocol
Handler name=TCPClientImpl 
2007/05/23 18:04:09 INFO  - jmeter.protocol.tcp.sampler.TCPSampler: Status
prefix= 
2007/05/23 18:04:09 INFO  - jmeter.protocol.tcp.sampler.TCPSampler: Status
suffix= 
2007/05/23 18:04:09 INFO  - jmeter.protocol.tcp.sampler.TCPSampler: Status
properties= 
2007/05/23 18:04:09 WARN  - jmeter.save.SaveService: Could not set up alias
JMSSampler java.lang.NoClassDefFoundError: javax/jms/Message 
2007/05/23 18:04:09 WARN  - jmeter.save.SaveService: Could not set up alias
SubscriberSampler java.lang.NoClassDefFoundError: javax/jms/MessageListener 
2007/05/23 18:04:09 WARN  - jmeter.save.SaveService: Could not set up alias
MailerVisualizer java.lang.NoClassDefFoundError:
javax/mail/MessagingException 
2007/05/23 18:04:09 WARN  - jmeter.save.SaveService: Could not set up alias
WebServiceSampler java.lang.NoClassDefFoundError:
javax/mail/MessagingException 
2007/05/23 18:04:09 INFO  - jmeter.save.SaveService: Using SaveService
properties version 1.8 
2007/05/23 18:04:09 INFO  - jmeter.save.SaveService: All converter versions
present and correct 
2007/05/23 18:04:40 INFO  - jmeter.gui.action.Load: Merging file:
D:\Test\jMeter_tests\WorkBench.jmx 
2007/05/23 18:04:52 INFO  - jmeter.protocol.http.proxy.Daemon: Proxy: OK 
2007/05/23 18:04:52 INFO  - jmeter.protocol.http.proxy.Daemon: Creating
Daemon Socket... on port 9090 
2007/05/23 18:04:52 INFO  - jmeter.protocol.http.proxy.Daemon: Proxy up and
running! 
2007/05/23 18:05:01 INFO  - jmeter.util.SSLManager: KeyStore Type: JKS 
2007/05/23 18:05:04 ERROR - jmeter.gui.GuiPackage: Problem retrieving gui
java.lang.NullPointerException
	at
org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.actionPerformed(ProxyControlGui.java:307)
	at javax.swing.JComboBox.fireActionEvent(Unknown Source)
	at javax.swing.JComboBox.contentsChanged(Unknown Source)
	at javax.swing.JComboBox.intervalRemoved(Unknown Source)
	at javax.swing.AbstractListModel.fireIntervalRemoved(Unknown Source)
	at javax.swing.DefaultComboBoxModel.removeAllElements(Unknown Source)
	at
org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.reinitializeTargetCombo(ProxyControlGui.java:598)
	at
org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.configure(ProxyControlGui.java:227)
	at org.apache.jmeter.gui.GuiPackage.getCurrentGui(GuiPackage.java:239)
	at
org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java:111)
	at
org.apache.jmeter.protocol.http.proxy.ProxyControl.placeSampler(ProxyControl.java:599)
	at
org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:305)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:128)

2007/05/23 18:05:05 INFO  - jmeter.util.SSLManager: KeyStore Type: JKS 
2007/05/23 18:05:06 INFO  - jmeter.util.SSLManager: KeyStore Type: JKS 
2007/05/23 18:05:10 INFO  - jmeter.util.SSLManager: KeyStore Type: JKS 
2007/05/23 18:06:29 ERROR - jmeter.util.SSLManager: Couldn't load keystore
java.lang.Exception: No key found
	at
org.apache.jmeter.util.keystore.DefaultKeyStore.load(DefaultKeyStore.java:68)
	at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:154)
	at
org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:141)
	at org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:88)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:231)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:148)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)

2007/05/23 18:06:29 INFO  - jmeter.util.SSLManager: JmeterKeyStore Location:
C:\Documents and Settings\radcio\.keystore 
2007/05/23 18:06:29 INFO  - jmeter.util.SSLManager: JmeterKeyStore type:
class org.apache.jmeter.util.keystore.DefaultKeyStore 
2007/05/23 18:06:29 INFO  - jmeter.util.JsseSSLManager: class
org.apache.jmeter.util.keystore.DefaultKeyStore 
2007/05/23 18:06:29 INFO  - jmeter.util.SSLManager: TrustStore Type: JKS 
2007/05/23 18:06:29 INFO  - jmeter.util.SSLManager: TrustStore Location:  
2007/05/23 18:06:29 INFO  - jmeter.util.SSLManager: TrustStore type: class
org.apache.jmeter.util.keystore.DefaultKeyStore 
2007/05/23 18:06:30 INFO  - jmeter.util.JsseSSLManager: JsseSSLManager
installed 
2007/05/23 18:06:32 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
readResponse: java.io.IOException: Server returned HTTP response code: 403
for URL: https://urs.microsoft.com:443/ 
2007/05/23 18:06:37 ERROR - jmeter.util.SSLManager: Couldn't load keystore
java.lang.Exception: No key found
	at
org.apache.jmeter.util.keystore.DefaultKeyStore.load(DefaultKeyStore.java:68)
	at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:154)
	at
org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:141)
	at org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:88)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:231)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:148)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)

2007/05/23 18:06:37 INFO  - jmeter.util.SSLManager: JmeterKeyStore Location:
C:\Documents and Settings\radcio\.keystore 
2007/05/23 18:06:37 INFO  - jmeter.util.SSLManager: JmeterKeyStore type:
class org.apache.jmeter.util.keystore.DefaultKeyStore 
2007/05/23 18:06:37 INFO  - jmeter.util.JsseSSLManager: class
org.apache.jmeter.util.keystore.DefaultKeyStore 
2007/05/23 18:06:37 INFO  - jmeter.util.SSLManager: TrustStore Type: JKS 
2007/05/23 18:06:37 INFO  - jmeter.util.SSLManager: TrustStore Location:  
2007/05/23 18:06:37 INFO  - jmeter.util.SSLManager: TrustStore type: class
org.apache.jmeter.util.keystore.DefaultKeyStore 
2007/05/23 18:06:37 INFO  - jmeter.util.JsseSSLManager: JsseSSLManager
installed 
2007/05/23 18:06:38 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
readResponse: java.io.IOException: Server returned HTTP response code: 403
for URL: https://urs.microsoft.com:443/ 
2007/05/23 18:06:41 ERROR - jmeter.util.JsseSSLManager: Exception occurred
java.lang.NullPointerException
	at java.util.Hashtable.put(Unknown Source)
	at java.util.Properties.setProperty(Unknown Source)
	at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:136)
	at
org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:141)
	at org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:88)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:231)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:148)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)

2007/05/23 18:06:41 INFO  - jmeter.util.JsseSSLManager: JsseSSLManager
installed 
2007/05/23 18:06:41 WARN  - jmeter.protocol.http.sampler.HTTPSampler: You
may have forgotten to set the ssl.provider property in jmeter.properties
java.lang.IllegalStateException: SSLContextImpl is not initialized
	at
com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(Unknown
Source)
	at javax.net.ssl.SSLContext.getSocketFactory(Unknown Source)
	at com.sun.net.ssl.SSLContextSpiWrapper.engineGetSocketFactory(Unknown
Source)
	at com.sun.net.ssl.SSLContext.getSocketFactory(Unknown Source)
	at
org.apache.jmeter.util.JsseSSLManager.setContext(JsseSSLManager.java:101)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:160)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)

2007/05/23 18:06:42 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
readResponse: java.io.IOException: Server returned HTTP response code: 403
for URL: https://urs.microsoft.com:443/ 
2007/05/23 18:06:45 ERROR - jmeter.util.JsseSSLManager: Exception occurred
java.lang.NullPointerException
	at java.util.Hashtable.put(Unknown Source)
	at java.util.Properties.setProperty(Unknown Source)
	at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:136)
	at
org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:141)
	at org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:88)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:231)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:148)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)

2007/05/23 18:06:45 INFO  - jmeter.util.JsseSSLManager: JsseSSLManager
installed 
2007/05/23 18:06:45 WARN  - jmeter.protocol.http.sampler.HTTPSampler: You
may have forgotten to set the ssl.provider property in jmeter.properties
java.lang.IllegalStateException: SSLContextImpl is not initialized
	at
com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(Unknown
Source)
	at javax.net.ssl.SSLContext.getSocketFactory(Unknown Source)
	at com.sun.net.ssl.SSLContextSpiWrapper.engineGetSocketFactory(Unknown
Source)
	at com.sun.net.ssl.SSLContext.getSocketFactory(Unknown Source)
	at
org.apache.jmeter.util.JsseSSLManager.setContext(JsseSSLManager.java:101)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:160)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)

2007/05/23 18:06:46 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
readResponse: java.io.IOException: Server returned HTTP response code: 403
for URL: https://urs.microsoft.com:443/ 


Does anyone know what's all this about?
I try to loggin to a web server but I get a session expired message.


-- 
View this message in context: http://www.nabble.com/cannot-login-the-webserver-when-I%27m-proxy-ing-the-connection-tf3805394.html#a10768689
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message