Test duration : 9.578s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2022-09-06 22:33:36 |
2022-09-06 22:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:36 | ------------------------------------ 2022-09-06 22:33:36 | [Mutex] waiting for: [configured:node:node-15234e28-fd78-4595-8209-2f35cf11cd98:node-caf8e1a0-401d-42d7-9362-919aa781a8f3] 2022-09-06 22:33:36 | [Mutex] received everything. 2022-09-06 22:33:36 | [Mutex] isItemNotified: configured:node:node-15234e28-fd78-4595-8209-2f35cf11cd98:node-caf8e1a0-401d-42d7-9362-919aa781a8f3 :: true 2022-09-06 22:33:37 | [Mutex] waiting for: [received:nodes:ea6f230d-0199-42b4-b5e7-dae79501a18e:localhost] 2022-09-06 22:33:37 | [Mutex] received everything. 2022-09-06 22:33:37 | [Mutex] isItemNotified: received:node:ea6f230d-0199-42b4-b5e7-dae79501a18e:localhost:node-15234e28-fd78-4595-8209-2f35cf11cd98:Node 15234e28-fd78-4595-8209-2f35cf11cd98 :: true 2022-09-06 22:33:37 | [Mutex] waiting for: [received:nodes:c2bc9426-6f70-45c6-9bf7-479fd9d7f46b:localhost] 2022-09-06 22:33:37 | [Mutex] received everything. 2022-09-06 22:33:37 | [Mutex] isItemNotified: received:node:c2bc9426-6f70-45c6-9bf7-479fd9d7f46b:localhost:node-15234e28-fd78-4595-8209-2f35cf11cd98:Node 15234e28-fd78-4595-8209-2f35cf11cd98 :: false |
createNodes | 1.423s |
2022-09-06 22:33:33 |
2022-09-06 22:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:33 | ------------------------------------ 2022-09-06 22:33:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-15234e28-fd78-4595-8209-2f35cf11cd98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 15234e28-fd78-4595-8209-2f35cf11cd98</title></pubsub></data> 2022-09-06 22:33:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-06 22:33:35 | [Mutex] waiting for: [received:nodes:89eb29a4-f484-4b8e-bab1-728ddaaa36f3:localhost] 2022-09-06 22:33:35 | [Mutex] received everything. 2022-09-06 22:33:35 | [Mutex] isItemNotified: received:node:89eb29a4-f484-4b8e-bab1-728ddaaa36f3:localhost:node-15234e28-fd78-4595-8209-2f35cf11cd98:Node 15234e28-fd78-4595-8209-2f35cf11cd98 :: true |
createSubnodes | 1.023s |
2022-09-06 22:33:35 |
2022-09-06 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:35 | ------------------------------------ 2022-09-06 22:33:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-caf8e1a0-401d-42d7-9362-919aa781a8f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node caf8e1a0-401d-42d7-9362-919aa781a8f3</title></pubsub></data> 2022-09-06 22:33:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-06 22:33:36 | [Mutex] waiting for: [received:nodes:bd9e425d-c15c-496b-940b-591448505e4f:localhost] 2022-09-06 22:33:36 | [Mutex] received everything. 2022-09-06 22:33:36 | [Mutex] isItemNotified: received:node:bd9e425d-c15c-496b-940b-591448505e4f:localhost:node-caf8e1a0-401d-42d7-9362-919aa781a8f3:Node caf8e1a0-401d-42d7-9362-919aa781a8f3 :: true |
deleteNodes | 1.016s |
2022-09-06 22:33:41 |
2022-09-06 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:41 | ------------------------------------ 2022-09-06 22:33:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-caf8e1a0-401d-42d7-9362-919aa781a8f3</node></data> 2022-09-06 22:33:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-06 22:33:42 | [Mutex] waiting for: [received:nodes:32aac720-7c63-484c-9b88-8a9364a2fca2:localhost] 2022-09-06 22:33:42 | [Mutex] waiting for: [received:nodes:32aac720-7c63-484c-9b88-8a9364a2fca2:localhost] 2022-09-06 22:33:42 | [Mutex] received everything. 2022-09-06 22:33:42 | [Mutex] isItemNotified: received:node:32aac720-7c63-484c-9b88-8a9364a2fca2:localhost:node-caf8e1a0-401d-42d7-9362-919aa781a8f3:Node caf8e1a0-401d-42d7-9362-919aa781a8f3 :: false |
deleteSubnodes | 1.163s |
2022-09-06 22:33:40 |
2022-09-06 22:33:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:40 | ------------------------------------ 2022-09-06 22:33:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-15234e28-fd78-4595-8209-2f35cf11cd98</node></data> 2022-09-06 22:33:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-06 22:33:41 | [Mutex] waiting for: [received:nodes:093da726-528f-4f41-9247-0885a28c3f1e:localhost] 2022-09-06 22:33:41 | [Mutex] waiting for: [received:nodes:093da726-528f-4f41-9247-0885a28c3f1e:localhost] 2022-09-06 22:33:41 | [Mutex] waiting for: [received:nodes:093da726-528f-4f41-9247-0885a28c3f1e:localhost] 2022-09-06 22:33:41 | [Mutex] received everything. 2022-09-06 22:33:41 | [Mutex] isItemNotified: received:node:093da726-528f-4f41-9247-0885a28c3f1e:localhost:node-15234e28-fd78-4595-8209-2f35cf11cd98:Node 15234e28-fd78-4595-8209-2f35cf11cd98 :: false 2022-09-06 22:33:41 | [Mutex] waiting for: [received:nodes:12bdde54-1789-4271-b355-3639a330e44a:localhost] 2022-09-06 22:33:41 | [Mutex] received everything. 2022-09-06 22:33:41 | [Mutex] isItemNotified: received:node:12bdde54-1789-4271-b355-3639a330e44a:localhost:node-15234e28-fd78-4595-8209-2f35cf11cd98:Node 15234e28-fd78-4595-8209-2f35cf11cd98 :: false |
publishItemsToNodes | 0.228s |
2022-09-06 22:33:38 |
2022-09-06 22:33:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:38 | ------------------------------------ 2022-09-06 22:33:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-15234e28-fd78-4595-8209-2f35cf11cd98</node><item-id>item-6cc13d22-3e5c-489d-8e98-277151b897bc</item-id><entry><test>item-6cc13d22-3e5c-489d-8e98-277151b897bc</test></entry></data> 2022-09-06 22:33:38 | 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-6cc13d22-3e5c-489d-8e98-277151b897bc</value></item-id></result> 2022-09-06 22:33:38 | [Mutex] received everything. 2022-09-06 22:33:38 | [Mutex] isItemNotified: published:item:notifieditem-6cc13d22-3e5c-489d-8e98-277151b897bc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.305s |
2022-09-06 22:33:39 |
2022-09-06 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:39 | ------------------------------------ 2022-09-06 22:33:39 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-15234e28-fd78-4595-8209-2f35cf11cd98</node><item-id>item-6cc13d22-3e5c-489d-8e98-277151b897bc</item-id></data> 2022-09-06 22:33:39 | 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-6cc13d22-3e5c-489d-8e98-277151b897bc</value></item-id></result> 2022-09-06 22:33:39 | [Mutex] received everything. 2022-09-06 22:33:39 | [Mutex] isItemNotified: retracted:item:notifieditem-6cc13d22-3e5c-489d-8e98-277151b897bc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.251s |
2022-09-06 22:33:38 |
2022-09-06 22:33:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:38 | ------------------------------------ 2022-09-06 22:33:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-15234e28-fd78-4595-8209-2f35cf11cd98</node><item-id>item-6cc13d22-3e5c-489d-8e98-277151b897bc</item-id></data> 2022-09-06 22:33:39 | 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-15234e28-fd78-4595-8209-2f35cf11cd98</value></node><item-id type="text-single" label="Item ID"><value>item-6cc13d22-3e5c-489d-8e98-277151b897bc</value></item-id><item type="text-multi" label="Item"><value><item id="item-6cc13d22-3e5c-489d-8e98-277151b897bc"><test>item-6cc13d22-3e5c-489d-8e98-277151b897bc</test></item></value></item></result> 2022-09-06 22:33:39 | [Mutex] notify: [retrieved:item:item-6cc13d22-3e5c-489d-8e98-277151b897bc:payload-matches:true:localhost] 2022-09-06 22:33:39 | [Mutex] received everything. 2022-09-06 22:33:39 | [Mutex] isItemNotified: retrieved:item:item-6cc13d22-3e5c-489d-8e98-277151b897bc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-09-06 22:33:39 |
2022-09-06 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:39 | ------------------------------------ 2022-09-06 22:33:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-06 22:33:39 | 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-15234e28-fd78-4595-8209-2f35cf11cd98</value><value>node-caf8e1a0-401d-42d7-9362-919aa781a8f3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-09-06 22:33:39 |
2022-09-06 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:39 | ------------------------------------ 2022-09-06 22:33:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-15234e28-fd78-4595-8209-2f35cf11cd98)</node-pattern></data> 2022-09-06 22:33:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.110s |
2022-09-06 22:33:37 |
2022-09-06 22:33:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:37 | ------------------------------------ 2022-09-06 22:33:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-15234e28-fd78-4595-8209-2f35cf11cd98</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-06 22:33:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.200s |
2022-09-06 22:33:39 |
2022-09-06 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-06 22:33:39 | ------------------------------------ 2022-09-06 22:33:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-15234e28-fd78-4595-8209-2f35cf11cd98</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-06 22:33:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |