Thanks to all, OK, I found the solution to this problem....the problem with Jmeter is the Content-Type sent in the request, so, I added a HTTP Header Manager to change it.
After recording the scenario in the GWT application, I have the following test plan running OK: Test Plan ->HTTP Request Defaults ->HTTP Cookie Manager ->HTTP Header Manager -> Name: Content-Type; value: text/plain; charset=utf-8 ->Simple controler ->->Samplers recorded ->View Results Tree I ran this scenario with 1 and 10 users and look OK, the scenario is completed sucesfully. Please, let me know if I lost something. Regards, Jose -----Original Message----- From: Jose Pablo Sarco Sent: Martes, 30 de Septiembre de 2008 05:13 p.m. To: JMeter Users List Subject: RE: Problems with GWT aplication Sebb, Searching further, I found an e-mail (see below) that describes the problem that I have. I that mail Sebb recommended create a Bugzilla enhancement request; that bug was fixed in the version 2.3.2? Regards, Jose ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- List: jmeter-user Subject: Re: changing Content-Type for HTTP POST request From: sebb <sebbaz () gmail ! com> Date: 2006-08-31 16:54:27 Message-ID: 25aac9fc0608310954v740dae66nf9a1d186d3db86c3 () mail ! gmail ! com [Download message RAW] On 31/08/06, Vladimir Lapacek <[EMAIL PROTECTED]> wrote: > Hello, > > I have the following problem with JMeter. > > I am using GWT (Google Web Toolkit) java framework for building web > apps. GWT encapsulates ajax http calls, sending ajax requests via POST > to server. > > Server always expects content-type: text/plain; charset=utf-8. That is > problem because JMeter's http sampler changes headers. Even if I have > correct setting for Content-type in the http request sampler node, > JMeter changes this and sends Content-Type: > application/x-www-form-urlencoded instead. As I said this is problem > with GWT ajax calls. Is there any way how to make JMeter not to change > this header? I used HTTP Request Manager Config element but with no > success. > > As a workaround I manually changed the source code, edited > org.apache.jmeter.protocol.http.sampler.PostWriter and commented line > which changes the header. But isn't there any other way? And why is Not at present - please file a Bugzilla enhancement request. > JMeter changing the header? AFAIK, it's not using the header - it's setting the type directly, because the type needs to be set for POST requests. -----Original Message----- From: Jose Pablo Sarco Sent: Lunes, 29 de Septiembre de 2008 04:56 p.m. To: JMeter Users List Subject: RE: Problems with GWT aplication Please, someone can help me with this? I have problems with the parameters value when I tried to test a GWT application, I research the web and I can't find a solution to this. Please, check the mail below. ¿Is it possible test a GWT application with Jmeter? Thanks, Jose -----Original Message----- From: Jose Pablo Sarco Sent: Lunes, 29 de Septiembre de 2008 11:26 a.m. To: JMeter Users List Subject: Problems with GWT aplication Hi all, I can’t record a scenario in a GWT application. I tried with Bad Boy and nothing is recorded, then I tried with the Jmeter HTTP Proxy Server and some actions are recorded but with parameters like this: Post /arcorsales/services/i18n Parameter Name: Parameter Value: 3�0�6�http://arrosvmapp92:9080/arcorsales/�A54E696C43E49725CD8446E4171EA2C4�ar.com.arcor.arcorsales.webapp.gwt.client.common.i18n.I18nServiceRemote�changeLocale�java.lang.String�es_AR�1�2�3�4�1�5�6�. When I ran the test plan, fail all the samplers. I’m using Jmeter version 2.3.2 in win XP ¿Is it possible test a GWT application with Jmeter? Thanks in advance. Jose ################################################################################################################# Este documento puede incluir informacin confidencial y propiedad de Neoris y deber ser ledo solamente por la o las personas a quienes est dirigido. Si usted ha recibido este mensaje por error, por favor avise inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deber ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorizacin por escrito de Neoris. Este mensaje ha sido verificado contra virus. Vistenos en www.neoris.com. ################################################################################################################# ################################################################################################################# Este documento puede incluir informacin confidencial y propiedad de Neoris y deber ser ledo solamente por la o las personas a quienes est dirigido. Si usted ha recibido este mensaje por error, por favor avise inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deber ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorizacin por escrito de Neoris. Este mensaje ha sido verificado contra virus. Vistenos en www.neoris.com. ################################################################################################################# ################################################################################################################# Este documento puede incluir informacin confidencial y propiedad de Neoris y deber ser ledo solamente por la o las personas a quienes est dirigido. Si usted ha recibido este mensaje por error, por favor avise inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deber ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorizacin por escrito de Neoris. Este mensaje ha sido verificado contra virus. Vistenos en www.neoris.com. ################################################################################################################# ################################################################################################################# Este documento puede incluir informaci�n confidencial y propiedad de Neoris y deber� ser le�do solamente por la o las personas a quienes est� dirigido. Si usted ha recibido este mensaje por error, por favor avise inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deber� ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorizaci�n por escrito de Neoris. Este mensaje ha sido verificado contra virus. Vis�tenos en www.neoris.com. #################################################################################################################

