Test duration : 9.437s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-08-30 22:33:38 |
2022-08-30 22:33:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:38 | ------------------------------------ 2022-08-30 22:33:38 | [Mutex] waiting for: [configured:node:node-26b42bb6-47af-41f8-a7ac-59ba863604d3:node-91d724a5-6ba3-4816-bb94-af150119d491] 2022-08-30 22:33:39 | [Mutex] received everything. 2022-08-30 22:33:39 | [Mutex] isItemNotified: configured:node:node-26b42bb6-47af-41f8-a7ac-59ba863604d3:node-91d724a5-6ba3-4816-bb94-af150119d491 :: true 2022-08-30 22:33:40 | [Mutex] waiting for: [received:nodes:4b07630e-7c41-4a3a-93a9-89842afa9097:localhost] 2022-08-30 22:33:40 | [Mutex] received everything. 2022-08-30 22:33:40 | [Mutex] isItemNotified: received:node:4b07630e-7c41-4a3a-93a9-89842afa9097:localhost:node-26b42bb6-47af-41f8-a7ac-59ba863604d3:Node 26b42bb6-47af-41f8-a7ac-59ba863604d3 :: true 2022-08-30 22:33:40 | [Mutex] waiting for: [received:nodes:ba89b76c-280e-4a93-9c3a-30fa1a0a6de8:localhost] 2022-08-30 22:33:40 | [Mutex] received everything. 2022-08-30 22:33:40 | [Mutex] isItemNotified: received:node:ba89b76c-280e-4a93-9c3a-30fa1a0a6de8:localhost:node-26b42bb6-47af-41f8-a7ac-59ba863604d3:Node 26b42bb6-47af-41f8-a7ac-59ba863604d3 :: false |
createNodes | 1.413s |
2022-08-30 22:33:36 |
2022-08-30 22:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:36 | ------------------------------------ 2022-08-30 22:33:36 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-26b42bb6-47af-41f8-a7ac-59ba863604d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 26b42bb6-47af-41f8-a7ac-59ba863604d3</title></pubsub></data> 2022-08-30 22:33:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 22:33:37 | [Mutex] waiting for: [received:nodes:221ebe98-d227-4004-8c9c-04f28d39d6de:localhost] 2022-08-30 22:33:37 | [Mutex] received everything. 2022-08-30 22:33:37 | [Mutex] isItemNotified: received:node:221ebe98-d227-4004-8c9c-04f28d39d6de:localhost:node-26b42bb6-47af-41f8-a7ac-59ba863604d3:Node 26b42bb6-47af-41f8-a7ac-59ba863604d3 :: true |
createSubnodes | 1.028s |
2022-08-30 22:33:37 |
2022-08-30 22:33:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:37 | ------------------------------------ 2022-08-30 22:33:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-91d724a5-6ba3-4816-bb94-af150119d491</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 91d724a5-6ba3-4816-bb94-af150119d491</title></pubsub></data> 2022-08-30 22:33:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 22:33:38 | [Mutex] waiting for: [received:nodes:e525dd02-dd11-4502-9ff2-ba16dda59ce3:localhost] 2022-08-30 22:33:38 | [Mutex] received everything. 2022-08-30 22:33:38 | [Mutex] isItemNotified: received:node:e525dd02-dd11-4502-9ff2-ba16dda59ce3:localhost:node-91d724a5-6ba3-4816-bb94-af150119d491:Node 91d724a5-6ba3-4816-bb94-af150119d491 :: true |
deleteNodes | 1.020s |
2022-08-30 22:33:44 |
2022-08-30 22:33:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:44 | ------------------------------------ 2022-08-30 22:33:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-91d724a5-6ba3-4816-bb94-af150119d491</node></data> 2022-08-30 22:33:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 22:33:45 | [Mutex] waiting for: [received:nodes:b3ee8ba9-dd2c-4594-81f9-3f11c2b61a7a:localhost] 2022-08-30 22:33:45 | [Mutex] received everything. 2022-08-30 22:33:45 | [Mutex] isItemNotified: received:node:b3ee8ba9-dd2c-4594-81f9-3f11c2b61a7a:localhost:node-91d724a5-6ba3-4816-bb94-af150119d491:Node 91d724a5-6ba3-4816-bb94-af150119d491 :: false |
deleteSubnodes | 1.135s |
2022-08-30 22:33:43 |
2022-08-30 22:33:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:43 | ------------------------------------ 2022-08-30 22:33:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-26b42bb6-47af-41f8-a7ac-59ba863604d3</node></data> 2022-08-30 22:33:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-30 22:33:44 | [Mutex] waiting for: [received:nodes:bcd5e412-49e2-496b-bddb-50bc4e2281bd:localhost] 2022-08-30 22:33:44 | [Mutex] received everything. 2022-08-30 22:33:44 | [Mutex] isItemNotified: received:node:bcd5e412-49e2-496b-bddb-50bc4e2281bd:localhost:node-26b42bb6-47af-41f8-a7ac-59ba863604d3:Node 26b42bb6-47af-41f8-a7ac-59ba863604d3 :: false 2022-08-30 22:33:44 | [Mutex] waiting for: [received:nodes:f96c4d2c-43bb-41c9-a9e3-3ea28b103de5:localhost] 2022-08-30 22:33:44 | [Mutex] received everything. 2022-08-30 22:33:44 | [Mutex] isItemNotified: received:node:f96c4d2c-43bb-41c9-a9e3-3ea28b103de5:localhost:node-26b42bb6-47af-41f8-a7ac-59ba863604d3:Node 26b42bb6-47af-41f8-a7ac-59ba863604d3 :: false |
publishItemsToNodes | 0.269s |
2022-08-30 22:33:41 |
2022-08-30 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:41 | ------------------------------------ 2022-08-30 22:33:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-26b42bb6-47af-41f8-a7ac-59ba863604d3</node><item-id>item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75</item-id><entry><test>item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75</test></entry></data> 2022-08-30 22:33:41 | 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-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75</value></item-id></result> 2022-08-30 22:33:41 | [Mutex] waiting for: [published:item:notifieditem-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75:admin@test-domain.com] 2022-08-30 22:33:41 | [Mutex] received everything. 2022-08-30 22:33:41 | [Mutex] isItemNotified: published:item:notifieditem-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2022-08-30 22:33:41 |
2022-08-30 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:41 | ------------------------------------ 2022-08-30 22:33:41 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-26b42bb6-47af-41f8-a7ac-59ba863604d3</node><item-id>item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75</item-id></data> 2022-08-30 22:33:42 | 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-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75</value></item-id></result> 2022-08-30 22:33:42 | [Mutex] received everything. 2022-08-30 22:33:42 | [Mutex] isItemNotified: retracted:item:notifieditem-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.198s |
2022-08-30 22:33:41 |
2022-08-30 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:41 | ------------------------------------ 2022-08-30 22:33:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-26b42bb6-47af-41f8-a7ac-59ba863604d3</node><item-id>item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75</item-id></data> 2022-08-30 22:33:41 | 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-26b42bb6-47af-41f8-a7ac-59ba863604d3</value></node><item-id type="text-single" label="Item ID"><value>item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75</value></item-id><item type="text-multi" label="Item"><value><item id="item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75"><test>item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75</test></item></value></item></result> 2022-08-30 22:33:41 | [Mutex] notify: [retrieved:item:item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75:payload-matches:true:localhost] 2022-08-30 22:33:41 | [Mutex] received everything. 2022-08-30 22:33:41 | [Mutex] isItemNotified: retrieved:item:item-6ef5ff18-d9cc-490a-8dbb-a3baf097fa75:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-08-30 22:33:41 |
2022-08-30 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:41 | ------------------------------------ 2022-08-30 22:33:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-30 22:33:41 | 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-26b42bb6-47af-41f8-a7ac-59ba863604d3</value><value>node-91d724a5-6ba3-4816-bb94-af150119d491</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-30 22:33:41 |
2022-08-30 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:41 | ------------------------------------ 2022-08-30 22:33:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-26b42bb6-47af-41f8-a7ac-59ba863604d3)</node-pattern></data> 2022-08-30 22:33:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2022-08-30 22:33:40 |
2022-08-30 22:33:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:40 | ------------------------------------ 2022-08-30 22:33:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-26b42bb6-47af-41f8-a7ac-59ba863604d3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-30 22:33:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.171s |
2022-08-30 22:33:42 |
2022-08-30 22:33:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-30 22:33:42 | ------------------------------------ 2022-08-30 22:33:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-26b42bb6-47af-41f8-a7ac-59ba863604d3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-30 22:33:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |