Test duration : 9.328s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2022-06-05 23:16:25 |
2022-06-05 23:16:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:25 | ------------------------------------ 2022-06-05 23:16:25 | [Mutex] waiting for: [configured:node:node-161c831d-75c6-4855-b1b9-68b13333ae7a:node-2dc4fcb7-df3e-4272-95c5-164015ee8ab2] 2022-06-05 23:16:25 | [Mutex] received everything. 2022-06-05 23:16:25 | [Mutex] isItemNotified: configured:node:node-161c831d-75c6-4855-b1b9-68b13333ae7a:node-2dc4fcb7-df3e-4272-95c5-164015ee8ab2 :: true 2022-06-05 23:16:26 | [Mutex] waiting for: [received:nodes:6974ba55-25b9-434f-89a2-5b629f4369b2:localhost] 2022-06-05 23:16:26 | [Mutex] received everything. 2022-06-05 23:16:26 | [Mutex] isItemNotified: received:node:6974ba55-25b9-434f-89a2-5b629f4369b2:localhost:node-161c831d-75c6-4855-b1b9-68b13333ae7a:Node 161c831d-75c6-4855-b1b9-68b13333ae7a :: true 2022-06-05 23:16:26 | [Mutex] waiting for: [received:nodes:df307db2-9d94-4a67-8abc-6b6e2e2a4362:localhost] 2022-06-05 23:16:26 | [Mutex] waiting for: [received:nodes:df307db2-9d94-4a67-8abc-6b6e2e2a4362:localhost] 2022-06-05 23:16:26 | [Mutex] received everything. 2022-06-05 23:16:26 | [Mutex] isItemNotified: received:node:df307db2-9d94-4a67-8abc-6b6e2e2a4362:localhost:node-161c831d-75c6-4855-b1b9-68b13333ae7a:Node 161c831d-75c6-4855-b1b9-68b13333ae7a :: false |
createNodes | 1.417s |
2022-06-05 23:16:22 |
2022-06-05 23:16:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:22 | ------------------------------------ 2022-06-05 23:16:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-161c831d-75c6-4855-b1b9-68b13333ae7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 161c831d-75c6-4855-b1b9-68b13333ae7a</title></pubsub></data> 2022-06-05 23:16:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-05 23:16:24 | [Mutex] waiting for: [received:nodes:29cefe0b-c734-42d7-a0a7-13f6f0538c79:localhost] 2022-06-05 23:16:24 | [Mutex] received everything. 2022-06-05 23:16:24 | [Mutex] isItemNotified: received:node:29cefe0b-c734-42d7-a0a7-13f6f0538c79:localhost:node-161c831d-75c6-4855-b1b9-68b13333ae7a:Node 161c831d-75c6-4855-b1b9-68b13333ae7a :: true |
createSubnodes | 1.023s |
2022-06-05 23:16:24 |
2022-06-05 23:16:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:24 | ------------------------------------ 2022-06-05 23:16:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2dc4fcb7-df3e-4272-95c5-164015ee8ab2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2dc4fcb7-df3e-4272-95c5-164015ee8ab2</title></pubsub></data> 2022-06-05 23:16:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-05 23:16:25 | [Mutex] waiting for: [received:nodes:85822648-e209-4c2f-9807-715dbdfdd878:localhost] 2022-06-05 23:16:25 | [Mutex] waiting for: [received:nodes:85822648-e209-4c2f-9807-715dbdfdd878:localhost] 2022-06-05 23:16:25 | [Mutex] received everything. 2022-06-05 23:16:25 | [Mutex] isItemNotified: received:node:85822648-e209-4c2f-9807-715dbdfdd878:localhost:node-2dc4fcb7-df3e-4272-95c5-164015ee8ab2:Node 2dc4fcb7-df3e-4272-95c5-164015ee8ab2 :: true |
deleteNodes | 1.017s |
2022-06-05 23:16:30 |
2022-06-05 23:16:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:30 | ------------------------------------ 2022-06-05 23:16:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2dc4fcb7-df3e-4272-95c5-164015ee8ab2</node></data> 2022-06-05 23:16:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-05 23:16:31 | [Mutex] waiting for: [received:nodes:dea54ed5-43ac-465f-b8d6-811f76ead174:localhost] 2022-06-05 23:16:31 | [Mutex] waiting for: [received:nodes:dea54ed5-43ac-465f-b8d6-811f76ead174:localhost] 2022-06-05 23:16:31 | [Mutex] received everything. 2022-06-05 23:16:31 | [Mutex] isItemNotified: received:node:dea54ed5-43ac-465f-b8d6-811f76ead174:localhost:node-2dc4fcb7-df3e-4272-95c5-164015ee8ab2:Node 2dc4fcb7-df3e-4272-95c5-164015ee8ab2 :: false |
deleteSubnodes | 1.171s |
2022-06-05 23:16:29 |
2022-06-05 23:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:29 | ------------------------------------ 2022-06-05 23:16:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-161c831d-75c6-4855-b1b9-68b13333ae7a</node></data> 2022-06-05 23:16:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-05 23:16:30 | [Mutex] waiting for: [received:nodes:1fb25480-4cd2-47e9-a3f3-99526506cb90:localhost] 2022-06-05 23:16:30 | [Mutex] received everything. 2022-06-05 23:16:30 | [Mutex] isItemNotified: received:node:1fb25480-4cd2-47e9-a3f3-99526506cb90:localhost:node-161c831d-75c6-4855-b1b9-68b13333ae7a:Node 161c831d-75c6-4855-b1b9-68b13333ae7a :: false 2022-06-05 23:16:30 | [Mutex] waiting for: [received:nodes:41eb69e4-eca8-430d-8e2c-18caadfa8b6c:localhost] 2022-06-05 23:16:30 | [Mutex] received everything. 2022-06-05 23:16:30 | [Mutex] isItemNotified: received:node:41eb69e4-eca8-430d-8e2c-18caadfa8b6c:localhost:node-161c831d-75c6-4855-b1b9-68b13333ae7a:Node 161c831d-75c6-4855-b1b9-68b13333ae7a :: false |
publishItemsToNodes | 0.172s |
2022-06-05 23:16:27 |
2022-06-05 23:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:27 | ------------------------------------ 2022-06-05 23:16:27 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-161c831d-75c6-4855-b1b9-68b13333ae7a</node><item-id>item-ad2b46c1-d1b3-435d-b914-a32ec96a9844</item-id><entry><test>item-ad2b46c1-d1b3-435d-b914-a32ec96a9844</test></entry></data> 2022-06-05 23:16:27 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-ad2b46c1-d1b3-435d-b914-a32ec96a9844</value></item-id></result> 2022-06-05 23:16:27 | [Mutex] waiting for: [published:item:notifieditem-ad2b46c1-d1b3-435d-b914-a32ec96a9844:admin@test-domain.com] 2022-06-05 23:16:27 | [Mutex] received everything. 2022-06-05 23:16:27 | [Mutex] isItemNotified: published:item:notifieditem-ad2b46c1-d1b3-435d-b914-a32ec96a9844:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2022-06-05 23:16:27 |
2022-06-05 23:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:27 | ------------------------------------ 2022-06-05 23:16:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-161c831d-75c6-4855-b1b9-68b13333ae7a</node><item-id>item-ad2b46c1-d1b3-435d-b914-a32ec96a9844</item-id></data> 2022-06-05 23:16:28 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-ad2b46c1-d1b3-435d-b914-a32ec96a9844</value></item-id></result> 2022-06-05 23:16:28 | [Mutex] received everything. 2022-06-05 23:16:28 | [Mutex] isItemNotified: retracted:item:notifieditem-ad2b46c1-d1b3-435d-b914-a32ec96a9844:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.229s |
2022-06-05 23:16:27 |
2022-06-05 23:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:27 | ------------------------------------ 2022-06-05 23:16:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-161c831d-75c6-4855-b1b9-68b13333ae7a</node><item-id>item-ad2b46c1-d1b3-435d-b914-a32ec96a9844</item-id></data> 2022-06-05 23:16:27 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-161c831d-75c6-4855-b1b9-68b13333ae7a</value></node><item-id type="text-single" label="Item ID"><value>item-ad2b46c1-d1b3-435d-b914-a32ec96a9844</value></item-id><item type="text-multi" label="Item"><value><item id="item-ad2b46c1-d1b3-435d-b914-a32ec96a9844"><test>item-ad2b46c1-d1b3-435d-b914-a32ec96a9844</test></item></value></item></result> 2022-06-05 23:16:27 | [Mutex] notify: [retrieved:item:item-ad2b46c1-d1b3-435d-b914-a32ec96a9844:payload-matches:true:localhost] 2022-06-05 23:16:27 | [Mutex] received everything. 2022-06-05 23:16:27 | [Mutex] isItemNotified: retrieved:item:item-ad2b46c1-d1b3-435d-b914-a32ec96a9844:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-06-05 23:16:27 |
2022-06-05 23:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:27 | ------------------------------------ 2022-06-05 23:16:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-05 23:16:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-161c831d-75c6-4855-b1b9-68b13333ae7a</value><value>node-2dc4fcb7-df3e-4272-95c5-164015ee8ab2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-05 23:16:27 |
2022-06-05 23:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:27 | ------------------------------------ 2022-06-05 23:16:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-161c831d-75c6-4855-b1b9-68b13333ae7a)</node-pattern></data> 2022-06-05 23:16:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.104s |
2022-06-05 23:16:26 |
2022-06-05 23:16:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:26 | ------------------------------------ 2022-06-05 23:16:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-161c831d-75c6-4855-b1b9-68b13333ae7a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-05 23:16:26 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.159s |
2022-06-05 23:16:28 |
2022-06-05 23:16:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 23:16:28 | ------------------------------------ 2022-06-05 23:16:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-161c831d-75c6-4855-b1b9-68b13333ae7a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-05 23:16:28 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |