You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ch...@labware.com on 2006/09/21 12:17:07 UTC
Converting HttpRequest sampler with HttpRequestHTTP Client samplers in a
script
Earlier I was using 2.1.1 and now I am using 2.2 version of Jmeter. when
we were in 2.1.1 we were using HttpRequest sampler and now in 2.2 we are
using HttpRequestHTTP Client samplers. At that time I wasnt aware of the
limitations of the dafault Java implementation version of the sampler ie
HttpRequest sampler.
Is there any way that with Jmeter 2,2 can I change the script (keeping
it as it is) and just replace the HttpRequest sampler with HttpRequestHTTP
Client sampler. It took me months to write that script. I dont want to
rewrite that. Please help.I would have ideally liked to use some "find and
replace" function.
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com
LabWare LIMS Solutions - Results Count
Re: Converting HttpRequest sampler with HttpRequestHTTP Client samplers in
a script
Posted by Noam Paz <no...@db.com>.
Hello Subhrajyoti,
If the testcase was created with an old version, load it into 2.2 and save it.
Edit the testcase and replace the following
Old
===
<HTTPSampler>
<stringProp name="TestElement.test_class">org.apache.jmeter.protocol.http.sampler.HTTPSampler</stringProp>
<stringProp name="TestElement.gui_class">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</stringProp>
</HTTPSampler>
New
===
<HTTPSampler2>
<stringProp name="TestElement.test_class">org.apache.jmeter.protocol.http.sampler.HTTPSampler2</stringProp>
<stringProp name="TestElement.gui_class">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui2</stringProp>
</HTTPSampler2>
Best regards / Viele Grüße
Noam Paz
Choudhury@labware.com
21.09.2006 12:17 To
"JMeter Users List" <jm...@jakarta.apache.org>
cc
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org> Subject
Converting HttpRequest sampler with HttpRequestHTTP Client samplers in a script
Earlier I was using 2.1.1 and now I am using 2.2 version of Jmeter. when
we were in 2.1.1 we were using HttpRequest sampler and now in 2.2 we are
using HttpRequestHTTP Client samplers. At that time I wasnt aware of the
limitations of the dafault Java implementation version of the sampler ie
HttpRequest sampler.
Is there any way that with Jmeter 2,2 can I change the script (keeping
it as it is) and just replace the HttpRequest sampler with HttpRequestHTTP
Client sampler. It took me months to write that script. I dont want to
rewrite that. Please help.I would have ideally liked to use some "find and
replace" function.
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com
LabWare LIMS Solutions - Results Count
--
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org