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
Download dependencies for the plugin and place the jar file in the JMeter
libdirectory. google-cloud-pubsub and gson
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.