You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by venkatakurathi <ve...@hotmail.com> on 2012/05/21 06:46:14 UTC

urgent help needed....!

hi all,
i was facing an issue with controller.
in one of my test plan a call will be made to AUT until the status
"completed" occurs in response.

my question is ..is it possible to loop the transaction/controller/call
until the condition is satisfied...once the condition is satisfied then only
i want to move to nxt transaction/controller/call ....

someone plz reply me....


-----
Venkat Akurathi
91-9703186688
--
View this message in context: http://jmeter.512774.n5.nabble.com/urgent-help-needed-tp5712753.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: urgent help needed....!

Posted by venkatakurathi <ve...@hotmail.com>.
a. Do you have any error message in the logs? 

No Error Message in the logs.

b. have you checked case sensitivity (both for "completed" and for the 
variable name - status in all caps) 
i used the value which appears in the application response log.so therer is
no issue of case sensitivity.


c. If yes to both a and b , then what is the structure of your test? 

--thread group
-----transaction1
-----transaction2
-----while transaction
-----logout transaction

-----
Venkat Akurathi
91-9703186688
--
View this message in context: http://jmeter.512774.n5.nabble.com/urgent-help-needed-tp5712753p5713365.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: urgent help needed....!

Posted by Deepak Shetty <sh...@gmail.com>.
a. Do you have any error message in the logs?
b. have you checked case sensitivity (both for "completed" and for the
variable name - status in all caps)
c. If yes to both a and b , then what is the structure of your test?

On Fri, May 25, 2012 at 11:12 AM, venkatakurathi <
venkat.akurathi@hotmail.com> wrote:

> i have checked it with debug sampler & it is returning the value.
> coz it is a plan running transaction we can not use counter to limit the
> iterations..
>
> -----
> Venkat Akurathi
> 91-9703186688
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/urgent-help-needed-tp5712753p5713355.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: urgent help needed....!

Posted by venkatakurathi <ve...@hotmail.com>.
i have checked it with debug sampler & it is returning the value.
coz it is a plan running transaction we can not use counter to limit the
iterations..

-----
Venkat Akurathi
91-9703186688
--
View this message in context: http://jmeter.512774.n5.nabble.com/urgent-help-needed-tp5712753p5713355.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: urgent help needed....!

Posted by Flavio Cysne <fl...@gmail.com>.
Use a Debug Sampler to know if ${STATUS} is returning "COMPLETED" by any
chance.

You could use a Counter and limit the While Controller to a maximum number
of iteractions.

Hope it helps you.
Flávio Cysne

2012/5/25 venkatakurathi <ve...@hotmail.com>

> ${__javaScript("${STATUS}"!="COMPLETED")}
>
> This turned into infinite loop.
>
> suggest me the condition for running finite loop...
>
> -----
> Venkat Akurathi
> 91-9703186688
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/urgent-help-needed-tp5712753p5713351.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: urgent help needed....!

Posted by venkatakurathi <ve...@hotmail.com>.
${__javaScript("${STATUS}"!="COMPLETED")} 

This turned into infinite loop.

suggest me the condition for running finite loop...

-----
Venkat Akurathi
91-9703186688
--
View this message in context: http://jmeter.512774.n5.nabble.com/urgent-help-needed-tp5712753p5713351.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: urgent help needed....!

Posted by Anthony Johnson <an...@gmail.com>.
Yes.  Just use a While Controller

http://jmeter.apache.org/usermanual/component_reference.html#While_Controller


On Mon, May 21, 2012 at 12:46 AM, venkatakurathi
<ve...@hotmail.com> wrote:
> hi all,
> i was facing an issue with controller.
> in one of my test plan a call will be made to AUT until the status
> "completed" occurs in response.
>
> my question is ..is it possible to loop the transaction/controller/call
> until the condition is satisfied...once the condition is satisfied then only
> i want to move to nxt transaction/controller/call ....
>
> someone plz reply me....
>
>
> -----
> Venkat Akurathi
> 91-9703186688
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/urgent-help-needed-tp5712753.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org