Test duration : 9.528s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.131s |
2022-12-30 08:16:07 |
2022-12-30 08:16:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:07 | ------------------------------------ 2022-12-30 08:16:07 | [Mutex] waiting for: [configured:node:node-51ba8729-0cef-406d-bfef-3d008ed5fe04:node-e8d6fb52-2ef1-4f37-9801-14e2a5f2a683] 2022-12-30 08:16:07 | [Mutex] received everything. 2022-12-30 08:16:07 | [Mutex] isItemNotified: configured:node:node-51ba8729-0cef-406d-bfef-3d008ed5fe04:node-e8d6fb52-2ef1-4f37-9801-14e2a5f2a683 :: true 2022-12-30 08:16:08 | [Mutex] waiting for: [received:nodes:e4d8d67a-a868-4d7f-aab7-b78d386bc5aa:localhost] 2022-12-30 08:16:08 | [Mutex] received everything. 2022-12-30 08:16:08 | [Mutex] isItemNotified: received:node:e4d8d67a-a868-4d7f-aab7-b78d386bc5aa:localhost:node-51ba8729-0cef-406d-bfef-3d008ed5fe04:Node 51ba8729-0cef-406d-bfef-3d008ed5fe04 :: true 2022-12-30 08:16:08 | [Mutex] waiting for: [received:nodes:e60330e1-1027-40c0-b302-dff35a97024f:localhost] 2022-12-30 08:16:08 | [Mutex] waiting for: [received:nodes:e60330e1-1027-40c0-b302-dff35a97024f:localhost] 2022-12-30 08:16:08 | [Mutex] waiting for: [received:nodes:e60330e1-1027-40c0-b302-dff35a97024f:localhost] 2022-12-30 08:16:08 | [Mutex] received everything. 2022-12-30 08:16:08 | [Mutex] isItemNotified: received:node:e60330e1-1027-40c0-b302-dff35a97024f:localhost:node-51ba8729-0cef-406d-bfef-3d008ed5fe04:Node 51ba8729-0cef-406d-bfef-3d008ed5fe04 :: false |
createNodes | 1.487s |
2022-12-30 08:16:05 |
2022-12-30 08:16:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:05 | ------------------------------------ 2022-12-30 08:16:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-51ba8729-0cef-406d-bfef-3d008ed5fe04</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 51ba8729-0cef-406d-bfef-3d008ed5fe04</title></pubsub></data> 2022-12-30 08:16:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 08:16:06 | [Mutex] waiting for: [received:nodes:5bdd3304-40ef-4f90-8622-b6cf6631f342:localhost] 2022-12-30 08:16:06 | [Mutex] waiting for: [received:nodes:5bdd3304-40ef-4f90-8622-b6cf6631f342:localhost] 2022-12-30 08:16:06 | [Mutex] waiting for: [received:nodes:5bdd3304-40ef-4f90-8622-b6cf6631f342:localhost] 2022-12-30 08:16:06 | [Mutex] waiting for: [received:nodes:5bdd3304-40ef-4f90-8622-b6cf6631f342:localhost] 2022-12-30 08:16:06 | [Mutex] received everything. 2022-12-30 08:16:06 | [Mutex] isItemNotified: received:node:5bdd3304-40ef-4f90-8622-b6cf6631f342:localhost:node-51ba8729-0cef-406d-bfef-3d008ed5fe04:Node 51ba8729-0cef-406d-bfef-3d008ed5fe04 :: true |
createSubnodes | 1.022s |
2022-12-30 08:16:06 |
2022-12-30 08:16:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:06 | ------------------------------------ 2022-12-30 08:16:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e8d6fb52-2ef1-4f37-9801-14e2a5f2a683</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e8d6fb52-2ef1-4f37-9801-14e2a5f2a683</title></pubsub></data> 2022-12-30 08:16:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 08:16:07 | [Mutex] waiting for: [received:nodes:c56310ce-7016-4037-be48-0438429e1cb6:localhost] 2022-12-30 08:16:07 | [Mutex] waiting for: [received:nodes:c56310ce-7016-4037-be48-0438429e1cb6:localhost] 2022-12-30 08:16:07 | [Mutex] waiting for: [received:nodes:c56310ce-7016-4037-be48-0438429e1cb6:localhost] 2022-12-30 08:16:07 | [Mutex] waiting for: [received:nodes:c56310ce-7016-4037-be48-0438429e1cb6:localhost] 2022-12-30 08:16:07 | [Mutex] waiting for: [received:nodes:c56310ce-7016-4037-be48-0438429e1cb6:localhost] 2022-12-30 08:16:07 | [Mutex] received everything. 2022-12-30 08:16:07 | [Mutex] isItemNotified: received:node:c56310ce-7016-4037-be48-0438429e1cb6:localhost:node-e8d6fb52-2ef1-4f37-9801-14e2a5f2a683:Node e8d6fb52-2ef1-4f37-9801-14e2a5f2a683 :: true |
deleteNodes | 1.015s |
2022-12-30 08:16:13 |
2022-12-30 08:16:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:13 | ------------------------------------ 2022-12-30 08:16:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e8d6fb52-2ef1-4f37-9801-14e2a5f2a683</node></data> 2022-12-30 08:16:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 08:16:14 | [Mutex] waiting for: [received:nodes:fc8f16ed-f072-4a79-a3ed-fe2a058843c3:localhost] 2022-12-30 08:16:14 | [Mutex] waiting for: [received:nodes:fc8f16ed-f072-4a79-a3ed-fe2a058843c3:localhost] 2022-12-30 08:16:14 | [Mutex] waiting for: [received:nodes:fc8f16ed-f072-4a79-a3ed-fe2a058843c3:localhost] 2022-12-30 08:16:14 | [Mutex] received everything. 2022-12-30 08:16:14 | [Mutex] isItemNotified: received:node:fc8f16ed-f072-4a79-a3ed-fe2a058843c3:localhost:node-e8d6fb52-2ef1-4f37-9801-14e2a5f2a683:Node e8d6fb52-2ef1-4f37-9801-14e2a5f2a683 :: false |
deleteSubnodes | 1.159s |
2022-12-30 08:16:11 |
2022-12-30 08:16:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:11 | ------------------------------------ 2022-12-30 08:16:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-51ba8729-0cef-406d-bfef-3d008ed5fe04</node></data> 2022-12-30 08:16:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 08:16:13 | [Mutex] waiting for: [received:nodes:3cfb3f5d-11f9-4da1-9d12-6ce72e94b4c8:localhost] 2022-12-30 08:16:13 | [Mutex] waiting for: [received:nodes:3cfb3f5d-11f9-4da1-9d12-6ce72e94b4c8:localhost] 2022-12-30 08:16:13 | [Mutex] waiting for: [received:nodes:3cfb3f5d-11f9-4da1-9d12-6ce72e94b4c8:localhost] 2022-12-30 08:16:13 | [Mutex] waiting for: [received:nodes:3cfb3f5d-11f9-4da1-9d12-6ce72e94b4c8:localhost] 2022-12-30 08:16:13 | [Mutex] received everything. 2022-12-30 08:16:13 | [Mutex] isItemNotified: received:node:3cfb3f5d-11f9-4da1-9d12-6ce72e94b4c8:localhost:node-51ba8729-0cef-406d-bfef-3d008ed5fe04:Node 51ba8729-0cef-406d-bfef-3d008ed5fe04 :: false 2022-12-30 08:16:13 | [Mutex] waiting for: [received:nodes:bfc8d229-34fa-4226-8179-48021cdb70be:localhost] 2022-12-30 08:16:13 | [Mutex] received everything. 2022-12-30 08:16:13 | [Mutex] isItemNotified: received:node:bfc8d229-34fa-4226-8179-48021cdb70be:localhost:node-51ba8729-0cef-406d-bfef-3d008ed5fe04:Node 51ba8729-0cef-406d-bfef-3d008ed5fe04 :: false |
publishItemsToNodes | 0.205s |
2022-12-30 08:16:09 |
2022-12-30 08:16:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:09 | ------------------------------------ 2022-12-30 08:16:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-51ba8729-0cef-406d-bfef-3d008ed5fe04</node><item-id>item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd</item-id><entry><test>item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd</test></entry></data> 2022-12-30 08:16:10 | 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-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd</value></item-id></result> 2022-12-30 08:16:10 | [Mutex] waiting for: [published:item:notifieditem-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd:admin@test-domain.com] 2022-12-30 08:16:10 | [Mutex] received everything. 2022-12-30 08:16:10 | [Mutex] isItemNotified: published:item:notifieditem-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.274s |
2022-12-30 08:16:10 |
2022-12-30 08:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:10 | ------------------------------------ 2022-12-30 08:16:10 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-51ba8729-0cef-406d-bfef-3d008ed5fe04</node><item-id>item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd</item-id></data> 2022-12-30 08:16:10 | 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-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd</value></item-id></result> 2022-12-30 08:16:10 | [Mutex] waiting for: [retracted:item:notifieditem-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd:admin@test-domain.com] 2022-12-30 08:16:10 | [Mutex] received everything. 2022-12-30 08:16:10 | [Mutex] isItemNotified: retracted:item:notifieditem-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2022-12-30 08:16:10 |
2022-12-30 08:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:10 | ------------------------------------ 2022-12-30 08:16:10 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-51ba8729-0cef-406d-bfef-3d008ed5fe04</node><item-id>item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd</item-id></data> 2022-12-30 08:16:10 | 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-51ba8729-0cef-406d-bfef-3d008ed5fe04</value></node><item-id label="Item ID" type="text-single"><value>item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd</value></item-id><item label="Item" type="text-multi"><value><item id="item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd"><test>item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd</test></item></value></item></result> 2022-12-30 08:16:10 | [Mutex] notify: [retrieved:item:item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd:payload-matches:true:localhost] 2022-12-30 08:16:10 | [Mutex] received everything. 2022-12-30 08:16:10 | [Mutex] isItemNotified: retrieved:item:item-b9cf3cc1-0a4f-4683-ba9e-e7652cd4cfcd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-30 08:16:10 |
2022-12-30 08:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:10 | ------------------------------------ 2022-12-30 08:16:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-30 08:16:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-51ba8729-0cef-406d-bfef-3d008ed5fe04</value><value>test</value><value>node-e8d6fb52-2ef1-4f37-9801-14e2a5f2a683</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-30 08:16:10 |
2022-12-30 08:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:10 | ------------------------------------ 2022-12-30 08:16:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-51ba8729-0cef-406d-bfef-3d008ed5fe04)</node-pattern></data> 2022-12-30 08:16:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.145s |
2022-12-30 08:16:08 |
2022-12-30 08:16:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:08 | ------------------------------------ 2022-12-30 08:16:08 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-51ba8729-0cef-406d-bfef-3d008ed5fe04</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 08:16:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.192s |
2022-12-30 08:16:10 |
2022-12-30 08:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:16:10 | ------------------------------------ 2022-12-30 08:16:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-51ba8729-0cef-406d-bfef-3d008ed5fe04</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 08:16:10 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |