Test duration : 9.489s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2023-03-06 07:36:11 |
2023-03-06 07:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:11 | ------------------------------------ 2023-03-06 07:36:11 | [Mutex] waiting for: [configured:node:node-0d36591a-848a-4775-8ef1-cb51faa95c0d:node-6e007ed7-0fa7-420d-889e-e3c55a86b29d] 2023-03-06 07:36:11 | [Mutex] received everything. 2023-03-06 07:36:11 | [Mutex] isItemNotified: configured:node:node-0d36591a-848a-4775-8ef1-cb51faa95c0d:node-6e007ed7-0fa7-420d-889e-e3c55a86b29d :: true 2023-03-06 07:36:12 | [Mutex] waiting for: [received:nodes:61f3159d-71ed-40ea-a716-5a480d832f93:localhost] 2023-03-06 07:36:12 | [Mutex] received everything. 2023-03-06 07:36:12 | [Mutex] isItemNotified: received:node:61f3159d-71ed-40ea-a716-5a480d832f93:localhost:node-0d36591a-848a-4775-8ef1-cb51faa95c0d:Node 0d36591a-848a-4775-8ef1-cb51faa95c0d :: true 2023-03-06 07:36:12 | [Mutex] waiting for: [received:nodes:d82d2133-8e3f-4484-a87f-6458822d6d75:localhost] 2023-03-06 07:36:12 | [Mutex] waiting for: [received:nodes:d82d2133-8e3f-4484-a87f-6458822d6d75:localhost] 2023-03-06 07:36:12 | [Mutex] waiting for: [received:nodes:d82d2133-8e3f-4484-a87f-6458822d6d75:localhost] 2023-03-06 07:36:12 | [Mutex] waiting for: [received:nodes:d82d2133-8e3f-4484-a87f-6458822d6d75:localhost] 2023-03-06 07:36:12 | [Mutex] waiting for: [received:nodes:d82d2133-8e3f-4484-a87f-6458822d6d75:localhost] 2023-03-06 07:36:12 | [Mutex] received everything. 2023-03-06 07:36:12 | [Mutex] isItemNotified: received:node:d82d2133-8e3f-4484-a87f-6458822d6d75:localhost:node-0d36591a-848a-4775-8ef1-cb51faa95c0d:Node 0d36591a-848a-4775-8ef1-cb51faa95c0d :: false |
createNodes | 1.454s |
2023-03-06 07:36:09 |
2023-03-06 07:36:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:09 | ------------------------------------ 2023-03-06 07:36:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0d36591a-848a-4775-8ef1-cb51faa95c0d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0d36591a-848a-4775-8ef1-cb51faa95c0d</title></pubsub></data> 2023-03-06 07:36:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 07:36:10 | [Mutex] waiting for: [received:nodes:e6c99dce-761c-4e98-91ff-7f2c233c2808:localhost] 2023-03-06 07:36:10 | [Mutex] waiting for: [received:nodes:e6c99dce-761c-4e98-91ff-7f2c233c2808:localhost] 2023-03-06 07:36:10 | [Mutex] waiting for: [received:nodes:e6c99dce-761c-4e98-91ff-7f2c233c2808:localhost] 2023-03-06 07:36:10 | [Mutex] received everything. 2023-03-06 07:36:10 | [Mutex] isItemNotified: received:node:e6c99dce-761c-4e98-91ff-7f2c233c2808:localhost:node-0d36591a-848a-4775-8ef1-cb51faa95c0d:Node 0d36591a-848a-4775-8ef1-cb51faa95c0d :: true |
createSubnodes | 1.025s |
2023-03-06 07:36:10 |
2023-03-06 07:36:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:10 | ------------------------------------ 2023-03-06 07:36:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6e007ed7-0fa7-420d-889e-e3c55a86b29d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6e007ed7-0fa7-420d-889e-e3c55a86b29d</title></pubsub></data> 2023-03-06 07:36:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 07:36:11 | [Mutex] waiting for: [received:nodes:1842c88c-33e6-4919-be22-1e3153907c0a:localhost] 2023-03-06 07:36:11 | [Mutex] waiting for: [received:nodes:1842c88c-33e6-4919-be22-1e3153907c0a:localhost] 2023-03-06 07:36:11 | [Mutex] waiting for: [received:nodes:1842c88c-33e6-4919-be22-1e3153907c0a:localhost] 2023-03-06 07:36:11 | [Mutex] waiting for: [received:nodes:1842c88c-33e6-4919-be22-1e3153907c0a:localhost] 2023-03-06 07:36:11 | [Mutex] received everything. 2023-03-06 07:36:11 | [Mutex] isItemNotified: received:node:1842c88c-33e6-4919-be22-1e3153907c0a:localhost:node-6e007ed7-0fa7-420d-889e-e3c55a86b29d:Node 6e007ed7-0fa7-420d-889e-e3c55a86b29d :: true |
deleteNodes | 1.018s |
2023-03-06 07:36:17 |
2023-03-06 07:36:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:17 | ------------------------------------ 2023-03-06 07:36:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6e007ed7-0fa7-420d-889e-e3c55a86b29d</node></data> 2023-03-06 07:36:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 07:36:18 | [Mutex] waiting for: [received:nodes:d92d55a8-1663-400d-86ef-7d98a5155901:localhost] 2023-03-06 07:36:18 | [Mutex] waiting for: [received:nodes:d92d55a8-1663-400d-86ef-7d98a5155901:localhost] 2023-03-06 07:36:18 | [Mutex] waiting for: [received:nodes:d92d55a8-1663-400d-86ef-7d98a5155901:localhost] 2023-03-06 07:36:18 | [Mutex] received everything. 2023-03-06 07:36:18 | [Mutex] isItemNotified: received:node:d92d55a8-1663-400d-86ef-7d98a5155901:localhost:node-6e007ed7-0fa7-420d-889e-e3c55a86b29d:Node 6e007ed7-0fa7-420d-889e-e3c55a86b29d :: false |
deleteSubnodes | 1.107s |
2023-03-06 07:36:16 |
2023-03-06 07:36:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:16 | ------------------------------------ 2023-03-06 07:36:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0d36591a-848a-4775-8ef1-cb51faa95c0d</node></data> 2023-03-06 07:36:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 07:36:17 | [Mutex] waiting for: [received:nodes:7b3a2a79-6a85-4087-b8d0-aa77d300ec70:localhost] 2023-03-06 07:36:17 | [Mutex] waiting for: [received:nodes:7b3a2a79-6a85-4087-b8d0-aa77d300ec70:localhost] 2023-03-06 07:36:17 | [Mutex] waiting for: [received:nodes:7b3a2a79-6a85-4087-b8d0-aa77d300ec70:localhost] 2023-03-06 07:36:17 | [Mutex] waiting for: [received:nodes:7b3a2a79-6a85-4087-b8d0-aa77d300ec70:localhost] 2023-03-06 07:36:17 | [Mutex] received everything. 2023-03-06 07:36:17 | [Mutex] isItemNotified: received:node:7b3a2a79-6a85-4087-b8d0-aa77d300ec70:localhost:node-0d36591a-848a-4775-8ef1-cb51faa95c0d:Node 0d36591a-848a-4775-8ef1-cb51faa95c0d :: false 2023-03-06 07:36:17 | [Mutex] waiting for: [received:nodes:bde5494e-c706-46a5-8335-85dd0bbdb61b:localhost] 2023-03-06 07:36:17 | [Mutex] received everything. 2023-03-06 07:36:17 | [Mutex] isItemNotified: received:node:bde5494e-c706-46a5-8335-85dd0bbdb61b:localhost:node-0d36591a-848a-4775-8ef1-cb51faa95c0d:Node 0d36591a-848a-4775-8ef1-cb51faa95c0d :: false |
publishItemsToNodes | 0.190s |
2023-03-06 07:36:14 |
2023-03-06 07:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:14 | ------------------------------------ 2023-03-06 07:36:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0d36591a-848a-4775-8ef1-cb51faa95c0d</node><item-id>item-4631b1db-d48a-4063-82d1-3741cd298660</item-id><entry><test>item-4631b1db-d48a-4063-82d1-3741cd298660</test></entry></data> 2023-03-06 07:36:14 | 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-4631b1db-d48a-4063-82d1-3741cd298660</value></item-id></result> 2023-03-06 07:36:14 | [Mutex] waiting for: [published:item:notifieditem-4631b1db-d48a-4063-82d1-3741cd298660:admin@test-domain.com] 2023-03-06 07:36:14 | [Mutex] received everything. 2023-03-06 07:36:14 | [Mutex] isItemNotified: published:item:notifieditem-4631b1db-d48a-4063-82d1-3741cd298660:admin@test-domain.com :: true |
retractItemsFromNodes | 0.303s |
2023-03-06 07:36:14 |
2023-03-06 07:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:14 | ------------------------------------ 2023-03-06 07:36:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0d36591a-848a-4775-8ef1-cb51faa95c0d</node><item-id>item-4631b1db-d48a-4063-82d1-3741cd298660</item-id></data> 2023-03-06 07:36:14 | 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-4631b1db-d48a-4063-82d1-3741cd298660</value></item-id></result> 2023-03-06 07:36:14 | [Mutex] received everything. 2023-03-06 07:36:14 | [Mutex] isItemNotified: retracted:item:notifieditem-4631b1db-d48a-4063-82d1-3741cd298660:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.200s |
2023-03-06 07:36:14 |
2023-03-06 07:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:14 | ------------------------------------ 2023-03-06 07:36:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0d36591a-848a-4775-8ef1-cb51faa95c0d</node><item-id>item-4631b1db-d48a-4063-82d1-3741cd298660</item-id></data> 2023-03-06 07:36:14 | 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-0d36591a-848a-4775-8ef1-cb51faa95c0d</value></node><item-id label="Item ID" type="text-single"><value>item-4631b1db-d48a-4063-82d1-3741cd298660</value></item-id><item label="Item" type="text-multi"><value><item id="item-4631b1db-d48a-4063-82d1-3741cd298660"><test>item-4631b1db-d48a-4063-82d1-3741cd298660</test></item></value></item></result> 2023-03-06 07:36:14 | [Mutex] notify: [retrieved:item:item-4631b1db-d48a-4063-82d1-3741cd298660:payload-matches:true:localhost] 2023-03-06 07:36:14 | [Mutex] received everything. 2023-03-06 07:36:14 | [Mutex] isItemNotified: retrieved:item:item-4631b1db-d48a-4063-82d1-3741cd298660:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2023-03-06 07:36:14 |
2023-03-06 07:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:14 | ------------------------------------ 2023-03-06 07:36:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-06 07:36:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-6e007ed7-0fa7-420d-889e-e3c55a86b29d</value><value>node-0d36591a-848a-4775-8ef1-cb51faa95c0d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-03-06 07:36:14 |
2023-03-06 07:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:14 | ------------------------------------ 2023-03-06 07:36:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0d36591a-848a-4775-8ef1-cb51faa95c0d)</node-pattern></data> 2023-03-06 07:36:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.161s |
2023-03-06 07:36:12 |
2023-03-06 07:36:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:12 | ------------------------------------ 2023-03-06 07:36:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0d36591a-848a-4775-8ef1-cb51faa95c0d</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 07:36:13 | 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 |
2023-03-06 07:36:14 |
2023-03-06 07:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 07:36:14 | ------------------------------------ 2023-03-06 07:36:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0d36591a-848a-4775-8ef1-cb51faa95c0d</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 07:36:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |