jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: user-defined values in xml parameter value
Date Tue, 14 Sep 2004 00:30:24 GMT
Variables are referenced using ${NAME} not $(NAME), and you don't need
Javascript to use them, so try using

...<UID>${UID}</UID>...

You might find it worth upgrading to version 2.0.1, which has more
features and a lot of bug fixes.

You can check what JMeter is sending by using the Tree View Listener
(but remove or disable it before running intensive performance tests)


On Mon, 13 Sep 2004 19:05:07 -0300, alloisp@bancobsf.com.ar
<alloisp@bancobsf.com.ar> wrote:
> Hi, this is my first time with jmeter and I´m fighting a little with this
> tool, for that reason I came to that list.
> First of all, I must tell that I do not speak English so often, sorry If I
> made a gramatical mistake
> 
> Here´s the cuestion
> I am testing an application with jmeter.
> This app use internal ID´s that I have to simulate with the jmeter and the
> counter pre-processor.
> 
> In the parameters I added:
> Name: UID
> Value: $(UID)
> 
> But the problem is that I have to insert the value of the counter in a xml
> string; when I did that jmeter doesn´t interpret the counter and pass the
> literal string to the webserver :-(
> I am using JMeter 1.9.1
> 
> Here is the parameter:
> Name: TODOXML
> Encode: True
> Include Equals: True
> Value: <?xml version='1.0' encoding='ISO-8859-1'?><TODOXML
> name='TODOXML'><DATOSDECONTROL><URL></URL><APLICACION>Prestamos3</APLICACION
> ><ACTIVIDAD>SolicitudSuc</ACTIVIDAD><INSTANCIA>Nueva</INSTANCIA><OU>Usuarios
> _de_Sucursales*Suc000</OU><PROCESO>PRESTAMOS_Solicitud_Of_Neg_V3</PROCESO><U
> SUARIO>onsuc000</USUARIO><ACCION>SOLICSUCFINPPH</ACCION><UID>${__javaScript(
> $(UID))}</UID><PANTALLA>SALIR</PANTALLA><SUCURSAL></SUCURSAL><FECHAINICIO>24
> /08/2004
> 12:44:29</FECHAINICIO></DATOSDECONTROL><DATOSXML><DESCRIPCION><SUCURSAL>000<
> /SUCURSAL><TIPODOC>D.N.I
> ARGENTINOS</TIPODOC><NRODOC>10247330</NRODOC></DESCRIPCION></DATOSXML><BOTON
> ES /></TODOXML>
> 
> If someone could help me I will appreciate it.
> 
> Tks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
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