You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Olivier Grégoire <og...@gmail.com> on 2016/07/14 11:08:20 UTC

What replaces SOAPSampler in Jmeter 3?

Hello!


I'd like to build timestamped, signed, message-id'd soap requests with
Jmeter.

For that, I've used this tutorial (
https://www.blazemeter.com/blog/take-pain-out-load-testing-secure-web-services)
which showcases the usage of SOAPSampler in a beanshell.

Apparently the SOAPSampler class is now deprecated and even further than
deprecated: doesn't work anymore.

So what can I use to replace SOAPSampler in Jmeter 3?


Thank you!

Olivier

Re: What replaces SOAPSampler in Jmeter 3?

Posted by UBIK LOAD PACK Support <su...@ubikloadpack.com>.
Hello,
You should use regular Http Request for load testing Soap or Rest
webservice.
You can use the "templates..." menu item and select soap webservice as
described in the documentation:

- https://jmeter.apache.org/usermanual/build-ws-test-plan.html

Then just add the signature using JSR223 Preprocessor and groovy.

Regards
@ubikloadpack team

On Thursday, July 14, 2016, Olivier Grégoire <og...@gmail.com> wrote:

> Hello!
>
>
> I'd like to build timestamped, signed, message-id'd soap requests with
> Jmeter.
>
> For that, I've used this tutorial (
>
> https://www.blazemeter.com/blog/take-pain-out-load-testing-secure-web-services
> )
> which showcases the usage of SOAPSampler in a beanshell.
>
> Apparently the SOAPSampler class is now deprecated and even further than
> deprecated: doesn't work anymore.
>
> So what can I use to replace SOAPSampler in Jmeter 3?
>
>
> Thank you!
>
> Olivier
>


-- 

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>

Re: What replaces SOAPSampler in Jmeter 3?

Posted by Deepak Shetty <sh...@gmail.com>.
Its the same - construct the XML as it says and add the stuff you want to
the sampler using a pre-processor (the only possible change is the method
name of the sampler cpould be different if so look at the javadoc for it).
If you tried it and it didnt work then please provide details

On Thu, Jul 14, 2016 at 11:41 PM, Olivier Grégoire <og...@gmail.com>
wrote:

> Okay, well... now could you also link the place where I can add all the
> security I want? That was the key component of my question. Link-only
> answers are great if they exactly answer the question, but this one
> doesn't.
>
> Le jeu. 14 juil. 2016 22:19, Deepak Shetty <sh...@gmail.com> a écrit :
>
> >
> >
> http://jmeter.apache.org/usermanual/component_reference.html#SOAP/XML-RPC_Request
> >
> > On Thu, Jul 14, 2016 at 4:08 AM, Olivier Grégoire <og...@gmail.com>
> > wrote:
> >
> > > Hello!
> > >
> > >
> > > I'd like to build timestamped, signed, message-id'd soap requests with
> > > Jmeter.
> > >
> > > For that, I've used this tutorial (
> > >
> > >
> >
> https://www.blazemeter.com/blog/take-pain-out-load-testing-secure-web-services
> > > )
> > > which showcases the usage of SOAPSampler in a beanshell.
> > >
> > > Apparently the SOAPSampler class is now deprecated and even further
> than
> > > deprecated: doesn't work anymore.
> > >
> > > So what can I use to replace SOAPSampler in Jmeter 3?
> > >
> > >
> > > Thank you!
> > >
> > > Olivier
> > >
> >
>

Re: What replaces SOAPSampler in Jmeter 3?

Posted by Olivier Grégoire <og...@gmail.com>.
Okay, well... now could you also link the place where I can add all the
security I want? That was the key component of my question. Link-only
answers are great if they exactly answer the question, but this one doesn't.

Le jeu. 14 juil. 2016 22:19, Deepak Shetty <sh...@gmail.com> a écrit :

>
> http://jmeter.apache.org/usermanual/component_reference.html#SOAP/XML-RPC_Request
>
> On Thu, Jul 14, 2016 at 4:08 AM, Olivier Grégoire <og...@gmail.com>
> wrote:
>
> > Hello!
> >
> >
> > I'd like to build timestamped, signed, message-id'd soap requests with
> > Jmeter.
> >
> > For that, I've used this tutorial (
> >
> >
> https://www.blazemeter.com/blog/take-pain-out-load-testing-secure-web-services
> > )
> > which showcases the usage of SOAPSampler in a beanshell.
> >
> > Apparently the SOAPSampler class is now deprecated and even further than
> > deprecated: doesn't work anymore.
> >
> > So what can I use to replace SOAPSampler in Jmeter 3?
> >
> >
> > Thank you!
> >
> > Olivier
> >
>

Re: What replaces SOAPSampler in Jmeter 3?

Posted by Deepak Shetty <sh...@gmail.com>.
http://jmeter.apache.org/usermanual/component_reference.html#SOAP/XML-RPC_Request

On Thu, Jul 14, 2016 at 4:08 AM, Olivier Grégoire <og...@gmail.com>
wrote:

> Hello!
>
>
> I'd like to build timestamped, signed, message-id'd soap requests with
> Jmeter.
>
> For that, I've used this tutorial (
>
> https://www.blazemeter.com/blog/take-pain-out-load-testing-secure-web-services
> )
> which showcases the usage of SOAPSampler in a beanshell.
>
> Apparently the SOAPSampler class is now deprecated and even further than
> deprecated: doesn't work anymore.
>
> So what can I use to replace SOAPSampler in Jmeter 3?
>
>
> Thank you!
>
> Olivier
>