Check the wlp/usr/servers/testServer/logs/message.log. You will note that both ActivationSpec(s) are connected.
[1/10/22, 1:14:34:421 AEST] 0000002b WMQ.commonservices.trace I ActivationSpec 'mdbtest#mdbtest.war#SampleListenerMDBQM2' connected or reconnected (to host 'localhost/127.0.0.1':'1415' - 'QM2') successfully.
[1/10/22, 1:14:34:422 AEST] 0000002b com.ibm.ws.jca.service.EndpointActivationService I J2CA8801I: The message endpoint for activation specification mdbtest/SampleListenerMDBQM2 and message driven bean application mdbtest#mdbtest.war#SampleListenerMDBQM2 is activated.
[1/10/22, 1:14:34:519 AEST] 0000002b WMQ.commonservices.trace I ActivationSpec 'mdbtest#mdbtest.war#SampleListenerMDBQM1' connected or reconnected (to host 'localhost/127.0.0.1':'1414' - 'QM1') successfully.
[1/10/22, 1:14:34:520 AEST] 0000002b com.ibm.ws.jca.service.EndpointActivationService I J2CA8801I: The message endpoint for activation specification mdbtest/SampleListenerMDBQM1 and message driven bean application mdbtest#mdbtest.war#SampleListenerMDBQM1 is activated.
[1/10/22, 1:14:34:554 AEST] 0000002b com.ibm.ws.kernel.feature.internal.FeatureManager A CWWKF0012I: The server installed the following features: [appClientSupport-1.0, appSecurity-2.0, batch-1.0, beanValidation-1.1, cdi-1.2, concurrent-1.0, distributedMap-1.0, ejb-3.2, ejbHome-3.2, ejbLite-3.2, ejbPersistentTimer-3.2, ejbRemote-3.2, el-3.0, j2eeManagement-1.1, jacc-1.5, jaspic-1.1, javaMail-1.5, javaee-7.0, jaxb-2.2, jaxrs-2.0, jaxrsClient-2.0, jaxws-2.2, jca-1.7, jcaInboundSecurity-1.0, jdbc-4.1, jms-2.0, jndi-1.0, jpa-2.1, jpaContainer-2.1, jsf-2.2, json-1.0, jsonp-1.0, jsp-2.3, localConnector-1.0, managedBeans-1.0, mdb-3.2, servlet-3.1, ssl-1.0, wasJmsClient-2.0, wasJmsSecurity-1.0, wasJmsServer-1.0, webProfile-7.0, websocket-1.1, wmqJmsClient-2.0].
[1/10/22, 1:14:34:556 AEST] 0000002b com.ibm.ws.kernel.feature.internal.FeatureManager I CWWKF0008I: Feature update completed in 5.919 seconds.
[1/10/22, 1:14:34:556 AEST] 0000002b com.ibm.ws.kernel.feature.internal.FeatureManager A CWWKF0011I: The testServer server is ready to run a smarter planet. The testServer server started in 6.926 seconds.