You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ghania Ferrag <gh...@vantrix.com> on 2009/11/05 00:50:25 UTC

Castor XML or XML extreme with JMeter

Hi Every one,

My new added Sampler have to Convert XML documents to Java Object, and wondering what's best to use with Jmeter ? There is Castor XML or XML extreme that can be used but don't know what's best to use with Jmeter or If Jmeter come already with  specific XML Libraries.

Thank you in advance for your response,

Regards,
Ghania

RE: Castor XML or XML extreme with JMeter

Posted by Ghania Ferrag <gh...@vantrix.com>.
Depend on what you going to do, as I mentioned earlier, for me the obtained object will be used in the method that we invoke using Http Invoker.

Thanks,
-----Original Message-----
From: Dan Walker [mailto:walkerdan2@gmail.com] 
Sent: Thursday, November 05, 2009 2:18 PM
To: JMeter Users List
Subject: Re: Castor XML or XML extreme with JMeter

I am new to JMeter, so I am curious about how you intend to use the
object once it is unmarshalled from XML.   What is going to consume
the object after it is available?

-Dan

On Thu, Nov 5, 2009 at 1:04 PM, Ghania Ferrag <gh...@vantrix.com> wrote:
> Because user will enter an XML file(representation of the object) with the request in the new Sampler, and then we have to convert that XML file to an object, the obtained object is the parameter of the method that we going to Invoke using Spring Http Invoker.
> Both Castor and extreme can be used and my question was what's best to use with Jmeter and also wondering what Jmeter use for marshalling and unmarshalling objects ?
>
> Thanks,
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, November 05, 2009 6:25 AM
> To: JMeter Users List
> Subject: Re: Castor XML or XML extreme with JMeter
>
> On 04/11/2009, Ghania Ferrag <gh...@vantrix.com> wrote:
>> Hi Every one,
>>
>>  My new added Sampler have to Convert XML documents to Java Object
>
> Why do you need to convert to an Object?
>
>> , and wondering what's best to use with Jmeter ? There is Castor XML or XML extreme that can be used but don't know what's best to use with Jmeter or If Jmeter come already with  specific XML Libraries.
>
> What is going to read the Object?
>
> There may be different ways of representing the same XML as an object,
> so it's not possible to choose the XML library without knowing how the
> Object is going to be used.
>
>>  Thank you in advance for your response,
>>
>>  Regards,
>>
>> Ghania
>>
>
> ---------------------------------------------------------------------
> 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
>
>

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


Re: Castor XML or XML extreme with JMeter

Posted by Dan Walker <wa...@gmail.com>.
I am new to JMeter, so I am curious about how you intend to use the
object once it is unmarshalled from XML.   What is going to consume
the object after it is available?

-Dan

On Thu, Nov 5, 2009 at 1:04 PM, Ghania Ferrag <gh...@vantrix.com> wrote:
> Because user will enter an XML file(representation of the object) with the request in the new Sampler, and then we have to convert that XML file to an object, the obtained object is the parameter of the method that we going to Invoke using Spring Http Invoker.
> Both Castor and extreme can be used and my question was what's best to use with Jmeter and also wondering what Jmeter use for marshalling and unmarshalling objects ?
>
> Thanks,
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, November 05, 2009 6:25 AM
> To: JMeter Users List
> Subject: Re: Castor XML or XML extreme with JMeter
>
> On 04/11/2009, Ghania Ferrag <gh...@vantrix.com> wrote:
>> Hi Every one,
>>
>>  My new added Sampler have to Convert XML documents to Java Object
>
> Why do you need to convert to an Object?
>
>> , and wondering what's best to use with Jmeter ? There is Castor XML or XML extreme that can be used but don't know what's best to use with Jmeter or If Jmeter come already with  specific XML Libraries.
>
> What is going to read the Object?
>
> There may be different ways of representing the same XML as an object,
> so it's not possible to choose the XML library without knowing how the
> Object is going to be used.
>
>>  Thank you in advance for your response,
>>
>>  Regards,
>>
>> Ghania
>>
>
> ---------------------------------------------------------------------
> 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
>
>

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


RE: Castor XML or XML extreme with JMeter

Posted by Ghania Ferrag <gh...@vantrix.com>.
Thanks for your response,

Yes I find out earlier Jmeter use XStream. I may go with Xstream as the Jar is already there without including too many jars with our New Sampler.

Thanks,
Ghania

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Thursday, November 05, 2009 3:19 PM
To: JMeter Users List
Subject: Re: Castor XML or XML extreme with JMeter

On 05/11/2009, Ghania Ferrag <gh...@vantrix.com> wrote:
> Because user will enter an XML file(representation of the object) with the request in the new Sampler, and then we have to convert that XML file to an object, the obtained object is the parameter of the method that we going to Invoke using Spring Http Invoker.

