Test duration : 10.691s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2022-03-03 03:44:39 |
2022-03-03 03:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:39 | ------------------------------------ 2022-03-03 03:44:39 | [Mutex] waiting for: [configured:node:node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5:node-b1b624ea-8077-4738-953c-284b7a5fa060] 2022-03-03 03:44:40 | [Mutex] received everything. 2022-03-03 03:44:40 | [Mutex] isItemNotified: configured:node:node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5:node-b1b624ea-8077-4738-953c-284b7a5fa060 :: true 2022-03-03 03:44:41 | [Mutex] waiting for: [received:nodes:3441f2da-2510-4170-8fa4-12acee38d354:localhost] 2022-03-03 03:44:41 | [Mutex] received everything. 2022-03-03 03:44:41 | [Mutex] isItemNotified: received:node:3441f2da-2510-4170-8fa4-12acee38d354:localhost:node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5:Node 7857ed0c-7d6d-4b66-93d9-9b8efca97ca5 :: true 2022-03-03 03:44:41 | [Mutex] waiting for: [received:nodes:06c02d2b-8f14-4b91-8d68-446ca199ad06:localhost] 2022-03-03 03:44:41 | [Mutex] received everything. 2022-03-03 03:44:41 | [Mutex] isItemNotified: received:node:06c02d2b-8f14-4b91-8d68-446ca199ad06:localhost:node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5:Node 7857ed0c-7d6d-4b66-93d9-9b8efca97ca5 :: false |
createNodes | 1.641s |
2022-03-03 03:44:37 |
2022-03-03 03:44:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:37 | ------------------------------------ 2022-03-03 03:44:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</title></pubsub></data> 2022-03-03 03:44:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-03 03:44:38 | [Mutex] waiting for: [received:nodes:af672732-6452-4dff-8d9a-0ab7cb5623c1:localhost] 2022-03-03 03:44:38 | [Mutex] waiting for: [received:nodes:af672732-6452-4dff-8d9a-0ab7cb5623c1:localhost] 2022-03-03 03:44:38 | [Mutex] waiting for: [received:nodes:af672732-6452-4dff-8d9a-0ab7cb5623c1:localhost] 2022-03-03 03:44:38 | [Mutex] received everything. 2022-03-03 03:44:38 | [Mutex] isItemNotified: received:node:af672732-6452-4dff-8d9a-0ab7cb5623c1:localhost:node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5:Node 7857ed0c-7d6d-4b66-93d9-9b8efca97ca5 :: true |
createSubnodes | 1.046s |
2022-03-03 03:44:38 |
2022-03-03 03:44:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:38 | ------------------------------------ 2022-03-03 03:44:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b1b624ea-8077-4738-953c-284b7a5fa060</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b1b624ea-8077-4738-953c-284b7a5fa060</title></pubsub></data> 2022-03-03 03:44:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-03 03:44:39 | [Mutex] waiting for: [received:nodes:0be1ca49-a4a9-4f4f-a78f-1294d8d3c6f7:localhost] 2022-03-03 03:44:39 | [Mutex] waiting for: [received:nodes:0be1ca49-a4a9-4f4f-a78f-1294d8d3c6f7:localhost] 2022-03-03 03:44:39 | [Mutex] waiting for: [received:nodes:0be1ca49-a4a9-4f4f-a78f-1294d8d3c6f7:localhost] 2022-03-03 03:44:39 | [Mutex] received everything. 2022-03-03 03:44:39 | [Mutex] isItemNotified: received:node:0be1ca49-a4a9-4f4f-a78f-1294d8d3c6f7:localhost:node-b1b624ea-8077-4738-953c-284b7a5fa060:Node b1b624ea-8077-4738-953c-284b7a5fa060 :: true |
deleteNodes | 1.027s |
2022-03-03 03:44:45 |
2022-03-03 03:44:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:45 | ------------------------------------ 2022-03-03 03:44:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b1b624ea-8077-4738-953c-284b7a5fa060</node></data> 2022-03-03 03:44:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-03 03:44:46 | [Mutex] waiting for: [received:nodes:9bfde6f8-ef6f-4ae3-8f9a-813018fc8133:localhost] 2022-03-03 03:44:46 | [Mutex] waiting for: [received:nodes:9bfde6f8-ef6f-4ae3-8f9a-813018fc8133:localhost] 2022-03-03 03:44:46 | [Mutex] received everything. 2022-03-03 03:44:46 | [Mutex] isItemNotified: received:node:9bfde6f8-ef6f-4ae3-8f9a-813018fc8133:localhost:node-b1b624ea-8077-4738-953c-284b7a5fa060:Node b1b624ea-8077-4738-953c-284b7a5fa060 :: false |
deleteSubnodes | 1.193s |
2022-03-03 03:44:44 |
2022-03-03 03:44:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:44 | ------------------------------------ 2022-03-03 03:44:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</node></data> 2022-03-03 03:44:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-03 03:44:45 | [Mutex] waiting for: [received:nodes:f1428af1-aadd-4632-a624-867f0fb1f197:localhost] 2022-03-03 03:44:45 | [Mutex] received everything. 2022-03-03 03:44:45 | [Mutex] isItemNotified: received:node:f1428af1-aadd-4632-a624-867f0fb1f197:localhost:node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5:Node 7857ed0c-7d6d-4b66-93d9-9b8efca97ca5 :: false 2022-03-03 03:44:45 | [Mutex] waiting for: [received:nodes:b5cc663c-7c69-4757-90e4-0d829c9cd56b:localhost] 2022-03-03 03:44:45 | [Mutex] received everything. 2022-03-03 03:44:45 | [Mutex] isItemNotified: received:node:b5cc663c-7c69-4757-90e4-0d829c9cd56b:localhost:node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5:Node 7857ed0c-7d6d-4b66-93d9-9b8efca97ca5 :: false |
publishItemsToNodes | 0.278s |
2022-03-03 03:44:42 |
2022-03-03 03:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:42 | ------------------------------------ 2022-03-03 03:44:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</node><item-id>item-771f6620-5413-4ef6-9847-530ebf118487</item-id><entry><test>item-771f6620-5413-4ef6-9847-530ebf118487</test></entry></data> 2022-03-03 03:44:42 | 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-771f6620-5413-4ef6-9847-530ebf118487</value></item-id></result> 2022-03-03 03:44:42 | [Mutex] waiting for: [published:item:notifieditem-771f6620-5413-4ef6-9847-530ebf118487:admin@test-domain.com] 2022-03-03 03:44:42 | [Mutex] received everything. 2022-03-03 03:44:42 | [Mutex] isItemNotified: published:item:notifieditem-771f6620-5413-4ef6-9847-530ebf118487:admin@test-domain.com :: true |
retractItemsFromNodes | 0.327s |
2022-03-03 03:44:42 |
2022-03-03 03:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:42 | ------------------------------------ 2022-03-03 03:44:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</node><item-id>item-771f6620-5413-4ef6-9847-530ebf118487</item-id></data> 2022-03-03 03:44:43 | 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-771f6620-5413-4ef6-9847-530ebf118487</value></item-id></result> 2022-03-03 03:44:43 | [Mutex] received everything. 2022-03-03 03:44:43 | [Mutex] isItemNotified: retracted:item:notifieditem-771f6620-5413-4ef6-9847-530ebf118487:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.333s |
2022-03-03 03:44:42 |
2022-03-03 03:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:42 | ------------------------------------ 2022-03-03 03:44:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</node><item-id>item-771f6620-5413-4ef6-9847-530ebf118487</item-id></data> 2022-03-03 03:44:42 | 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-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</value></node><item-id type="text-single" label="Item ID"><value>item-771f6620-5413-4ef6-9847-530ebf118487</value></item-id><item type="text-multi" label="Item"><value><item id="item-771f6620-5413-4ef6-9847-530ebf118487"><test>item-771f6620-5413-4ef6-9847-530ebf118487</test></item></value></item></result> 2022-03-03 03:44:42 | [Mutex] notify: [retrieved:item:item-771f6620-5413-4ef6-9847-530ebf118487:payload-matches:true:localhost] 2022-03-03 03:44:42 | [Mutex] received everything. 2022-03-03 03:44:42 | [Mutex] isItemNotified: retrieved:item:item-771f6620-5413-4ef6-9847-530ebf118487:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-03-03 03:44:42 |
2022-03-03 03:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:42 | ------------------------------------ 2022-03-03 03:44:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-03-03 03:44:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b1b624ea-8077-4738-953c-284b7a5fa060</value><value>test</value><value>node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-03-03 03:44:42 |
2022-03-03 03:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:42 | ------------------------------------ 2022-03-03 03:44:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5)</node-pattern></data> 2022-03-03 03:44:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.132s |
2022-03-03 03:44:41 |
2022-03-03 03:44:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:41 | ------------------------------------ 2022-03-03 03:44:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-03 03:44:41 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.311s |
2022-03-03 03:44:43 |
2022-03-03 03:44:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-03 03:44:43 | ------------------------------------ 2022-03-03 03:44:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7857ed0c-7d6d-4b66-93d9-9b8efca97ca5</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-03 03:44:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |