Test duration : 10.333s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.123s |
2021-06-13 22:58:05 |
2021-06-13 22:58:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:05 | ------------------------------------ 2021-06-13 22:58:05 | [Mutex] waiting for: [configured:node:node-952ff1f7-b370-4b64-9d64-1a1b1fb187df:node-faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796] 2021-06-13 22:58:06 | [Mutex] received everything. 2021-06-13 22:58:06 | [Mutex] isItemNotified: configured:node:node-952ff1f7-b370-4b64-9d64-1a1b1fb187df:node-faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796 :: true 2021-06-13 22:58:07 | [Mutex] waiting for: [received:nodes:2496afce-d660-4779-9ca8-21be8ebcdc51:localhost] 2021-06-13 22:58:07 | [Mutex] received everything. 2021-06-13 22:58:07 | [Mutex] isItemNotified: received:node:2496afce-d660-4779-9ca8-21be8ebcdc51:localhost:node-952ff1f7-b370-4b64-9d64-1a1b1fb187df:Node 952ff1f7-b370-4b64-9d64-1a1b1fb187df :: true 2021-06-13 22:58:07 | [Mutex] waiting for: [received:nodes:b3506969-d034-4ef4-8dcb-9b663730f94e:localhost] 2021-06-13 22:58:07 | [Mutex] waiting for: [received:nodes:b3506969-d034-4ef4-8dcb-9b663730f94e:localhost] 2021-06-13 22:58:07 | [Mutex] received everything. 2021-06-13 22:58:07 | [Mutex] isItemNotified: received:node:b3506969-d034-4ef4-8dcb-9b663730f94e:localhost:node-952ff1f7-b370-4b64-9d64-1a1b1fb187df:Node 952ff1f7-b370-4b64-9d64-1a1b1fb187df :: false |
createNodes | 1.441s |
2021-06-13 22:58:03 |
2021-06-13 22:58:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:03 | ------------------------------------ 2021-06-13 22:58:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-952ff1f7-b370-4b64-9d64-1a1b1fb187df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 952ff1f7-b370-4b64-9d64-1a1b1fb187df</title></pubsub></data> 2021-06-13 22:58:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-13 22:58:04 | [Mutex] waiting for: [received:nodes:0bb487eb-1199-417f-b071-e4fd06f3cc93:localhost] 2021-06-13 22:58:04 | [Mutex] received everything. 2021-06-13 22:58:04 | [Mutex] isItemNotified: received:node:0bb487eb-1199-417f-b071-e4fd06f3cc93:localhost:node-952ff1f7-b370-4b64-9d64-1a1b1fb187df:Node 952ff1f7-b370-4b64-9d64-1a1b1fb187df :: true |
createSubnodes | 1.031s |
2021-06-13 22:58:04 |
2021-06-13 22:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:04 | ------------------------------------ 2021-06-13 22:58:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796</title></pubsub></data> 2021-06-13 22:58:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-13 22:58:05 | [Mutex] waiting for: [received:nodes:d543658a-a4a2-45d2-a727-06bd8b51c2e9:localhost] 2021-06-13 22:58:05 | [Mutex] received everything. 2021-06-13 22:58:05 | [Mutex] isItemNotified: received:node:d543658a-a4a2-45d2-a727-06bd8b51c2e9:localhost:node-faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796:Node faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796 :: true |
deleteNodes | 1.026s |
2021-06-13 22:58:11 |
2021-06-13 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:11 | ------------------------------------ 2021-06-13 22:58:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796</node></data> 2021-06-13 22:58:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-13 22:58:12 | [Mutex] waiting for: [received:nodes:9a390b9b-fd2a-489a-a3e0-ee8440334807:localhost] 2021-06-13 22:58:12 | [Mutex] received everything. 2021-06-13 22:58:12 | [Mutex] isItemNotified: received:node:9a390b9b-fd2a-489a-a3e0-ee8440334807:localhost:node-faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796:Node faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796 :: false |
deleteSubnodes | 1.155s |
2021-06-13 22:58:10 |
2021-06-13 22:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:10 | ------------------------------------ 2021-06-13 22:58:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-952ff1f7-b370-4b64-9d64-1a1b1fb187df</node></data> 2021-06-13 22:58:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-13 22:58:11 | [Mutex] waiting for: [received:nodes:b98b37b8-0720-4252-8181-44d2a7e1f68d:localhost] 2021-06-13 22:58:11 | [Mutex] received everything. 2021-06-13 22:58:11 | [Mutex] isItemNotified: received:node:b98b37b8-0720-4252-8181-44d2a7e1f68d:localhost:node-952ff1f7-b370-4b64-9d64-1a1b1fb187df:Node 952ff1f7-b370-4b64-9d64-1a1b1fb187df :: false 2021-06-13 22:58:11 | [Mutex] waiting for: [received:nodes:251aae6f-62fb-49aa-a235-7048cb2dc908:localhost] 2021-06-13 22:58:11 | [Mutex] received everything. 2021-06-13 22:58:11 | [Mutex] isItemNotified: received:node:251aae6f-62fb-49aa-a235-7048cb2dc908:localhost:node-952ff1f7-b370-4b64-9d64-1a1b1fb187df:Node 952ff1f7-b370-4b64-9d64-1a1b1fb187df :: false |
publishItemsToNodes | 0.271s |
2021-06-13 22:58:08 |
2021-06-13 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:08 | ------------------------------------ 2021-06-13 22:58:08 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-952ff1f7-b370-4b64-9d64-1a1b1fb187df</node><item-id>item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5</item-id><entry><test>item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5</test></entry></data> 2021-06-13 22:58:08 | 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-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5</value></item-id></result> 2021-06-13 22:58:08 | [Mutex] waiting for: [published:item:notifieditem-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5:admin@test-domain.com] 2021-06-13 22:58:08 | [Mutex] received everything. 2021-06-13 22:58:08 | [Mutex] isItemNotified: published:item:notifieditem-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.399s |
2021-06-13 22:58:08 |
2021-06-13 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:08 | ------------------------------------ 2021-06-13 22:58:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-952ff1f7-b370-4b64-9d64-1a1b1fb187df</node><item-id>item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5</item-id></data> 2021-06-13 22:58:09 | 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-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5</value></item-id></result> 2021-06-13 22:58:09 | [Mutex] received everything. 2021-06-13 22:58:09 | [Mutex] isItemNotified: retracted:item:notifieditem-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.326s |
2021-06-13 22:58:08 |
2021-06-13 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:08 | ------------------------------------ 2021-06-13 22:58:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-952ff1f7-b370-4b64-9d64-1a1b1fb187df</node><item-id>item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5</item-id></data> 2021-06-13 22:58:08 | 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-952ff1f7-b370-4b64-9d64-1a1b1fb187df</value></node><item-id type="text-single" label="Item ID"><value>item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5</value></item-id><item type="text-multi" label="Item"><value><item id="item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5"><test>item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5</test></item></value></item></result> 2021-06-13 22:58:08 | [Mutex] notify: [retrieved:item:item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5:payload-matches:true:localhost] 2021-06-13 22:58:08 | [Mutex] received everything. 2021-06-13 22:58:08 | [Mutex] isItemNotified: retrieved:item:item-461a74d5-aaf9-41b4-a6c4-1a0f7ae92eb5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-06-13 22:58:08 |
2021-06-13 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:08 | ------------------------------------ 2021-06-13 22:58:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-06-13 22:58:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-952ff1f7-b370-4b64-9d64-1a1b1fb187df</value><value>node-faaeeff9-83fb-4ac6-9f8f-2ae04f0c3796</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-06-13 22:58:08 |
2021-06-13 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:08 | ------------------------------------ 2021-06-13 22:58:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-952ff1f7-b370-4b64-9d64-1a1b1fb187df)</node-pattern></data> 2021-06-13 22:58:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.177s |
2021-06-13 22:58:07 |
2021-06-13 22:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:07 | ------------------------------------ 2021-06-13 22:58:07 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-952ff1f7-b370-4b64-9d64-1a1b1fb187df</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-13 22:58:07 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.435s |
2021-06-13 22:58:09 |
2021-06-13 22:58:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-13 22:58:09 | ------------------------------------ 2021-06-13 22:58:09 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-952ff1f7-b370-4b64-9d64-1a1b1fb187df</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-13 22:58:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |