hariprasanthb opened a new issue, #5754:
URL: https://github.com/apache/jmeter/issues/5754

   UseCase:
   Current thread group has 5 action items to be taken after a sampler error
   1. continue
   2. start next thread loop
   3. stop thread
   4. stop test
   5. stop test now
   
   However, in our case when an error occurs in the sampler, it has to go to a 
transaction controller which will always be logout, if we don't logout, the 
session is getting locked which is the behavior of the application.
   
   For this, we are trying to customize the threadgroup to direct the flow to 
transaction controller when an error occurs
   
   We have created another custom thread group[Refer CustomThreadGroup.txt] 
extending the AbstractThreadGroup's functionality on the 
"sampler_on_error_action" button group. For this, we tried to override the 
JMeterThread[Refer 
CustomJMeterThread]functionality(org.apache.jmeter.threads.JMeterThread.run()) 
but we are getting not visible and type mismatch errors on 
JMeterContextService, JMeterThread, JMeterThreadMonitor and JMeterContext 
functionalities
   
   Can you please help us in moving forward.
   
   
[CustomJMeterThread.txt](https://github.com/apache/jmeter/files/10330308/CustomJMeterThread.txt)
   
[CustomThreadGroup.txt](https://github.com/apache/jmeter/files/10330309/CustomThreadGroup.txt)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to