Test duration : 9.495s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2022-11-14 22:03:49 |
2022-11-14 22:03:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:49 | ------------------------------------ 2022-11-14 22:03:49 | [Mutex] waiting for: [configured:node:node-354e8e09-bf8f-4849-92af-bc9b7093d501:node-d98bd420-9878-4fe1-b164-4f740acf6fc2] 2022-11-14 22:03:49 | [Mutex] received everything. 2022-11-14 22:03:49 | [Mutex] isItemNotified: configured:node:node-354e8e09-bf8f-4849-92af-bc9b7093d501:node-d98bd420-9878-4fe1-b164-4f740acf6fc2 :: true 2022-11-14 22:03:50 | [Mutex] waiting for: [received:nodes:178f4708-7c87-40a0-b3dd-baade5d2e106:localhost] 2022-11-14 22:03:50 | [Mutex] received everything. 2022-11-14 22:03:50 | [Mutex] isItemNotified: received:node:178f4708-7c87-40a0-b3dd-baade5d2e106:localhost:node-354e8e09-bf8f-4849-92af-bc9b7093d501:Node 354e8e09-bf8f-4849-92af-bc9b7093d501 :: true 2022-11-14 22:03:50 | [Mutex] waiting for: [received:nodes:318bf036-eb13-42cf-a7a2-371a9fd087a0:localhost] 2022-11-14 22:03:50 | [Mutex] received everything. 2022-11-14 22:03:50 | [Mutex] isItemNotified: received:node:318bf036-eb13-42cf-a7a2-371a9fd087a0:localhost:node-354e8e09-bf8f-4849-92af-bc9b7093d501:Node 354e8e09-bf8f-4849-92af-bc9b7093d501 :: false |
createNodes | 1.444s |
2022-11-14 22:03:47 |
2022-11-14 22:03:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:47 | ------------------------------------ 2022-11-14 22:03:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-354e8e09-bf8f-4849-92af-bc9b7093d501</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 354e8e09-bf8f-4849-92af-bc9b7093d501</title></pubsub></data> 2022-11-14 22:03:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-14 22:03:48 | [Mutex] waiting for: [received:nodes:9dfbdb4c-5c1f-4e49-95e8-7c5953053f60:localhost] 2022-11-14 22:03:48 | [Mutex] waiting for: [received:nodes:9dfbdb4c-5c1f-4e49-95e8-7c5953053f60:localhost] 2022-11-14 22:03:48 | [Mutex] waiting for: [received:nodes:9dfbdb4c-5c1f-4e49-95e8-7c5953053f60:localhost] 2022-11-14 22:03:48 | [Mutex] waiting for: [received:nodes:9dfbdb4c-5c1f-4e49-95e8-7c5953053f60:localhost] 2022-11-14 22:03:48 | [Mutex] received everything. 2022-11-14 22:03:48 | [Mutex] isItemNotified: received:node:9dfbdb4c-5c1f-4e49-95e8-7c5953053f60:localhost:node-354e8e09-bf8f-4849-92af-bc9b7093d501:Node 354e8e09-bf8f-4849-92af-bc9b7093d501 :: true |
createSubnodes | 1.028s |
2022-11-14 22:03:48 |
2022-11-14 22:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:48 | ------------------------------------ 2022-11-14 22:03:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d98bd420-9878-4fe1-b164-4f740acf6fc2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d98bd420-9878-4fe1-b164-4f740acf6fc2</title></pubsub></data> 2022-11-14 22:03:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-14 22:03:49 | [Mutex] waiting for: [received:nodes:d2b86dba-6d86-441f-af3d-990878748f7a:localhost] 2022-11-14 22:03:49 | [Mutex] received everything. 2022-11-14 22:03:49 | [Mutex] isItemNotified: received:node:d2b86dba-6d86-441f-af3d-990878748f7a:localhost:node-d98bd420-9878-4fe1-b164-4f740acf6fc2:Node d98bd420-9878-4fe1-b164-4f740acf6fc2 :: true |
deleteNodes | 1.016s |
2022-11-14 22:03:55 |
2022-11-14 22:03:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:55 | ------------------------------------ 2022-11-14 22:03:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d98bd420-9878-4fe1-b164-4f740acf6fc2</node></data> 2022-11-14 22:03:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-14 22:03:56 | [Mutex] waiting for: [received:nodes:83ece5a2-1060-429d-9af8-f68bca28166e:localhost] 2022-11-14 22:03:56 | [Mutex] received everything. 2022-11-14 22:03:56 | [Mutex] isItemNotified: received:node:83ece5a2-1060-429d-9af8-f68bca28166e:localhost:node-d98bd420-9878-4fe1-b164-4f740acf6fc2:Node d98bd420-9878-4fe1-b164-4f740acf6fc2 :: false |
deleteSubnodes | 1.121s |
2022-11-14 22:03:53 |
2022-11-14 22:03:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:53 | ------------------------------------ 2022-11-14 22:03:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-354e8e09-bf8f-4849-92af-bc9b7093d501</node></data> 2022-11-14 22:03:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-14 22:03:55 | [Mutex] waiting for: [received:nodes:3f6a5ad6-dc72-43d2-9f67-5226ffd4e4bb:localhost] 2022-11-14 22:03:55 | [Mutex] waiting for: [received:nodes:3f6a5ad6-dc72-43d2-9f67-5226ffd4e4bb:localhost] 2022-11-14 22:03:55 | [Mutex] received everything. 2022-11-14 22:03:55 | [Mutex] isItemNotified: received:node:3f6a5ad6-dc72-43d2-9f67-5226ffd4e4bb:localhost:node-354e8e09-bf8f-4849-92af-bc9b7093d501:Node 354e8e09-bf8f-4849-92af-bc9b7093d501 :: false 2022-11-14 22:03:55 | [Mutex] waiting for: [received:nodes:f8a68e5a-a40c-4e73-bf12-822b33e7af3a:localhost] 2022-11-14 22:03:55 | [Mutex] received everything. 2022-11-14 22:03:55 | [Mutex] isItemNotified: received:node:f8a68e5a-a40c-4e73-bf12-822b33e7af3a:localhost:node-354e8e09-bf8f-4849-92af-bc9b7093d501:Node 354e8e09-bf8f-4849-92af-bc9b7093d501 :: false |
publishItemsToNodes | 0.250s |
2022-11-14 22:03:51 |
2022-11-14 22:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:51 | ------------------------------------ 2022-11-14 22:03:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-354e8e09-bf8f-4849-92af-bc9b7093d501</node><item-id>item-006707b0-eb96-458c-a9c5-2111c186050d</item-id><entry><test>item-006707b0-eb96-458c-a9c5-2111c186050d</test></entry></data> 2022-11-14 22:03:52 | 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-006707b0-eb96-458c-a9c5-2111c186050d</value></item-id></result> 2022-11-14 22:03:52 | [Mutex] waiting for: [published:item:notifieditem-006707b0-eb96-458c-a9c5-2111c186050d:admin@test-domain.com] 2022-11-14 22:03:52 | [Mutex] received everything. 2022-11-14 22:03:52 | [Mutex] isItemNotified: published:item:notifieditem-006707b0-eb96-458c-a9c5-2111c186050d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2022-11-14 22:03:52 |
2022-11-14 22:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:52 | ------------------------------------ 2022-11-14 22:03:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-354e8e09-bf8f-4849-92af-bc9b7093d501</node><item-id>item-006707b0-eb96-458c-a9c5-2111c186050d</item-id></data> 2022-11-14 22:03:52 | 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-006707b0-eb96-458c-a9c5-2111c186050d</value></item-id></result> 2022-11-14 22:03:52 | [Mutex] received everything. 2022-11-14 22:03:52 | [Mutex] isItemNotified: retracted:item:notifieditem-006707b0-eb96-458c-a9c5-2111c186050d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.212s |
2022-11-14 22:03:52 |
2022-11-14 22:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:52 | ------------------------------------ 2022-11-14 22:03:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-354e8e09-bf8f-4849-92af-bc9b7093d501</node><item-id>item-006707b0-eb96-458c-a9c5-2111c186050d</item-id></data> 2022-11-14 22:03:52 | 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-354e8e09-bf8f-4849-92af-bc9b7093d501</value></node><item-id type="text-single" label="Item ID"><value>item-006707b0-eb96-458c-a9c5-2111c186050d</value></item-id><item type="text-multi" label="Item"><value><item id="item-006707b0-eb96-458c-a9c5-2111c186050d"><test>item-006707b0-eb96-458c-a9c5-2111c186050d</test></item></value></item></result> 2022-11-14 22:03:52 | [Mutex] notify: [retrieved:item:item-006707b0-eb96-458c-a9c5-2111c186050d:payload-matches:true:localhost] 2022-11-14 22:03:52 | [Mutex] received everything. 2022-11-14 22:03:52 | [Mutex] isItemNotified: retrieved:item:item-006707b0-eb96-458c-a9c5-2111c186050d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-11-14 22:03:52 |
2022-11-14 22:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:52 | ------------------------------------ 2022-11-14 22:03:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-14 22:03:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-354e8e09-bf8f-4849-92af-bc9b7093d501</value><value>test</value><value>node-d98bd420-9878-4fe1-b164-4f740acf6fc2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-11-14 22:03:52 |
2022-11-14 22:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:52 | ------------------------------------ 2022-11-14 22:03:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-354e8e09-bf8f-4849-92af-bc9b7093d501)</node-pattern></data> 2022-11-14 22:03:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.114s |
2022-11-14 22:03:50 |
2022-11-14 22:03:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:50 | ------------------------------------ 2022-11-14 22:03:50 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-354e8e09-bf8f-4849-92af-bc9b7093d501</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-14 22:03:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2022-11-14 22:03:52 |
2022-11-14 22:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-14 22:03:52 | ------------------------------------ 2022-11-14 22:03:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-354e8e09-bf8f-4849-92af-bc9b7093d501</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-14 22:03:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |