Re: HTTP Header Manager

2004-11-06 Thread sebb
On Mon, 1 Nov 2004 17:14:02 +0100, Coret Bob [EMAIL PROTECTED] wrote:
 Hi all,
 
 I want to force my proxy server to fetch the pages from the webserver instead 
 of the cache. This can be achieved by adding the header Cache-control: 
 no-cache.
 
 Do I have to add this header to all HTTP requests (in the Browser-derived 
 headers element) or do I just add one extra HTTP Header Manager within the 
 Thread Group? In the latter case: will this header value be added to all 
 requests or will it override the headers of the HTTP requests?
 

At present, if more than one Header Manager is in scope, there is no
control over which one is used, so yes, you will need to add it to all
the existing Browser-derived Header Managers. Unfortunately fixing
this is non-trivial. See bug 31503.

 BTW, is it a know bug that you can't delete headers? The Delete button is 
 always disabled in the HTTP Header Manager.
 

There is a work-round - just add a new row, and the delete button is
then enabled.
But I've now fixed it in CVS (2.0 branch) so that the Delete/Save
buttons are enabled.

 Regards,
 Bob Coret
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Glue WSDL now supported

2004-11-06 Thread Peter Lin
I've just checked in a fix so the wsdhelper handles gluecode wsdl
correctly. I've also started working on a new SOAP sampler that uses
Axis. Specifically, it uses WSDL2Java tool to generate the client
code. It will take a week or so to get a working sampler, since it is
a completely different approach than the current apache SOAP sampler.

peter


On Mon, 01 Nov 2004 15:45:46 -0600, John Ferron
[EMAIL PROTECTED] wrote:
 I'm trying to use JMeter to profile our app that we are developing and
 I'm having some issues with trying to setup JMeter.  Once I have
 loading JMeter, I'm created a WebService thread with 5 threads and a
 loop
 count of 2.  I then created a Webservice(SOAP) Request and have put in
 the
 (localhost) wsdl address to grab the wsdl off of the running instance
 of tomcat on my machine.  When I press the load WSDL button, it looks
 like the app is trying to do something, but nothing is populated in the
 web
 methods.  I've clicked the Read SOAP Response to read any soap
 messages.  Our WSDL contains the actual xsd schema with in the file.
 XMLSpy has said that the xml is valid even though JMeter says it is
 not.  Any questions or a way to make this work... please help.  Thanks
 
 John
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JMeter and SSL

2004-11-06 Thread Mike Buzzetti
Hey everyone,

 I was wondering why my tests fail when using SSL. I am using
jmeter 2.0.1 and I have tried the latest CVS.

When I run a thread I get 
ava.io.IOException: HTTPS hostname wrong:  should be XXX.XXX.XXX.XXX
at sun.net.www.protocol.https.HttpsClient.b(DashoA12275)
at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA12275)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA12275)
at 
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.connect(DashoA12275)
at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:465)
at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:582)
at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:569)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:260)
at java.lang.Thread.run(Thread.java:534)


Next thread ( and all other run fine )

I very new to SSL key stores and certs so I could just be confused. 

I have a created a keystore that has ther cert from the web page in it
and added that to my jmeters.properties file.


In my Jmeter,log I have 

2004/11/07 00:26:48 INFO  - jmeter.util.SSLManager: JmeterKeyStore
Location: ../../lib/jmeter.jks
2004/11/07 00:26:48 INFO  - jmeter.util.SSLManager: JmeterKeyStore
type: class org.apache.jmeter.util.keystore.DefaultKeyStore
2004/11/07 00:26:48 INFO  - jmeter.util.JsseSSLManager: class
org.apache.jmeter.util.keystore.DefaultKeyStore
2004/11/07 00:26:48 INFO  - jmeter.util.SSLManager: KeyStore Type: JKS 
2004/11/07 00:26:48 INFO  - jmeter.util.SSLManager: TrustStore Location:  
2004/11/07 00:26:48 INFO  - jmeter.util.SSLManager: TrustStore type:
class org.apache.jmeter.util.keystore.DefaultKeyStore

So its loading the key store, but doesnt say the cert is installed. 

Strange thing is the name it complains about XXX.XXX.XXX.XXX is the
machine is is running on.

I have searched around and not found much about how to set up testing
a https webpage with JMeter.


Thanks for any help

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]