Google Pub/Sub loadtest with JMeter
Install JMeter https://jmeter.apache.org/download_jmeter.cgi and Java 8+
Install JMeter Plugin for installing other plugins https://jmeter-plugins.org/install/Install/ place jar file in JMeter
Restart JMeter and goto menu
Options -> Plugin Manager
GCP pubsub plugincheck and click
Apply Changes and Restart JMeter
Add Config sections
PubSub-PublisherConfigurationwith service account credential to test plan.
Subscriber Requestto the thread group with the data you want to test.
Run load test scenarios as planned.