[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-user
Subject:    Re: how to clear the dirty data created by http request in Jmeter?
From:       Anthony Johnson <ansoni () gmail ! com>
Date:       2010-12-27 1:31:54
Message-ID: AANLkTinMRxSECnA6LcviWrC8hGkMKqAcy8WKzve=ri+_ () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic