...
- Start a new JMeter instance by executing the following script from the
<JMeter_Home>/bin
folder:- On windows:
jmeter.bat
- On Linux:
sh jmeter.sh
- On windows:
- Go to the JMeter UI and create a JMS subscriber as explained below.
- Create a new thread group: Right-click Test Plan (in the left navigator) and go to Add -> Threads (Users) -> Thread Group.
- The new thread group will now be listed in the left navigator under the Test Plan.
- Right-click on the new thread group and go to Add -> Sampler -> JMS Subscriber.
- Name this subscriber
Games Subscriber
. You will now have a JMS Subscriber node in the left navigator. Select this node and enter the following details:
Initial Context Factory org.wso2.andes.jndi.PropertiesFileInitialContextFactory The connection details you specified in the
jnditopics.properties
file should be entered for the JMS Subscriber as shown below.Provider URL The location where you saved the jnditopics.properties
file.Connection Factory TopicConnectionFactory
.Destination The jndi JNDI name given to the topic hierarchy in the jnditopics.properties
file. For example, to subscribe to all the topics in the topic hierarchy, enter 'All_Games'.- Right-click on the new Thread Group and go to Add -> Listener -> View Results Tree. This will create a listener node in the JMeter navigator for analysing the output of the subscription.
Save the information. You now have a JMS client subscribed to the 'games' topic and all its child topics.
Execute the JMeter client.
Now, go to the management console of the Message Broker profile and go to Main -> Subscriptions -> Topic Subscription List. Your subscription will be listed as a non-durable topic subscription:
...