Test duration : 9.494s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2022-06-05 22:51:43 |
2022-06-05 22:51:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:43 | ------------------------------------ 2022-06-05 22:51:43 | [Mutex] waiting for: [configured:node:node-f456a326-8d53-4ab2-b59b-d51eb814f8a3:node-e85d22fb-f326-449f-b1a5-6e952571e040] 2022-06-05 22:51:43 | [Mutex] received everything. 2022-06-05 22:51:43 | [Mutex] isItemNotified: configured:node:node-f456a326-8d53-4ab2-b59b-d51eb814f8a3:node-e85d22fb-f326-449f-b1a5-6e952571e040 :: true 2022-06-05 22:51:44 | [Mutex] waiting for: [received:nodes:0507838f-0b95-4fca-9cfc-dce9d0446a4c:localhost] 2022-06-05 22:51:44 | [Mutex] received everything. 2022-06-05 22:51:44 | [Mutex] isItemNotified: received:node:0507838f-0b95-4fca-9cfc-dce9d0446a4c:localhost:node-f456a326-8d53-4ab2-b59b-d51eb814f8a3:Node f456a326-8d53-4ab2-b59b-d51eb814f8a3 :: true 2022-06-05 22:51:44 | [Mutex] waiting for: [received:nodes:db1967c7-eeee-47f6-b506-cfbe9dc8c06f:localhost] 2022-06-05 22:51:44 | [Mutex] received everything. 2022-06-05 22:51:44 | [Mutex] isItemNotified: received:node:db1967c7-eeee-47f6-b506-cfbe9dc8c06f:localhost:node-f456a326-8d53-4ab2-b59b-d51eb814f8a3:Node f456a326-8d53-4ab2-b59b-d51eb814f8a3 :: false |
createNodes | 1.549s |
2022-06-05 22:51:41 |
2022-06-05 22:51:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:41 | ------------------------------------ 2022-06-05 22:51:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f456a326-8d53-4ab2-b59b-d51eb814f8a3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f456a326-8d53-4ab2-b59b-d51eb814f8a3</title></pubsub></data> 2022-06-05 22:51:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-05 22:51:42 | [Mutex] waiting for: [received:nodes:30a41bca-0f9a-4cbb-9409-911050f5138f:localhost] 2022-06-05 22:51:42 | [Mutex] received everything. 2022-06-05 22:51:42 | [Mutex] isItemNotified: received:node:30a41bca-0f9a-4cbb-9409-911050f5138f:localhost:node-f456a326-8d53-4ab2-b59b-d51eb814f8a3:Node f456a326-8d53-4ab2-b59b-d51eb814f8a3 :: true |
createSubnodes | 1.025s |
2022-06-05 22:51:42 |
2022-06-05 22:51:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:42 | ------------------------------------ 2022-06-05 22:51:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e85d22fb-f326-449f-b1a5-6e952571e040</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e85d22fb-f326-449f-b1a5-6e952571e040</title></pubsub></data> 2022-06-05 22:51:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-05 22:51:43 | [Mutex] waiting for: [received:nodes:bb5e90c7-2a8b-403b-9974-f42645e85d5d:localhost] 2022-06-05 22:51:43 | [Mutex] received everything. 2022-06-05 22:51:43 | [Mutex] isItemNotified: received:node:bb5e90c7-2a8b-403b-9974-f42645e85d5d:localhost:node-e85d22fb-f326-449f-b1a5-6e952571e040:Node e85d22fb-f326-449f-b1a5-6e952571e040 :: true |
deleteNodes | 1.016s |
2022-06-05 22:51:48 |
2022-06-05 22:51:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:48 | ------------------------------------ 2022-06-05 22:51:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e85d22fb-f326-449f-b1a5-6e952571e040</node></data> 2022-06-05 22:51:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-05 22:51:49 | [Mutex] waiting for: [received:nodes:fec93fdc-c6b4-49b6-9517-f0c9b5a662b7:localhost] 2022-06-05 22:51:49 | [Mutex] waiting for: [received:nodes:fec93fdc-c6b4-49b6-9517-f0c9b5a662b7:localhost] 2022-06-05 22:51:49 | [Mutex] received everything. 2022-06-05 22:51:49 | [Mutex] isItemNotified: received:node:fec93fdc-c6b4-49b6-9517-f0c9b5a662b7:localhost:node-e85d22fb-f326-449f-b1a5-6e952571e040:Node e85d22fb-f326-449f-b1a5-6e952571e040 :: false |
deleteSubnodes | 1.120s |
2022-06-05 22:51:47 |
2022-06-05 22:51:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:47 | ------------------------------------ 2022-06-05 22:51:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f456a326-8d53-4ab2-b59b-d51eb814f8a3</node></data> 2022-06-05 22:51:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-05 22:51:48 | [Mutex] waiting for: [received:nodes:38fd7cd5-c656-400b-9ece-c787c5443b46:localhost] 2022-06-05 22:51:48 | [Mutex] received everything. 2022-06-05 22:51:48 | [Mutex] isItemNotified: received:node:38fd7cd5-c656-400b-9ece-c787c5443b46:localhost:node-f456a326-8d53-4ab2-b59b-d51eb814f8a3:Node f456a326-8d53-4ab2-b59b-d51eb814f8a3 :: false 2022-06-05 22:51:48 | [Mutex] waiting for: [received:nodes:7507e0e2-ef39-4a63-92f4-57a2c62383ab:localhost] 2022-06-05 22:51:48 | [Mutex] received everything. 2022-06-05 22:51:48 | [Mutex] isItemNotified: received:node:7507e0e2-ef39-4a63-92f4-57a2c62383ab:localhost:node-f456a326-8d53-4ab2-b59b-d51eb814f8a3:Node f456a326-8d53-4ab2-b59b-d51eb814f8a3 :: false |
publishItemsToNodes | 0.216s |
2022-06-05 22:51:45 |
2022-06-05 22:51:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:45 | ------------------------------------ 2022-06-05 22:51:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f456a326-8d53-4ab2-b59b-d51eb814f8a3</node><item-id>item-430961a4-35f9-4fac-abfa-aa0373427e54</item-id><entry><test>item-430961a4-35f9-4fac-abfa-aa0373427e54</test></entry></data> 2022-06-05 22:51:46 | 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-430961a4-35f9-4fac-abfa-aa0373427e54</value></item-id></result> 2022-06-05 22:51:46 | [Mutex] waiting for: [published:item:notifieditem-430961a4-35f9-4fac-abfa-aa0373427e54:admin@test-domain.com] 2022-06-05 22:51:46 | [Mutex] received everything. 2022-06-05 22:51:46 | [Mutex] isItemNotified: published:item:notifieditem-430961a4-35f9-4fac-abfa-aa0373427e54:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2022-06-05 22:51:46 |
2022-06-05 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:46 | ------------------------------------ 2022-06-05 22:51:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f456a326-8d53-4ab2-b59b-d51eb814f8a3</node><item-id>item-430961a4-35f9-4fac-abfa-aa0373427e54</item-id></data> 2022-06-05 22:51:46 | 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-430961a4-35f9-4fac-abfa-aa0373427e54</value></item-id></result> 2022-06-05 22:51:46 | [Mutex] received everything. 2022-06-05 22:51:46 | [Mutex] isItemNotified: retracted:item:notifieditem-430961a4-35f9-4fac-abfa-aa0373427e54:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.251s |
2022-06-05 22:51:46 |
2022-06-05 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:46 | ------------------------------------ 2022-06-05 22:51:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f456a326-8d53-4ab2-b59b-d51eb814f8a3</node><item-id>item-430961a4-35f9-4fac-abfa-aa0373427e54</item-id></data> 2022-06-05 22:51:46 | 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-f456a326-8d53-4ab2-b59b-d51eb814f8a3</value></node><item-id label="Item ID" type="text-single"><value>item-430961a4-35f9-4fac-abfa-aa0373427e54</value></item-id><item label="Item" type="text-multi"><value><item id="item-430961a4-35f9-4fac-abfa-aa0373427e54"><test>item-430961a4-35f9-4fac-abfa-aa0373427e54</test></item></value></item></result> 2022-06-05 22:51:46 | [Mutex] notify: [retrieved:item:item-430961a4-35f9-4fac-abfa-aa0373427e54:payload-matches:true:localhost] 2022-06-05 22:51:46 | [Mutex] received everything. 2022-06-05 22:51:46 | [Mutex] isItemNotified: retrieved:item:item-430961a4-35f9-4fac-abfa-aa0373427e54:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-05 22:51:46 |
2022-06-05 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:46 | ------------------------------------ 2022-06-05 22:51:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-05 22:51:46 | 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-f456a326-8d53-4ab2-b59b-d51eb814f8a3</value><value>node-e85d22fb-f326-449f-b1a5-6e952571e040</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-05 22:51:46 |
2022-06-05 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:46 | ------------------------------------ 2022-06-05 22:51:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f456a326-8d53-4ab2-b59b-d51eb814f8a3)</node-pattern></data> 2022-06-05 22:51:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.125s |
2022-06-05 22:51:44 |
2022-06-05 22:51:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:44 | ------------------------------------ 2022-06-05 22:51:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f456a326-8d53-4ab2-b59b-d51eb814f8a3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-05 22:51:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.143s |
2022-06-05 22:51:46 |
2022-06-05 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-05 22:51:46 | ------------------------------------ 2022-06-05 22:51:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f456a326-8d53-4ab2-b59b-d51eb814f8a3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-05 22:51:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |