Forum Discussion

vbisbest's avatar
vbisbest
New Contributor
3 years ago
Solved

TestRunListener.beforeRun triggered multiple times

I have the exact same issue as this post with my custom plugin:

https://community.smartbear.com/t5/API-Functional-Security-Testing/Event-quot-TestRunListener-beforeRun-quot-triggered-multiple/td-p/111341

 

I have only 1 functional test with 1 request.  I am using the Sample template to get started and I keep getting multiple beforeRun and afterRun events.   Why is this happening?  The solution does not make sense to me that was posted.

 

Thanks

 

  • What is your use case?
    How do you know it is running multiple times?
    What is script that you have in beforeRun event?
    Are you running test step or test case or suite or project?
    What is the custom plugin doing?

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    What is your use case?
    How do you know it is running multiple times?
    What is script that you have in beforeRun event?
    Are you running test step or test case or suite or project?
    What is the custom plugin doing?
    • nmrao's avatar
      nmrao
      Champion Level 3
      How did it solve the issue of yours?