Test duration : 9.425s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2023-03-23 22:30:05 |
2023-03-23 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:05 | ------------------------------------ 2023-03-23 22:30:05 | [Mutex] waiting for: [configured:node:node-31374ad0-fbba-4a0c-976b-5934c2674a18:node-fc48c5cc-7083-44f3-baa0-23523ca7fd87] 2023-03-23 22:30:05 | [Mutex] received everything. 2023-03-23 22:30:05 | [Mutex] isItemNotified: configured:node:node-31374ad0-fbba-4a0c-976b-5934c2674a18:node-fc48c5cc-7083-44f3-baa0-23523ca7fd87 :: true 2023-03-23 22:30:06 | [Mutex] waiting for: [received:nodes:291df656-4ec9-46c1-b0af-2b440b903581:localhost] 2023-03-23 22:30:06 | [Mutex] received everything. 2023-03-23 22:30:06 | [Mutex] isItemNotified: received:node:291df656-4ec9-46c1-b0af-2b440b903581:localhost:node-31374ad0-fbba-4a0c-976b-5934c2674a18:Node 31374ad0-fbba-4a0c-976b-5934c2674a18 :: true 2023-03-23 22:30:06 | [Mutex] waiting for: [received:nodes:07b7cacd-1beb-4d34-a2b7-c43748b0696b:localhost] 2023-03-23 22:30:06 | [Mutex] waiting for: [received:nodes:07b7cacd-1beb-4d34-a2b7-c43748b0696b:localhost] 2023-03-23 22:30:06 | [Mutex] waiting for: [received:nodes:07b7cacd-1beb-4d34-a2b7-c43748b0696b:localhost] 2023-03-23 22:30:06 | [Mutex] waiting for: [received:nodes:07b7cacd-1beb-4d34-a2b7-c43748b0696b:localhost] 2023-03-23 22:30:06 | [Mutex] received everything. 2023-03-23 22:30:06 | [Mutex] isItemNotified: received:node:07b7cacd-1beb-4d34-a2b7-c43748b0696b:localhost:node-31374ad0-fbba-4a0c-976b-5934c2674a18:Node 31374ad0-fbba-4a0c-976b-5934c2674a18 :: false |
createNodes | 1.460s |
2023-03-23 22:30:03 |
2023-03-23 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:03 | ------------------------------------ 2023-03-23 22:30:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-31374ad0-fbba-4a0c-976b-5934c2674a18</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 31374ad0-fbba-4a0c-976b-5934c2674a18</title></pubsub></data> 2023-03-23 22:30:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:04 | [Mutex] waiting for: [received:nodes:5405d93a-0e8f-4fbf-ad24-fbdc2f1a0bd6:localhost] 2023-03-23 22:30:04 | [Mutex] waiting for: [received:nodes:5405d93a-0e8f-4fbf-ad24-fbdc2f1a0bd6:localhost] 2023-03-23 22:30:04 | [Mutex] waiting for: [received:nodes:5405d93a-0e8f-4fbf-ad24-fbdc2f1a0bd6:localhost] 2023-03-23 22:30:04 | [Mutex] waiting for: [received:nodes:5405d93a-0e8f-4fbf-ad24-fbdc2f1a0bd6:localhost] 2023-03-23 22:30:04 | [Mutex] received everything. 2023-03-23 22:30:04 | [Mutex] isItemNotified: received:node:5405d93a-0e8f-4fbf-ad24-fbdc2f1a0bd6:localhost:node-31374ad0-fbba-4a0c-976b-5934c2674a18:Node 31374ad0-fbba-4a0c-976b-5934c2674a18 :: true |
createSubnodes | 1.025s |
2023-03-23 22:30:04 |
2023-03-23 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:04 | ------------------------------------ 2023-03-23 22:30:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fc48c5cc-7083-44f3-baa0-23523ca7fd87</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fc48c5cc-7083-44f3-baa0-23523ca7fd87</title></pubsub></data> 2023-03-23 22:30:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:05 | [Mutex] waiting for: [received:nodes:fc8131f0-af48-4b95-bad2-11f287eb4cdb:localhost] 2023-03-23 22:30:05 | [Mutex] waiting for: [received:nodes:fc8131f0-af48-4b95-bad2-11f287eb4cdb:localhost] 2023-03-23 22:30:05 | [Mutex] waiting for: [received:nodes:fc8131f0-af48-4b95-bad2-11f287eb4cdb:localhost] 2023-03-23 22:30:05 | [Mutex] waiting for: [received:nodes:fc8131f0-af48-4b95-bad2-11f287eb4cdb:localhost] 2023-03-23 22:30:05 | [Mutex] waiting for: [received:nodes:fc8131f0-af48-4b95-bad2-11f287eb4cdb:localhost] 2023-03-23 22:30:05 | [Mutex] received everything. 2023-03-23 22:30:05 | [Mutex] isItemNotified: received:node:fc8131f0-af48-4b95-bad2-11f287eb4cdb:localhost:node-fc48c5cc-7083-44f3-baa0-23523ca7fd87:Node fc48c5cc-7083-44f3-baa0-23523ca7fd87 :: true |
deleteNodes | 1.014s |
2023-03-23 22:30:11 |
2023-03-23 22:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:11 | ------------------------------------ 2023-03-23 22:30:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fc48c5cc-7083-44f3-baa0-23523ca7fd87</node></data> 2023-03-23 22:30:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:12 | [Mutex] waiting for: [received:nodes:1821e070-1feb-49bf-af39-d80910e55d73:localhost] 2023-03-23 22:30:12 | [Mutex] waiting for: [received:nodes:1821e070-1feb-49bf-af39-d80910e55d73:localhost] 2023-03-23 22:30:12 | [Mutex] waiting for: [received:nodes:1821e070-1feb-49bf-af39-d80910e55d73:localhost] 2023-03-23 22:30:12 | [Mutex] received everything. 2023-03-23 22:30:12 | [Mutex] isItemNotified: received:node:1821e070-1feb-49bf-af39-d80910e55d73:localhost:node-fc48c5cc-7083-44f3-baa0-23523ca7fd87:Node fc48c5cc-7083-44f3-baa0-23523ca7fd87 :: false |
deleteSubnodes | 1.119s |
2023-03-23 22:30:10 |
2023-03-23 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:10 | ------------------------------------ 2023-03-23 22:30:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-31374ad0-fbba-4a0c-976b-5934c2674a18</node></data> 2023-03-23 22:30:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:11 | [Mutex] waiting for: [received:nodes:9e80cb06-b265-4ead-8fd4-ef45b35cca20:localhost] 2023-03-23 22:30:11 | [Mutex] waiting for: [received:nodes:9e80cb06-b265-4ead-8fd4-ef45b35cca20:localhost] 2023-03-23 22:30:11 | [Mutex] received everything. 2023-03-23 22:30:11 | [Mutex] isItemNotified: received:node:9e80cb06-b265-4ead-8fd4-ef45b35cca20:localhost:node-31374ad0-fbba-4a0c-976b-5934c2674a18:Node 31374ad0-fbba-4a0c-976b-5934c2674a18 :: false 2023-03-23 22:30:11 | [Mutex] waiting for: [received:nodes:a7d5ce03-2576-40d0-bbf2-2a0ed32c5b42:localhost] 2023-03-23 22:30:11 | [Mutex] received everything. 2023-03-23 22:30:11 | [Mutex] isItemNotified: received:node:a7d5ce03-2576-40d0-bbf2-2a0ed32c5b42:localhost:node-31374ad0-fbba-4a0c-976b-5934c2674a18:Node 31374ad0-fbba-4a0c-976b-5934c2674a18 :: false |
publishItemsToNodes | 0.206s |
2023-03-23 22:30:08 |
2023-03-23 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:08 | ------------------------------------ 2023-03-23 22:30:08 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-31374ad0-fbba-4a0c-976b-5934c2674a18</node><item-id>item-e9f12832-df8f-4a4d-9433-1725e69cdfd6</item-id><entry><test>item-e9f12832-df8f-4a4d-9433-1725e69cdfd6</test></entry></data> 2023-03-23 22:30:08 | 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-e9f12832-df8f-4a4d-9433-1725e69cdfd6</value></item-id></result> 2023-03-23 22:30:08 | [Mutex] received everything. 2023-03-23 22:30:08 | [Mutex] isItemNotified: published:item:notifieditem-e9f12832-df8f-4a4d-9433-1725e69cdfd6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2023-03-23 22:30:08 |
2023-03-23 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:08 | ------------------------------------ 2023-03-23 22:30:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-31374ad0-fbba-4a0c-976b-5934c2674a18</node><item-id>item-e9f12832-df8f-4a4d-9433-1725e69cdfd6</item-id></data> 2023-03-23 22:30:08 | 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-e9f12832-df8f-4a4d-9433-1725e69cdfd6</value></item-id></result> 2023-03-23 22:30:08 | [Mutex] received everything. 2023-03-23 22:30:08 | [Mutex] isItemNotified: retracted:item:notifieditem-e9f12832-df8f-4a4d-9433-1725e69cdfd6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.228s |
2023-03-23 22:30:08 |
2023-03-23 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:08 | ------------------------------------ 2023-03-23 22:30:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-31374ad0-fbba-4a0c-976b-5934c2674a18</node><item-id>item-e9f12832-df8f-4a4d-9433-1725e69cdfd6</item-id></data> 2023-03-23 22:30:08 | 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-31374ad0-fbba-4a0c-976b-5934c2674a18</value></node><item-id type="text-single" label="Item ID"><value>item-e9f12832-df8f-4a4d-9433-1725e69cdfd6</value></item-id><item type="text-multi" label="Item"><value><item id="item-e9f12832-df8f-4a4d-9433-1725e69cdfd6"><test>item-e9f12832-df8f-4a4d-9433-1725e69cdfd6</test></item></value></item></result> 2023-03-23 22:30:08 | [Mutex] notify: [retrieved:item:item-e9f12832-df8f-4a4d-9433-1725e69cdfd6:payload-matches:true:localhost] 2023-03-23 22:30:08 | [Mutex] received everything. 2023-03-23 22:30:08 | [Mutex] isItemNotified: retrieved:item:item-e9f12832-df8f-4a4d-9433-1725e69cdfd6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-03-23 22:30:08 |
2023-03-23 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:08 | ------------------------------------ 2023-03-23 22:30:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-23 22:30:08 | 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-31374ad0-fbba-4a0c-976b-5934c2674a18</value><value>node-fc48c5cc-7083-44f3-baa0-23523ca7fd87</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-23 22:30:08 |
2023-03-23 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:08 | ------------------------------------ 2023-03-23 22:30:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-31374ad0-fbba-4a0c-976b-5934c2674a18)</node-pattern></data> 2023-03-23 22:30:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2023-03-23 22:30:06 |
2023-03-23 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:06 | ------------------------------------ 2023-03-23 22:30:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-31374ad0-fbba-4a0c-976b-5934c2674a18</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-23 22:30:07 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.187s |
2023-03-23 22:30:08 |
2023-03-23 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:08 | ------------------------------------ 2023-03-23 22:30:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-31374ad0-fbba-4a0c-976b-5934c2674a18</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-23 22:30:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |