[ONOS-7937] Trigger slack notifications when test pass percentage is lower than expected

Change-Id: I2cec4181e6b9b8d972956aacbeab1adfe61d707b
(cherry picked from commit c2e22b2e66838d80ffb4f72cdef69a028d7756c1)
diff --git a/TestON/core/utilities.py b/TestON/core/utilities.py
index 91fc105..012b651 100644
--- a/TestON/core/utilities.py
+++ b/TestON/core/utilities.py
@@ -220,13 +220,13 @@
                 sub = "Result summary of \"" + main.TEST + "\" run on component \"" + \
                       main.test_target + "\" Version \"" + \
                       vars( main )[ main.test_target ].get_version() + "\": " + \
-                      str( main.TOTAL_TC_SUCCESS ) + "% Passed"
+                      str( main.TOTAL_TC_SUCCESS_PERCENT ) + "% Passed"
             else:
                 sub = "Result summary of \"" + main.TEST + "\": " + \
-                      str( main.TOTAL_TC_SUCCESS ) + "% Passed"
+                      str( main.TOTAL_TC_SUCCESS_PERCENT ) + "% Passed"
         except( KeyError, AttributeError ):
             sub = "Result summary of \"" + main.TEST + "\": " + \
-                  str( main.TOTAL_TC_SUCCESS ) + "% Passed"
+                  str( main.TOTAL_TC_SUCCESS_PERCENT ) + "% Passed"
 
         msg[ 'Subject' ] = sub
         msg[ 'From' ] = main.sender