You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by David Luu <ma...@gmail.com> on 2014/01/14 23:43:46 UTC
Performing HTTP purge request for cache/proxy servers
To purge the cache or proxy server as part of test setup (or teardown), one
can do something like this in Java:
http://stackoverflow.com/questions/12949457/how-do-i-do-http-purge-from-java
I'm just wondering whether anyone has interfaced HTTP purge call with
JMeter via Beanshell or any of the other script pre/post processors or as a
plugin, etc.
I just figured it be useful to use what's available rather than reinvent
the wheel.
I don't have an immediate need for this but there might be a time in the
future where I might want to do this as part of load/performance testing
(to have clean starting cache state w/o having to go through server side to
purge cache).
Regards,
David
Re: Performing HTTP purge request for cache/proxy servers
Posted by Philippe Mouawad <ph...@gmail.com>.
For the rest, ie calling before starting or after, use setup / teardow
thread groups.
Regards
Philippe
On Wed, Jan 15, 2014 at 10:42 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:
> Hello David,
> I suggest you open an enhancement request as for now HTTP Method are fixed.
>
> For now your option is to use third party jmeter plugins:
>
> http://jmeter-plugins.org/wiki/RawRequest/?utm_source=jpgc&utm_medium=link&utm_campaign=RawRequest
>
> Regards
> Philippe M.
> @philmdot
>
>
>
>
> On Tue, Jan 14, 2014 at 11:43 PM, David Luu <ma...@gmail.com> wrote:
>
>> To purge the cache or proxy server as part of test setup (or teardown),
>> one
>> can do something like this in Java:
>>
>>
>> http://stackoverflow.com/questions/12949457/how-do-i-do-http-purge-from-java
>>
>> I'm just wondering whether anyone has interfaced HTTP purge call with
>> JMeter via Beanshell or any of the other script pre/post processors or as
>> a
>> plugin, etc.
>>
>> I just figured it be useful to use what's available rather than reinvent
>> the wheel.
>>
>> I don't have an immediate need for this but there might be a time in the
>> future where I might want to do this as part of load/performance testing
>> (to have clean starting cache state w/o having to go through server side
>> to
>> purge cache).
>>
>> Regards,
>> David
>>
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>
--
Cordialement.
Philippe Mouawad.
Re: Performing HTTP purge request for cache/proxy servers
Posted by Philippe Mouawad <ph...@gmail.com>.
Hello David,
I suggest you open an enhancement request as for now HTTP Method are fixed.
For now your option is to use third party jmeter plugins:
http://jmeter-plugins.org/wiki/RawRequest/?utm_source=jpgc&utm_medium=link&utm_campaign=RawRequest
Regards
Philippe M.
@philmdot
On Tue, Jan 14, 2014 at 11:43 PM, David Luu <ma...@gmail.com> wrote:
> To purge the cache or proxy server as part of test setup (or teardown), one
> can do something like this in Java:
>
>
> http://stackoverflow.com/questions/12949457/how-do-i-do-http-purge-from-java
>
> I'm just wondering whether anyone has interfaced HTTP purge call with
> JMeter via Beanshell or any of the other script pre/post processors or as a
> plugin, etc.
>
> I just figured it be useful to use what's available rather than reinvent
> the wheel.
>
> I don't have an immediate need for this but there might be a time in the
> future where I might want to do this as part of load/performance testing
> (to have clean starting cache state w/o having to go through server side to
> purge cache).
>
> Regards,
> David
>
--
Cordialement.
Philippe Mouawad.