Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I need to stop thread in JMeter when some condition is satisfied. How can i do this? I suppose there should be some method like Thread.Stop() or something like this but can't find concrete info.

share|improve this question
1  
Problem is solved. thank you –  Melena Aug 22 '11 at 13:06
    
Can you explain how you did it? –  Lyndon Vrooman Aug 22 '11 at 13:49
1  
there is a sampler "Test Action". You can pause or stop thread using it –  Melena Aug 22 '11 at 14:29
add comment

1 Answer

up vote 4 down vote accepted

JMeter thread can be stopped with standard JMeter sampler Test Action. There are 3 options: Pause, Stop and Stop Now.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.