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

List:       grinder-use
Subject:    Re: [Grinder-use] Can i assign more than one thread for one session in Agents?
From:       Gary Mulder <flyingkiwiguy () gmail ! com>
Date:       2012-12-14 2:00:20
Message-ID: CAKy9zTAfyQWu0isiwDWDCyiL0r2Z_o9ffVSw7rn-KaT4apqN-A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Ravi,

You could use a if conditional to check grinder.threadId. If threadId = 0
run the notification code, else your recorded script.

Sorry for the quick reply. On holiday and using an iPad.

Gary

On Thursday, 13 December 2012, Ravi Joshi wrote:

> One of web application have notification process, which continues runs
> parallel to the application. This process is same as that of notification
> process in Facebook. This process doesn't make confiscations in user's
> activity. However if there is any new changes, it just shows an information
> about the same. In our application, this notification process waits for
> some amount of time, then dispatch all the notifications to user.
>
> I recorded the entire scenario using TCPProxy and run it. After analyzing
> the log file, i got to know that entire application is waiting till the
> specific amount of time (defined for notifications) then executes further
> requests.
>
> How can i assign a separated thread to this notification process, so that
> it can run in background without distributing the further requests?
>
> Is there any property in grinder, which can solve my purpose?
>
> -Ravi
>

[Attachment #5 (text/html)]

Hi Ravi,<div><br></div><div>You could use a if conditional to check grinder.threadId. \
If threadId = 0 run the notification code, else your recorded \
script.</div><div><br></div><div>Sorry for the quick reply. On holiday and using an \
iPad.</div> <div><br></div><div>Gary<span></span></div><div><br>On Thursday, 13 \
December 2012, Ravi Joshi  wrote:<br><blockquote class="gmail_quote" style="margin:0 \
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><table cellspacing="0" \
cellpadding="0" border="0"> <tbody><tr><td valign="top" style="font:inherit"><font \
face="bookman old style,new york,times,serif">One of web application have \
notification process, which continues runs parallel to the application. This process \
is same as that of notification process in Facebook. This process doesn&#39;t make \
confiscations in user&#39;s activity. However if there is any new changes, it just \
shows an information about the same. In our application, this notification process \
waits for some amount of time, then dispatch all the notifications to user.<br> <br>I \
recorded the entire scenario using TCPProxy and run it. After analyzing the log file, \
i got to know that entire application is waiting till the specific amount of time \
(defined for notifications) then executes further requests.<br> <br>How can i assign \
a separated thread to this notification process, so that it can run in background \
without distributing the further  requests?<br><br>Is there any property in grinder, \
which can solve my purpose?<br><br>-Ravi<br></font></td></tr></tbody></table></blockquote></div>




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d

_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


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

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