Test duration : 9.989s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2020-12-28 21:58:52 |
2020-12-28 21:58:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:52 | ------------------------------------ 2020-12-28 21:58:52 | [Mutex] waiting for: [configured:node:node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6:node-1064b6b3-b999-4366-a9be-47172482dea1] 2020-12-28 21:58:52 | [Mutex] received everything. 2020-12-28 21:58:52 | [Mutex] isItemNotified: configured:node:node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6:node-1064b6b3-b999-4366-a9be-47172482dea1 :: true 2020-12-28 21:58:53 | [Mutex] waiting for: [received:nodes:2859a56e-39d2-4a6e-acf7-5b4eafcee667:localhost] 2020-12-28 21:58:53 | [Mutex] received everything. 2020-12-28 21:58:53 | [Mutex] isItemNotified: received:node:2859a56e-39d2-4a6e-acf7-5b4eafcee667:localhost:node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6:Node 928ce4e5-d81d-41c2-ad01-7fa11d64efe6 :: true 2020-12-28 21:58:53 | [Mutex] waiting for: [received:nodes:f5cb504c-b1e5-451a-bf34-c342065b5517:localhost] 2020-12-28 21:58:53 | [Mutex] waiting for: [received:nodes:f5cb504c-b1e5-451a-bf34-c342065b5517:localhost] 2020-12-28 21:58:53 | [Mutex] received everything. 2020-12-28 21:58:53 | [Mutex] isItemNotified: received:node:f5cb504c-b1e5-451a-bf34-c342065b5517:localhost:node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6:Node 928ce4e5-d81d-41c2-ad01-7fa11d64efe6 :: false |
createNodes | 1.386s |
2020-12-28 21:58:49 |
2020-12-28 21:58:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:49 | ------------------------------------ 2020-12-28 21:58:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 928ce4e5-d81d-41c2-ad01-7fa11d64efe6</title></pubsub></data> 2020-12-28 21:58:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:58:51 | [Mutex] waiting for: [received:nodes:4879e3af-cead-40d0-9d65-d4b43dbb8ac8:localhost] 2020-12-28 21:58:51 | [Mutex] received everything. 2020-12-28 21:58:51 | [Mutex] isItemNotified: received:node:4879e3af-cead-40d0-9d65-d4b43dbb8ac8:localhost:node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6:Node 928ce4e5-d81d-41c2-ad01-7fa11d64efe6 :: true |
createSubnodes | 1.021s |
2020-12-28 21:58:51 |
2020-12-28 21:58:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:51 | ------------------------------------ 2020-12-28 21:58:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1064b6b3-b999-4366-a9be-47172482dea1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1064b6b3-b999-4366-a9be-47172482dea1</title></pubsub></data> 2020-12-28 21:58:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:58:52 | [Mutex] waiting for: [received:nodes:5888b42e-e108-4990-9c82-de92e5713f43:localhost] 2020-12-28 21:58:52 | [Mutex] received everything. 2020-12-28 21:58:52 | [Mutex] isItemNotified: received:node:5888b42e-e108-4990-9c82-de92e5713f43:localhost:node-1064b6b3-b999-4366-a9be-47172482dea1:Node 1064b6b3-b999-4366-a9be-47172482dea1 :: true |
deleteNodes | 1.018s |
2020-12-28 21:58:57 |
2020-12-28 21:58:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:57 | ------------------------------------ 2020-12-28 21:58:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1064b6b3-b999-4366-a9be-47172482dea1</node></data> 2020-12-28 21:58:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:58:58 | [Mutex] waiting for: [received:nodes:83bba71e-725c-429d-b35d-ed9c9286b7a5:localhost] 2020-12-28 21:58:58 | [Mutex] received everything. 2020-12-28 21:58:58 | [Mutex] isItemNotified: received:node:83bba71e-725c-429d-b35d-ed9c9286b7a5:localhost:node-1064b6b3-b999-4366-a9be-47172482dea1:Node 1064b6b3-b999-4366-a9be-47172482dea1 :: false |
deleteSubnodes | 1.195s |
2020-12-28 21:58:56 |
2020-12-28 21:58:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:56 | ------------------------------------ 2020-12-28 21:58:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</node></data> 2020-12-28 21:58:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-28 21:58:57 | [Mutex] waiting for: [received:nodes:4acb1d04-3a21-4c9b-b702-48da8d7fc49f:localhost] 2020-12-28 21:58:57 | [Mutex] received everything. 2020-12-28 21:58:57 | [Mutex] isItemNotified: received:node:4acb1d04-3a21-4c9b-b702-48da8d7fc49f:localhost:node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6:Node 928ce4e5-d81d-41c2-ad01-7fa11d64efe6 :: false 2020-12-28 21:58:57 | [Mutex] waiting for: [received:nodes:bc2d83d6-8ab0-4756-9fad-9028e5559dd6:localhost] 2020-12-28 21:58:57 | [Mutex] received everything. 2020-12-28 21:58:57 | [Mutex] isItemNotified: received:node:bc2d83d6-8ab0-4756-9fad-9028e5559dd6:localhost:node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6:Node 928ce4e5-d81d-41c2-ad01-7fa11d64efe6 :: false |
publishItemsToNodes | 0.252s |
2020-12-28 21:58:54 |
2020-12-28 21:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:54 | ------------------------------------ 2020-12-28 21:58:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</node><item-id>item-4c4585c5-afce-487b-a870-c9f2476531e0</item-id><entry><test>item-4c4585c5-afce-487b-a870-c9f2476531e0</test></entry></data> 2020-12-28 21:58:54 | 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-4c4585c5-afce-487b-a870-c9f2476531e0</value></item-id></result> 2020-12-28 21:58:54 | [Mutex] received everything. 2020-12-28 21:58:54 | [Mutex] isItemNotified: published:item:notifieditem-4c4585c5-afce-487b-a870-c9f2476531e0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.328s |
2020-12-28 21:58:54 |
2020-12-28 21:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:54 | ------------------------------------ 2020-12-28 21:58:54 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</node><item-id>item-4c4585c5-afce-487b-a870-c9f2476531e0</item-id></data> 2020-12-28 21:58:55 | 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-4c4585c5-afce-487b-a870-c9f2476531e0</value></item-id></result> 2020-12-28 21:58:55 | [Mutex] received everything. 2020-12-28 21:58:55 | [Mutex] isItemNotified: retracted:item:notifieditem-4c4585c5-afce-487b-a870-c9f2476531e0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.319s |
2020-12-28 21:58:54 |
2020-12-28 21:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:54 | ------------------------------------ 2020-12-28 21:58:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</node><item-id>item-4c4585c5-afce-487b-a870-c9f2476531e0</item-id></data> 2020-12-28 21:58:54 | 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-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</value></node><item-id label="Item ID" type="text-single"><value>item-4c4585c5-afce-487b-a870-c9f2476531e0</value></item-id><item label="Item" type="text-multi"><value><item id="item-4c4585c5-afce-487b-a870-c9f2476531e0"><test>item-4c4585c5-afce-487b-a870-c9f2476531e0</test></item></value></item></result> 2020-12-28 21:58:54 | [Mutex] notify: [retrieved:item:item-4c4585c5-afce-487b-a870-c9f2476531e0:payload-matches:true:localhost] 2020-12-28 21:58:54 | [Mutex] received everything. 2020-12-28 21:58:54 | [Mutex] isItemNotified: retrieved:item:item-4c4585c5-afce-487b-a870-c9f2476531e0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-12-28 21:58:54 |
2020-12-28 21:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:54 | ------------------------------------ 2020-12-28 21:58:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-28 21:58:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</value><value>node-1064b6b3-b999-4366-a9be-47172482dea1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-12-28 21:58:54 |
2020-12-28 21:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:54 | ------------------------------------ 2020-12-28 21:58:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6)</node-pattern></data> 2020-12-28 21:58:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.101s |
2020-12-28 21:58:53 |
2020-12-28 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:53 | ------------------------------------ 2020-12-28 21:58:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-28 21:58:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.307s |
2020-12-28 21:58:55 |
2020-12-28 21:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-28 21:58:55 | ------------------------------------ 2020-12-28 21:58:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-928ce4e5-d81d-41c2-ad01-7fa11d64efe6</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-28 21:58:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |