How to verify that 'frappe.publish_realtime()' has actually published something?

Please check this tutorial

And share some screen shot its help me to understand the error

Which Version ERPNext your using?