Test duration : 9.547s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-09-27 22:36:35 |
2022-09-27 22:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:35 | ------------------------------------ 2022-09-27 22:36:35 | [Mutex] waiting for: [configured:node:node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84:node-98ffcd49-156b-4fa0-a145-bbf5f686a7e9] 2022-09-27 22:36:35 | [Mutex] received everything. 2022-09-27 22:36:35 | [Mutex] isItemNotified: configured:node:node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84:node-98ffcd49-156b-4fa0-a145-bbf5f686a7e9 :: true 2022-09-27 22:36:36 | [Mutex] waiting for: [received:nodes:77dabb35-56ae-4445-862f-a962674976cf:localhost] 2022-09-27 22:36:36 | [Mutex] waiting for: [received:nodes:77dabb35-56ae-4445-862f-a962674976cf:localhost] 2022-09-27 22:36:36 | [Mutex] received everything. 2022-09-27 22:36:36 | [Mutex] isItemNotified: received:node:77dabb35-56ae-4445-862f-a962674976cf:localhost:node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84:Node a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84 :: true 2022-09-27 22:36:36 | [Mutex] waiting for: [received:nodes:b0473b30-b31e-497f-a578-f4592176fffa:localhost] 2022-09-27 22:36:36 | [Mutex] received everything. 2022-09-27 22:36:36 | [Mutex] isItemNotified: received:node:b0473b30-b31e-497f-a578-f4592176fffa:localhost:node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84:Node a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84 :: false |
createNodes | 1.427s |
2022-09-27 22:36:33 |
2022-09-27 22:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:33 | ------------------------------------ 2022-09-27 22:36:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</title></pubsub></data> 2022-09-27 22:36:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-27 22:36:34 | [Mutex] waiting for: [received:nodes:d1d773f5-220a-4be3-97ec-070720b38c4d:localhost] 2022-09-27 22:36:34 | [Mutex] received everything. 2022-09-27 22:36:34 | [Mutex] isItemNotified: received:node:d1d773f5-220a-4be3-97ec-070720b38c4d:localhost:node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84:Node a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84 :: true |
createSubnodes | 1.023s |
2022-09-27 22:36:34 |
2022-09-27 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:34 | ------------------------------------ 2022-09-27 22:36:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-98ffcd49-156b-4fa0-a145-bbf5f686a7e9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 98ffcd49-156b-4fa0-a145-bbf5f686a7e9</title></pubsub></data> 2022-09-27 22:36:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-27 22:36:35 | [Mutex] waiting for: [received:nodes:37e50518-1fcd-4631-995e-f5a82775376c:localhost] 2022-09-27 22:36:35 | [Mutex] received everything. 2022-09-27 22:36:35 | [Mutex] isItemNotified: received:node:37e50518-1fcd-4631-995e-f5a82775376c:localhost:node-98ffcd49-156b-4fa0-a145-bbf5f686a7e9:Node 98ffcd49-156b-4fa0-a145-bbf5f686a7e9 :: true |
deleteNodes | 1.017s |
2022-09-27 22:36:41 |
2022-09-27 22:36:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:41 | ------------------------------------ 2022-09-27 22:36:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-98ffcd49-156b-4fa0-a145-bbf5f686a7e9</node></data> 2022-09-27 22:36:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-27 22:36:42 | [Mutex] waiting for: [received:nodes:0e7730ec-492a-498c-9aa5-88d5a5118a23:localhost] 2022-09-27 22:36:42 | [Mutex] received everything. 2022-09-27 22:36:42 | [Mutex] isItemNotified: received:node:0e7730ec-492a-498c-9aa5-88d5a5118a23:localhost:node-98ffcd49-156b-4fa0-a145-bbf5f686a7e9:Node 98ffcd49-156b-4fa0-a145-bbf5f686a7e9 :: false |
deleteSubnodes | 1.168s |
2022-09-27 22:36:39 |
2022-09-27 22:36:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:39 | ------------------------------------ 2022-09-27 22:36:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</node></data> 2022-09-27 22:36:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-27 22:36:41 | [Mutex] waiting for: [received:nodes:2dffe2e1-6657-4d26-bacc-5f2e7f334e0d:localhost] 2022-09-27 22:36:41 | [Mutex] waiting for: [received:nodes:2dffe2e1-6657-4d26-bacc-5f2e7f334e0d:localhost] 2022-09-27 22:36:41 | [Mutex] received everything. 2022-09-27 22:36:41 | [Mutex] isItemNotified: received:node:2dffe2e1-6657-4d26-bacc-5f2e7f334e0d:localhost:node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84:Node a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84 :: false 2022-09-27 22:36:41 | [Mutex] waiting for: [received:nodes:d03835c6-32d1-428a-8dda-044a88931e3d:localhost] 2022-09-27 22:36:41 | [Mutex] received everything. 2022-09-27 22:36:41 | [Mutex] isItemNotified: received:node:d03835c6-32d1-428a-8dda-044a88931e3d:localhost:node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84:Node a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84 :: false |
publishItemsToNodes | 0.226s |
2022-09-27 22:36:37 |
2022-09-27 22:36:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:37 | ------------------------------------ 2022-09-27 22:36:37 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</node><item-id>item-579862ab-4fd9-4bf0-b138-99eb268a9776</item-id><entry><test>item-579862ab-4fd9-4bf0-b138-99eb268a9776</test></entry></data> 2022-09-27 22:36:38 | 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-579862ab-4fd9-4bf0-b138-99eb268a9776</value></item-id></result> 2022-09-27 22:36:38 | [Mutex] received everything. 2022-09-27 22:36:38 | [Mutex] isItemNotified: published:item:notifieditem-579862ab-4fd9-4bf0-b138-99eb268a9776:admin@test-domain.com :: true |
retractItemsFromNodes | 0.261s |
2022-09-27 22:36:38 |
2022-09-27 22:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:38 | ------------------------------------ 2022-09-27 22:36:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</node><item-id>item-579862ab-4fd9-4bf0-b138-99eb268a9776</item-id></data> 2022-09-27 22:36:38 | 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-579862ab-4fd9-4bf0-b138-99eb268a9776</value></item-id></result> 2022-09-27 22:36:38 | [Mutex] received everything. 2022-09-27 22:36:38 | [Mutex] isItemNotified: retracted:item:notifieditem-579862ab-4fd9-4bf0-b138-99eb268a9776:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.206s |
2022-09-27 22:36:38 |
2022-09-27 22:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:38 | ------------------------------------ 2022-09-27 22:36:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</node><item-id>item-579862ab-4fd9-4bf0-b138-99eb268a9776</item-id></data> 2022-09-27 22:36:38 | 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-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</value></node><item-id label="Item ID" type="text-single"><value>item-579862ab-4fd9-4bf0-b138-99eb268a9776</value></item-id><item label="Item" type="text-multi"><value><item id="item-579862ab-4fd9-4bf0-b138-99eb268a9776"><test>item-579862ab-4fd9-4bf0-b138-99eb268a9776</test></item></value></item></result> 2022-09-27 22:36:38 | [Mutex] notify: [retrieved:item:item-579862ab-4fd9-4bf0-b138-99eb268a9776:payload-matches:true:localhost] 2022-09-27 22:36:38 | [Mutex] received everything. 2022-09-27 22:36:38 | [Mutex] isItemNotified: retrieved:item:item-579862ab-4fd9-4bf0-b138-99eb268a9776:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-27 22:36:38 |
2022-09-27 22:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:38 | ------------------------------------ 2022-09-27 22:36:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-27 22:36:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</value><value>test</value><value>node-98ffcd49-156b-4fa0-a145-bbf5f686a7e9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-09-27 22:36:38 |
2022-09-27 22:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:38 | ------------------------------------ 2022-09-27 22:36:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84)</node-pattern></data> 2022-09-27 22:36:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.112s |
2022-09-27 22:36:36 |
2022-09-27 22:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:36 | ------------------------------------ 2022-09-27 22:36:36 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-27 22:36:36 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.249s |
2022-09-27 22:36:38 |
2022-09-27 22:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 22:36:38 | ------------------------------------ 2022-09-27 22:36:38 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a2e3f8a1-b71e-4f7e-b7c0-21fdbac93d84</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-27 22:36:38 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |