Hi Deepak, All,

Let me re-iterate the scenario below:

Thread Group
+Transaction Controller_1
++HTTPSampler_1 => Submit Request => PostProcessor to fetch the status.
e.g. Status = Submitted
+Transaction Controller_2
++WhileController (Until Status = Successful)
+++HTTPSampler_2 => PostProcessor (to fetch the status)

So, above HTTPSampler_2 is executing multiple times before getting Status =
Successful. Suppose it is executed 15 times and response time is 10 ms. So,
TransactionController_2 is giving Average Response Time 10 ms). But the
requirement is to identify actual time taken before turning Status =
Successful. i.e. 15*10=150 ms.

As per my understanding, TransactionController_2 should give time like 150
ms. Please help me to identify the actual time.


-- 
Regards
Pravesh Shrivastava

On Tue, 20 Nov 2018 at 22:51, Deepak Shetty <shet...@gmail.com> wrote:

> Hi
> Pseudo Script
> +Http Request (Submit Order)
> +Transaction Controller
> ++While Controller (Condition status != Successful && dontWantInfiniteLoop)
> +++Http Request (Status URL)
> ++++Extract status
> +++Think time delay timer between checks
>
> Why is this not working for you ? The Transaction controller will sum up
> the time and you can choose whether you want to include the timer ("Include
> duration of timer ... checkbox")
>
> >I have to measure the exact time
> Your requirements only work for a very loose definition of  "exact" -
> polling systems are not very exact or turn to be wasteful.
> regards
> deepak
>
> On Mon, Nov 19, 2018 at 6:56 PM Pravesh Shrivastava <
> pravesh.shrivast...@gmail.com> wrote:
>
> > You are right Deepak. But I don't want to extract average response time.
> > Let me give details below:
> >
> > 1. Submit an order
> > 2. Extract the status (it is Submitted)
> > 3. Keep hitting the same url until status becomes Successful
> >
> > I have to measure the exact time taken in changing status from Submitted
> to
> > Successful.
> >
> > On Tue, 20 Nov 2018, 00:29 Deepak Shetty <shet...@gmail.com wrote:
> >
> > > Whats your test plan and what makes you say its average ? The
> transaction
> > > controller generates the sum of its children, not average
> > >
> > > regards
> > > deepak
> > >
> > > On Mon, Nov 19, 2018 at 12:51 AM Pravesh Shrivastava <
> > > pravesh.shrivast...@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > I have a scenarios where I need some help to setup this:
> > > >
> > > > I am submitting one order through application. After submitting the
> > order
> > > > the status is "Submitted". I keep of refreshing the page until status
> > > turns
> > > > to "Successful".
> > > >
> > > > So, I have to identify actual time taken by the application between
> > > > "Submitted" and "Successful".
> > > >
> > > > Tried Transaction Controller, it is giving only Average time taken. I
> > > want
> > > > to identify exact time taken.
> > > >
> > > > --
> > > > Regards
> > > > Pravesh Shrivastava
> > > >
> > >
>
>

Reply via email to