Test duration : 10.271s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2022-02-13 22:11:55 |
2022-02-13 22:11:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:55 | ------------------------------------ 2022-02-13 22:11:55 | [Mutex] waiting for: [configured:node:node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6:node-13632649-b045-4a2c-8402-769f0016b6fc] 2022-02-13 22:11:55 | [Mutex] received everything. 2022-02-13 22:11:55 | [Mutex] isItemNotified: configured:node:node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6:node-13632649-b045-4a2c-8402-769f0016b6fc :: true 2022-02-13 22:11:56 | [Mutex] waiting for: [received:nodes:9b871551-8229-4941-b5f0-4f3e331a4308:localhost] 2022-02-13 22:11:56 | [Mutex] received everything. 2022-02-13 22:11:56 | [Mutex] isItemNotified: received:node:9b871551-8229-4941-b5f0-4f3e331a4308:localhost:node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6:Node 11ba5b97-f9c5-44d4-936e-1c4e88d32ed6 :: true 2022-02-13 22:11:56 | [Mutex] waiting for: [received:nodes:f1abc065-cfed-4a48-a076-072a2d91b866:localhost] 2022-02-13 22:11:56 | [Mutex] received everything. 2022-02-13 22:11:56 | [Mutex] isItemNotified: received:node:f1abc065-cfed-4a48-a076-072a2d91b866:localhost:node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6:Node 11ba5b97-f9c5-44d4-936e-1c4e88d32ed6 :: false |
createNodes | 1.591s |
2022-02-13 22:11:52 |
2022-02-13 22:11:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:52 | ------------------------------------ 2022-02-13 22:11:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</title></pubsub></data> 2022-02-13 22:11:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-13 22:11:54 | [Mutex] waiting for: [received:nodes:92dc691e-ca4e-4d70-9cdd-59063675b12b:localhost] 2022-02-13 22:11:54 | [Mutex] received everything. 2022-02-13 22:11:54 | [Mutex] isItemNotified: received:node:92dc691e-ca4e-4d70-9cdd-59063675b12b:localhost:node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6:Node 11ba5b97-f9c5-44d4-936e-1c4e88d32ed6 :: true |
createSubnodes | 1.024s |
2022-02-13 22:11:54 |
2022-02-13 22:11:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:54 | ------------------------------------ 2022-02-13 22:11:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-13632649-b045-4a2c-8402-769f0016b6fc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 13632649-b045-4a2c-8402-769f0016b6fc</title></pubsub></data> 2022-02-13 22:11:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-13 22:11:55 | [Mutex] waiting for: [received:nodes:b225ec89-2e1c-48db-a6ce-5ee4a79da166:localhost] 2022-02-13 22:11:55 | [Mutex] received everything. 2022-02-13 22:11:55 | [Mutex] isItemNotified: received:node:b225ec89-2e1c-48db-a6ce-5ee4a79da166:localhost:node-13632649-b045-4a2c-8402-769f0016b6fc:Node 13632649-b045-4a2c-8402-769f0016b6fc :: true |
deleteNodes | 1.021s |
2022-02-13 22:12:00 |
2022-02-13 22:12:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:12:00 | ------------------------------------ 2022-02-13 22:12:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-13632649-b045-4a2c-8402-769f0016b6fc</node></data> 2022-02-13 22:12:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-13 22:12:01 | [Mutex] waiting for: [received:nodes:7b62b7ba-a58f-40f5-8967-93ba1767e041:localhost] 2022-02-13 22:12:01 | [Mutex] received everything. 2022-02-13 22:12:01 | [Mutex] isItemNotified: received:node:7b62b7ba-a58f-40f5-8967-93ba1767e041:localhost:node-13632649-b045-4a2c-8402-769f0016b6fc:Node 13632649-b045-4a2c-8402-769f0016b6fc :: false |
deleteSubnodes | 1.146s |
2022-02-13 22:11:59 |
2022-02-13 22:11:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:59 | ------------------------------------ 2022-02-13 22:11:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</node></data> 2022-02-13 22:11:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-13 22:12:00 | [Mutex] waiting for: [received:nodes:70863b41-38bd-40fe-94e5-fbea2ee5f1d7:localhost] 2022-02-13 22:12:00 | [Mutex] received everything. 2022-02-13 22:12:00 | [Mutex] isItemNotified: received:node:70863b41-38bd-40fe-94e5-fbea2ee5f1d7:localhost:node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6:Node 11ba5b97-f9c5-44d4-936e-1c4e88d32ed6 :: false 2022-02-13 22:12:00 | [Mutex] waiting for: [received:nodes:ba7ffad0-3f22-4158-82bd-04dc65d9d1c4:localhost] 2022-02-13 22:12:00 | [Mutex] received everything. 2022-02-13 22:12:00 | [Mutex] isItemNotified: received:node:ba7ffad0-3f22-4158-82bd-04dc65d9d1c4:localhost:node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6:Node 11ba5b97-f9c5-44d4-936e-1c4e88d32ed6 :: false |
publishItemsToNodes | 0.290s |
2022-02-13 22:11:57 |
2022-02-13 22:11:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:57 | ------------------------------------ 2022-02-13 22:11:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</node><item-id>item-3eed4444-bcc6-46ef-82f1-19ba73c7c716</item-id><entry><test>item-3eed4444-bcc6-46ef-82f1-19ba73c7c716</test></entry></data> 2022-02-13 22:11:57 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-3eed4444-bcc6-46ef-82f1-19ba73c7c716</value></item-id></result> 2022-02-13 22:11:57 | [Mutex] waiting for: [published:item:notifieditem-3eed4444-bcc6-46ef-82f1-19ba73c7c716:admin@test-domain.com] 2022-02-13 22:11:57 | [Mutex] received everything. 2022-02-13 22:11:57 | [Mutex] isItemNotified: published:item:notifieditem-3eed4444-bcc6-46ef-82f1-19ba73c7c716:admin@test-domain.com :: true |
retractItemsFromNodes | 0.368s |
2022-02-13 22:11:58 |
2022-02-13 22:11:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:58 | ------------------------------------ 2022-02-13 22:11:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</node><item-id>item-3eed4444-bcc6-46ef-82f1-19ba73c7c716</item-id></data> 2022-02-13 22:11:58 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-3eed4444-bcc6-46ef-82f1-19ba73c7c716</value></item-id></result> 2022-02-13 22:11:58 | [Mutex] waiting for: [retracted:item:notifieditem-3eed4444-bcc6-46ef-82f1-19ba73c7c716:admin@test-domain.com] 2022-02-13 22:11:58 | [Mutex] received everything. 2022-02-13 22:11:58 | [Mutex] isItemNotified: retracted:item:notifieditem-3eed4444-bcc6-46ef-82f1-19ba73c7c716:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.330s |
2022-02-13 22:11:57 |
2022-02-13 22:11:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:57 | ------------------------------------ 2022-02-13 22:11:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</node><item-id>item-3eed4444-bcc6-46ef-82f1-19ba73c7c716</item-id></data> 2022-02-13 22:11:57 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</value></node><item-id label="Item ID" type="text-single"><value>item-3eed4444-bcc6-46ef-82f1-19ba73c7c716</value></item-id><item label="Item" type="text-multi"><value><item id="item-3eed4444-bcc6-46ef-82f1-19ba73c7c716"><test>item-3eed4444-bcc6-46ef-82f1-19ba73c7c716</test></item></value></item></result> 2022-02-13 22:11:57 | [Mutex] notify: [retrieved:item:item-3eed4444-bcc6-46ef-82f1-19ba73c7c716:payload-matches:true:localhost] 2022-02-13 22:11:57 | [Mutex] received everything. 2022-02-13 22:11:57 | [Mutex] isItemNotified: retrieved:item:item-3eed4444-bcc6-46ef-82f1-19ba73c7c716:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.058s |
2022-02-13 22:11:57 |
2022-02-13 22:11:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:57 | ------------------------------------ 2022-02-13 22:11:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-13 22:11:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</value><value>test</value><value>node-13632649-b045-4a2c-8402-769f0016b6fc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2022-02-13 22:11:57 |
2022-02-13 22:11:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:57 | ------------------------------------ 2022-02-13 22:11:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6)</node-pattern></data> 2022-02-13 22:11:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.116s |
2022-02-13 22:11:56 |
2022-02-13 22:11:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:56 | ------------------------------------ 2022-02-13 22:11:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-13 22:11:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.296s |
2022-02-13 22:11:58 |
2022-02-13 22:11:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-13 22:11:58 | ------------------------------------ 2022-02-13 22:11:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-11ba5b97-f9c5-44d4-936e-1c4e88d32ed6</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-13 22:11:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |