Re: a few problems I encountered gzip and header

2007-10-16 Thread Alf Høgemark
the change the page shows up as it should and with the source. Alf Høgemark wrote: Hi The http proxy server is unzipping the content it gets from the web server, and then passing it on to IE uncompressed, so it has to remove the Content-encoding: gzip header. So if you are having a problem

Re: a few problems I encountered gzip and header

2007-10-16 Thread Alf Høgemark
Just as a tip : If you add the View Results Tree listener to the HTTP Proxy Server, you might be able to see more details on what data the HTTP Proxy Server sends and receives. Alf Alf Høgemark wrote: Hi Yes, there could be a bug in the HTTP Proxy Server, for example the bug just reported

Re: a few problems I encountered gzip and header

2007-10-15 Thread Alf Høgemark
Hi The http proxy server is unzipping the content it gets from the web server, and then passing it on to IE uncompressed, so it has to remove the Content-encoding: gzip header. So if you are having a problem, I do not think that the removal of that header is the problem. When you are

Re: JMeter Proxy Server

2007-10-05 Thread Alf Høgemark
Hi, I see you have created a bugzilla issue for this as well, that is good. If you could do some testing at http://www.kanonbra.com/opensource/testing/httptesting/ more specifically, either using the http://www.kanonbra.com/opensource/testing/httptesting/utf8/edit/simple_test_form_utf8.htm or

Re: XML file as an input in HttpRequest Sampler

2007-10-05 Thread Alf Høgemark
Hi You should put the MIME type the server expects. Without any details on what type of application you are testing, i.e. is it a normal web application or is it a web service, it is very hard to give any advice. text/xml is a fairly common mime type to use for xml files, I think. Regards

Re: SOAP Request and keepalives..

2007-09-26 Thread Alf Høgemark
Hi A patch is welcomed. I am hoping to change the SOAP/XML-RPC GUI, so that it has the same standard http settings GUI as the HTTP Samplers. I think the SOAP/XML-RPC GUI should look very similiar to the HTTP Samplers, except that the parameters section are gone, and instead there is a big

Re: How to view the HTTP Request Message that is sent on the wire

2007-09-26 Thread Alf Høgemark
I would say that JMeter shows most of what you need in the request data in the View Tree Listener. It does not show the user agent and hosts headers, because those are not available. It shows the other headers, and the body of a http post. Regards Alf sebb wrote: JMeter does not have access

Re: A question of efficiency

2007-09-10 Thread Alf Høgemark
I think I've read that instantiating the Calendar is quite resource intensive, lots of classes being loaded etc. So if you could share that instance between iterations, and perhaps between threads, that could help. But I guess that interpreting the bean shell is what takes the most time. Alf

Re: Exception running in non-gui mode

2007-09-10 Thread Alf Høgemark
I think the JMS warnings is there because you have not installed the activation.jar and mail jar files. You can find them at http://java.sun.com/products/javamail/downloads/index.html http://java.sun.com/products/javabeans/jaf/downloads/index.html They should be placed in the lib directory.

Re: OutOfMemoryError

2007-09-02 Thread Alf Høgemark
Hi I did a search on Google in 5 minutes, it gives me the following useful links http://www.egilh.com/blog/archive/2006/06/09/2811.aspx http://www.talkingtree.com/blog/index.cfm/2005/3/11/NewNativeThread http://forum.java.sun.com/thread.jspa?threadID=605782messageID=3360044

Re: Problem in running Jmeter with Eclipse

2007-09-01 Thread Alf Høgemark
Hi, I have also seen this a number of times, normally each time I start a new eclipse project for JMeter. The classpath can be a problem, but normally the problem is related to JMeter's search_path, i.e. where it is searching for classes. So it depends on where you have set up Eclipse to put

Re: view generated html from 'http request httpclient'

2007-08-29 Thread Alf Høgemark
Or you can try adding a View Results Tree Listener: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#View_Results_Tree It will give you most of the details of the request being sent, it should be helpful in most cases. Regards Alf sebb wrote: Not really. You can

Re: Page Source Parsing

2007-08-29 Thread Alf Høgemark
Hi If you read http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor http://jakarta.apache.org/jmeter/usermanual/component_reference.html http://jakarta.apache.org/jmeter/usermanual/index.html you will see that it is easy to achieve Regards Alf

Re: RE : Jmeter and Multipart/form-data

2007-08-20 Thread Alf Høgemark
-Message d'origine- De : Alf Høgemark [mailto:[EMAIL PROTECTED] Envoyé : vendredi 17 août 2007 20:03 À : JMeter Users List Objet : Re: Jmeter and Multipart/form-data Hi Some comments to your questions / observations : 2) I suggest you add the View Results Tree listener to your test

Re: PUT and DELETE (REST web service load testing)

2007-08-17 Thread Alf Høgemark
Hi I've done some HTTP POST improvements for JMeter during 2007. I think it would be fairly easy to add support for PUT and DELETE, so it's one of the things I am considering implementing in the coming weeks / months. First the 2.3 release has to be finalized. Regards Alf Jon Carlson wrote:

Re: http post method

2007-08-17 Thread Alf Høgemark
on pasting the xml data in the http arguments table in the http sampler.. Thanks mathu -Original Message- From: Alf Høgemark [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 1:03 AM To: JMeter Users List Subject: Re: http post method Yes, you should be able to use the HTTP

Re: Jmeter and Multipart/form-data

2007-08-17 Thread Alf Høgemark
Hi Some comments to your questions / observations : 2) I suggest you add the View Results Tree listener to your test plan. Then you should be able to see all the details about the request sent from JMeter to your web server, including the HTTP POST body, i.e. similar to what you have listed

Re: Measuring total time for a thread group execution

2007-08-14 Thread Alf Høgemark
I think you should have a look at the Transaction Controller, and put your samplers inside it. Then use the Transaction Controller option which makes the transaction controller return a sample that contains subsamples. Then I think the transaction controller sample will turn up in your

Re: http post method

2007-08-14 Thread Alf Høgemark
Yes, you should be able to use the HTTP Request sampler, and set method to Post, and have it send the content of a file. Just leave the Value for name attribute empty. Or you can take the whole XML and paste it into a row in the http arguments table in HTTP Request Sampler, and just do not

Re: JMeter Acegi Security Framework

2007-08-08 Thread Alf Høgemark
. Thanks in advance. quote author=Alf Høgemark I have successfully used JMeter to test web app based on Spring and Acegi security. JMeter does not care what third party library is used for security. You just need to make sure that the correct user name and password is used for logging

Re: JMeter Acegi Security Framework

2007-08-07 Thread Alf Høgemark
I have successfully used JMeter to test web app based on Spring and Acegi security. JMeter does not care what third party library is used for security. You just need to make sure that the correct user name and password is used for logging in, and that you use the cookie manager to keep the

Re: Can't adjust characters per second

2007-07-30 Thread Alf Høgemark
- From: Alf Høgemark [mailto:[EMAIL PROTECTED] Sent: Saturday, July 28, 2007 4:36 AM To: JMeter Users List Subject: Re: Can't adjust characters per second Hi I have tested this now, and I can reproduce your problem in 2.2, but in 2.3rc3 I cannot reproduce your problem. In 2.3rc3 I can successfully

Re: Can't adjust characters per second

2007-07-28 Thread Alf Høgemark
Hi This sounds like a bug in JMeter, you should not get a nullpointer exception. I suggest you report the bug using bugzilla for JMeter. Please include a step by step description of how to reproduce the problem, it makes it easier to reproduce, fix and verify the fix for us. It would be nice

Re: HTTP Proxy Server in JMeter 2.3RC3 not working

2007-07-28 Thread Alf Høgemark
Hello It sounds like you have may have hit : http://issues.apache.org/bugzilla/show_bug.cgi?id=42955 If so, it would be nice if you could please add a comment to that bug report describing your problem ? If you think it is another problem, you should open a new bugzilla bug for it, and give

Re: Can't adjust characters per second

2007-07-28 Thread Alf Høgemark
in 2.3rc3, please open a bug report, and provide enough details to reproduce the problem. Regards Alf Hogemark Alf Høgemark wrote: Hi This sounds like a bug in JMeter, you should not get a nullpointer exception. I suggest you report the bug using bugzilla for JMeter. Please include a step by step

Re: Empty assertion results failure message

2007-07-16 Thread Alf Høgemark
Hi I suggest you file a bug report using Bugzilla, and provide the test script and as much info as possible on how to reproduce your problem. If we can reproduce it, it will be a lot easier for us to fix it, if there is a bug. Remember to remove any personal passwords / login info etc from the

Re: Jmeter Plugin

2007-07-10 Thread Alf Høgemark
I hope you have considered the existing jdbc sampler, before deciding you have to write your own code to sample the database ? Regards Alf tiffany wrote: Hi, I am asked to write a Jmeter Plugin to retrieve data from database. Any documentation/user manual or guidelines for this?? Actually,

Re: How to run the JMeter client locally on ZOS?

2007-07-06 Thread Alf Høgemark
Hi I think you should try the nightly build of jmeter. There you can specify the content encoding used for sending the POST request. There is a parameter in the HTTP Request where you set the content encoding, typically UTF-8 or ISO-8859-1, or whatever your web app is expecting. In Jmeter

Re: Transaction controller and assertion

2007-04-29 Thread Alf Høgemark
Hi I suggest you try to use the nightly build of JMeter. http://people.apache.org/builds/jakarta-jmeter/nightly/ A couple of weeks ago, I added functionality so that a transaction sample is only marked as success if all of it's subsamples are successful. In JMeter 2.2, a transaction sample is

Re: Can I change the HTTP Request content-type?

2007-04-12 Thread Alf Høgemark
The Content encoding field only controls the charset= part of the Content-Type header being sent. Currently, if only a file name is specified, that file is sent as the only content of the post body, if it is a HTTP POST request. The Content-type is set to application/x-www-form-urlencoded in

Re: chinese character

2007-04-12 Thread Alf Høgemark
I suggest you try with the latest nightly build. It has better support for different character sets, at least for HTTP POST (the content-encoding field in the HTTP Request GUI). And the nightly build also shows in View Results Tree, which headers are sent, and which data are sent, if it is a

Re: jMeter HTTP POST query

2007-04-11 Thread Alf Høgemark
Hi At first I thought this wasn't currently possible. But when I saw that you were using a file with curl, I remembered how the HTTP Post code works, and I think it is possible to do. If you put the post body you want to send in a file, and then reference the filename in the Filename field

Re: Using Jmeter with Spring Webflow

2007-03-21 Thread Alf Høgemark
Hi I have used Jmeter to test Spring Webflow applications. I did not record the test via the proxy server, but built it from hand. Here are my suggestions. I use a cookie manager. I add a Post Processor-Regular Expression Extractor as a child to the first HTTP request which starts the webflow.

Re: Adding condition for all Assertions ?

2007-03-18 Thread Alf Høgemark
I've been thinking a bit more about this. To be able to use the existing Logic Controllers would be most powerful and elegant, since then you could also create loops, and check lots of assertions dynamically. But I'm afraid it might be quite complex to get that to work, because then you can

Adding condition for all Assertions ?

2007-03-17 Thread Alf Høgemark
Hi In my test plan, I have added som Assertions, namely ResponseAssertion. However, some of the Assertions only makes sense if some variables in the test plan has a certain value. So in some cases the Assertion needs to be checked for a certain HTTP Request, but in other cases the assertion

Re: Adding functionality to the HTTP Proxy Server

2007-03-17 Thread Alf Høgemark
sebb wrote: I think that has already have been done via a property - jmeter.httpsampler - but it could be turned into a GUI option. Yes, that setting controls what class the HTTPSamplerFactory will instantiate. But by changing it to HTTPSampler2, and trying to use the HTTP Proxy, you get

Re: Adding functionality to the HTTP Proxy Server

2007-03-17 Thread Alf Høgemark
Nino Wael wrote: Could be really great if you could fix the I mentioned in another thread here recently. It's actually pretty critical. I'll be happy to provide more extensively information about it. regards Nino Hi. Is your problem really :

Re: HTTPS: SSL instead of TLS

2007-03-17 Thread Alf Høgemark
This discussion about TLS / SSL seems related to :http://issues.apache.org/bugzilla/show_bug.cgi?id=39638 If Sebb's fix works, and he can suggest how he wants the GUI changed for the HTTP Request parameters, I can probably look into making a patch for allowing the user to specify what https

Re: HTTPS: SSL instead of TLS

2007-03-17 Thread Alf Høgemark
it will remain case insensitive. So I favour your suggestion, Sebb. Regards Alf Hogemark sebb wrote: On 17/03/07, Alf Høgemark [EMAIL PROTECTED] wrote: This discussion about TLS / SSL seems related to :http://issues.apache.org/bugzilla/show_bug.cgi?id=39638 Agreed. If Sebb's fix works, and he can