To test the MQTT setup with a web client, you can go here HiveMQ. Or, install the web client on your machine from here HiveMQ GitHub.
In the connection section, enter the address of you MQTT server, my local address is
Click the
Open a terminal and log in to your MQTT server and enter
mosquitto_sub -h localhost -t TestTopic
as you did with the initial test at set up.
In the Publish section of the web client, enter the Topic name
In the message box enter a message such as
Click the Publish button and your message will show in the terminal.