jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Johnson <ans...@gmail.com>
Subject Re: how to clear the dirty data created by http request in Jmeter?
Date Mon, 27 Dec 2010 01:31:54 GMT
Hello,
    One solution is this recent enhancement:
https://issues.apache.org/bugzilla/show_bug.cgi?id=50490 which is a
special Thread Group for Pre/Post Test actions.  In this way, you
could have it call into the DB to clean itself up or use the Setup
Thread Group to normalize the data before starting the test.

It just recently got committed to trunk/nightly builds.  Hopefully it
works and meets your needs.

Thanks,

Anthony

On Sat, Dec 25, 2010 at 7:44 AM, 木瓜 <muguayes@gmail.com> wrote:
> Hi,all
> I have the problem for clearing up the data created by http sample requests
> in Jmeter, the case is :
>
> I have a load test with a scheduler and set the duration=300 for example
>
> the load test is like
>
> thread group
>  |--Loop Controller
>      |--Transaction Controller for add a record
>         |--multiple http requests
>      |--Transaction Controller for delete the record
>         |--multiple http requests
>
> the issue is when the execution time is close to the end time (Duration),
> the system may still do the add things, and test will be ended without doing
> the delete things, consequently we will have the dirty data in the
> application which will impact the next execution.
>
> the good solution is to make sure the data created should be deleted when
> the duration is ended.  But if I don't have the privilege to clear the data
> by sql statment with Post Processor  ,how can I make sure the delete http
> requests should be sent by the end of execution?
>
> Any ideas?  Thanks in advance!
>

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