I don't follow that, but never mind.

>  Both Castor and extreme can be used and my question was what's best to use with Jmeter

Whatever works for you.

>  and also wondering what Jmeter use for marshalling and unmarshalling objects ?

It uses XStream and XPP.

>  Thanks,
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Thursday, November 05, 2009 6:25 AM
>  To: JMeter Users List
>  Subject: Re: Castor XML or XML extreme with JMeter
>
>  On 04/11/2009, Ghania Ferrag <gh...@vantrix.com> wrote:
>  > Hi Every one,
>  >
>  >  My new added Sampler have to Convert XML documents to Java Object
>
>  Why do you need to convert to an Object?
>
>  > , and wondering what's best to use with Jmeter ? There is Castor XML or XML extreme that can be used but don't know what's best to use with Jmeter or If Jmeter come already with  specific XML Libraries.
>
>  What is going to read the Object?
>
>  There may be different ways of representing the same XML as an object,
>  so it's not possible to choose the XML library without knowing how the
>  Object is going to be used.
>
>  >  Thank you in advance for your response,
>  >
>  >  Regards,
>  >
>  > Ghania
>  >
>
>
> ---------------------------------------------------------------------
>  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
>
>

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


Re: Castor XML or XML extreme with JMeter

Posted by sebb <se...@gmail.com>.
On 05/11/2009, Ghania Ferrag <gh...@vantrix.com> wrote:
> Because user will enter an XML file(representation of the object) with the request in the new Sampler, and then we have to convert that XML file to an object, the obtained object is the parameter of the method that we going to Invoke using Spring Http Invoker.

I don't follow that, but never mind.

>  Both Castor and extreme can be used and my question was what's best to use with Jmeter

Whatever works for you.

>  and also wondering what Jmeter use for marshalling and unmarshalling objects ?

It uses XStream and XPP.

>  Thanks,
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Thursday, November 05, 2009 6:25 AM
>  To: JMeter Users List
>  Subject: Re: Castor XML or XML extreme with JMeter
>
>  On 04/11/2009, Ghania Ferrag <gh...@vantrix.com> wrote:
>  > Hi Every one,
>  >
>  >  My new added Sampler have to Convert XML documents to Java Object
>
>  Why do you need to convert to an Object?
>
>  > , and wondering what's best to use with Jmeter ? There is Castor XML or XML extreme that can be used but don't know what's best to use with Jmeter or If Jmeter come already with  specific XML Libraries.
>
>  What is going to read the Object?
>
>  There may be different ways of representing the same XML as an object,
>  so it's not possible to choose the XML library without knowing how the
>  Object is going to be used.
>
>  >  Thank you in advance for your response,
>  >
>  >  Regards,
>  >
>  > Ghania
>  >
>
>
> ---------------------------------------------------------------------
>  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
>
>

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


RE: Castor XML or XML extreme with JMeter

Posted by Ghania Ferrag <gh...@vantrix.com>.
Because user will enter an XML file(representation of the object) with the request in the new Sampler, and then we have to convert that XML file to an object, the obtained object is the parameter of the method that we going to Invoke using Spring Http Invoker. 
Both Castor and extreme can be used and my question was what's best to use with Jmeter and also wondering what Jmeter use for marshalling and unmarshalling objects ?

Thanks,

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Thursday, November 05, 2009 6:25 AM
To: JMeter Users List
Subject: Re: Castor XML or XML extreme with JMeter

On 04/11/2009, Ghania Ferrag <gh...@vantrix.com> wrote:
> Hi Every one,
>
>  My new added Sampler have to Convert XML documents to Java Object

Why do you need to convert to an Object?

> , and wondering what's best to use with Jmeter ? There is Castor XML or XML extreme that can be used but don't know what's best to use with Jmeter or If Jmeter come already with  specific XML Libraries.

What is going to read the Object?

There may be different ways of representing the same XML as an object,
so it's not possible to choose the XML library without knowing how the
Object is going to be used.

>  Thank you in advance for your response,
>
>  Regards,
>
> Ghania
>

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


Re: Castor XML or XML extreme with JMeter

Posted by sebb <se...@gmail.com>.
On 04/11/2009, Ghania Ferrag <gh...@vantrix.com> wrote:
> Hi Every one,
>
>  My new added Sampler have to Convert XML documents to Java Object

Why do you need to convert to an Object?

> , and wondering what's best to use with Jmeter ? There is Castor XML or XML extreme that can be used but don't know what's best to use with Jmeter or If Jmeter come already with  specific XML Libraries.

What is going to read the Object?

There may be different ways of representing the same XML as an object,
so it's not possible to choose the XML library without knowing how the
Object is going to be used.

>  Thank you in advance for your response,
>
>  Regards,
>
> Ghania
>

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