I'm new to test automation and Google Pub/Sub. I'm developing automation scripts for regression testing. My automation framework is built with Java, Maven, Cucumber and TestNG
My application is a spring batch job. It consumes an input file and after processing the data, corresponding messages are published to a topic.
How do I automate the testing of publishing message to a topic functionality? I wanted to test if the right messages are published to the topic.
Kindly provide me some approach to automate testing of Pub/Sub functionality.