Test duration : 9.320s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2022-12-16 21:30:54 |
2022-12-16 21:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:54 | ------------------------------------ 2022-12-16 21:30:54 | [Mutex] waiting for: [configured:node:node-490ee2a7-6416-490e-90f9-68b7996d420e:node-b7bf9ed5-67a2-4127-8122-7858cc662b22] 2022-12-16 21:30:55 | [Mutex] received everything. 2022-12-16 21:30:55 | [Mutex] isItemNotified: configured:node:node-490ee2a7-6416-490e-90f9-68b7996d420e:node-b7bf9ed5-67a2-4127-8122-7858cc662b22 :: true 2022-12-16 21:30:56 | [Mutex] waiting for: [received:nodes:7f826870-754e-4934-ad04-9891c59fd33b:localhost] 2022-12-16 21:30:56 | [Mutex] received everything. 2022-12-16 21:30:56 | [Mutex] isItemNotified: received:node:7f826870-754e-4934-ad04-9891c59fd33b:localhost:node-490ee2a7-6416-490e-90f9-68b7996d420e:Node 490ee2a7-6416-490e-90f9-68b7996d420e :: true 2022-12-16 21:30:56 | [Mutex] waiting for: [received:nodes:0e281eea-d046-4de5-9ecd-add8b62a4240:localhost] 2022-12-16 21:30:56 | [Mutex] waiting for: [received:nodes:0e281eea-d046-4de5-9ecd-add8b62a4240:localhost] 2022-12-16 21:30:56 | [Mutex] waiting for: [received:nodes:0e281eea-d046-4de5-9ecd-add8b62a4240:localhost] 2022-12-16 21:30:56 | [Mutex] received everything. 2022-12-16 21:30:56 | [Mutex] isItemNotified: received:node:0e281eea-d046-4de5-9ecd-add8b62a4240:localhost:node-490ee2a7-6416-490e-90f9-68b7996d420e:Node 490ee2a7-6416-490e-90f9-68b7996d420e :: false |
createNodes | 1.382s |
2022-12-16 21:30:52 |
2022-12-16 21:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:52 | ------------------------------------ 2022-12-16 21:30:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-490ee2a7-6416-490e-90f9-68b7996d420e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 490ee2a7-6416-490e-90f9-68b7996d420e</title></pubsub></data> 2022-12-16 21:30:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 21:30:53 | [Mutex] waiting for: [received:nodes:fa7d85fa-6b01-44e5-92be-d3ea5610b360:localhost] 2022-12-16 21:30:53 | [Mutex] waiting for: [received:nodes:fa7d85fa-6b01-44e5-92be-d3ea5610b360:localhost] 2022-12-16 21:30:53 | [Mutex] waiting for: [received:nodes:fa7d85fa-6b01-44e5-92be-d3ea5610b360:localhost] 2022-12-16 21:30:53 | [Mutex] waiting for: [received:nodes:fa7d85fa-6b01-44e5-92be-d3ea5610b360:localhost] 2022-12-16 21:30:53 | [Mutex] received everything. 2022-12-16 21:30:53 | [Mutex] isItemNotified: received:node:fa7d85fa-6b01-44e5-92be-d3ea5610b360:localhost:node-490ee2a7-6416-490e-90f9-68b7996d420e:Node 490ee2a7-6416-490e-90f9-68b7996d420e :: true |
createSubnodes | 1.022s |
2022-12-16 21:30:53 |
2022-12-16 21:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:53 | ------------------------------------ 2022-12-16 21:30:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b7bf9ed5-67a2-4127-8122-7858cc662b22</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b7bf9ed5-67a2-4127-8122-7858cc662b22</title></pubsub></data> 2022-12-16 21:30:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 21:30:54 | [Mutex] waiting for: [received:nodes:fe16ff8f-77c2-41b4-b9c1-dd54f34eb317:localhost] 2022-12-16 21:30:54 | [Mutex] waiting for: [received:nodes:fe16ff8f-77c2-41b4-b9c1-dd54f34eb317:localhost] 2022-12-16 21:30:54 | [Mutex] waiting for: [received:nodes:fe16ff8f-77c2-41b4-b9c1-dd54f34eb317:localhost] 2022-12-16 21:30:54 | [Mutex] waiting for: [received:nodes:fe16ff8f-77c2-41b4-b9c1-dd54f34eb317:localhost] 2022-12-16 21:30:54 | [Mutex] received everything. 2022-12-16 21:30:54 | [Mutex] isItemNotified: received:node:fe16ff8f-77c2-41b4-b9c1-dd54f34eb317:localhost:node-b7bf9ed5-67a2-4127-8122-7858cc662b22:Node b7bf9ed5-67a2-4127-8122-7858cc662b22 :: true |
deleteNodes | 1.021s |
2022-12-16 21:31:00 |
2022-12-16 21:31:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:31:00 | ------------------------------------ 2022-12-16 21:31:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b7bf9ed5-67a2-4127-8122-7858cc662b22</node></data> 2022-12-16 21:31:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 21:31:01 | [Mutex] waiting for: [received:nodes:20581529-132a-4438-bbbe-01f7993fedba:localhost] 2022-12-16 21:31:01 | [Mutex] waiting for: [received:nodes:20581529-132a-4438-bbbe-01f7993fedba:localhost] 2022-12-16 21:31:01 | [Mutex] waiting for: [received:nodes:20581529-132a-4438-bbbe-01f7993fedba:localhost] 2022-12-16 21:31:01 | [Mutex] received everything. 2022-12-16 21:31:01 | [Mutex] isItemNotified: received:node:20581529-132a-4438-bbbe-01f7993fedba:localhost:node-b7bf9ed5-67a2-4127-8122-7858cc662b22:Node b7bf9ed5-67a2-4127-8122-7858cc662b22 :: false |
deleteSubnodes | 1.097s |
2022-12-16 21:30:59 |
2022-12-16 21:30:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:59 | ------------------------------------ 2022-12-16 21:30:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-490ee2a7-6416-490e-90f9-68b7996d420e</node></data> 2022-12-16 21:30:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 21:31:00 | [Mutex] waiting for: [received:nodes:a1bca038-9e23-47e4-80da-e5da380aaaac:localhost] 2022-12-16 21:31:00 | [Mutex] waiting for: [received:nodes:a1bca038-9e23-47e4-80da-e5da380aaaac:localhost] 2022-12-16 21:31:00 | [Mutex] received everything. 2022-12-16 21:31:00 | [Mutex] isItemNotified: received:node:a1bca038-9e23-47e4-80da-e5da380aaaac:localhost:node-490ee2a7-6416-490e-90f9-68b7996d420e:Node 490ee2a7-6416-490e-90f9-68b7996d420e :: false 2022-12-16 21:31:00 | [Mutex] waiting for: [received:nodes:7c3d2b53-3d01-4cf0-9e87-c9eb83ec69fe:localhost] 2022-12-16 21:31:00 | [Mutex] received everything. 2022-12-16 21:31:00 | [Mutex] isItemNotified: received:node:7c3d2b53-3d01-4cf0-9e87-c9eb83ec69fe:localhost:node-490ee2a7-6416-490e-90f9-68b7996d420e:Node 490ee2a7-6416-490e-90f9-68b7996d420e :: false |
publishItemsToNodes | 0.201s |
2022-12-16 21:30:57 |
2022-12-16 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:57 | ------------------------------------ 2022-12-16 21:30:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-490ee2a7-6416-490e-90f9-68b7996d420e</node><item-id>item-be385308-0596-486e-aa02-8d518b044e71</item-id><entry><test>item-be385308-0596-486e-aa02-8d518b044e71</test></entry></data> 2022-12-16 21:30:57 | 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-be385308-0596-486e-aa02-8d518b044e71</value></item-id></result> 2022-12-16 21:30:57 | [Mutex] received everything. 2022-12-16 21:30:57 | [Mutex] isItemNotified: published:item:notifieditem-be385308-0596-486e-aa02-8d518b044e71:admin@test-domain.com :: true |
retractItemsFromNodes | 0.160s |
2022-12-16 21:30:57 |
2022-12-16 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:57 | ------------------------------------ 2022-12-16 21:30:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-490ee2a7-6416-490e-90f9-68b7996d420e</node><item-id>item-be385308-0596-486e-aa02-8d518b044e71</item-id></data> 2022-12-16 21:30:57 | 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-be385308-0596-486e-aa02-8d518b044e71</value></item-id></result> 2022-12-16 21:30:57 | [Mutex] received everything. 2022-12-16 21:30:57 | [Mutex] isItemNotified: retracted:item:notifieditem-be385308-0596-486e-aa02-8d518b044e71:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.243s |
2022-12-16 21:30:57 |
2022-12-16 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:57 | ------------------------------------ 2022-12-16 21:30:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-490ee2a7-6416-490e-90f9-68b7996d420e</node><item-id>item-be385308-0596-486e-aa02-8d518b044e71</item-id></data> 2022-12-16 21:30:57 | 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-490ee2a7-6416-490e-90f9-68b7996d420e</value></node><item-id label="Item ID" type="text-single"><value>item-be385308-0596-486e-aa02-8d518b044e71</value></item-id><item label="Item" type="text-multi"><value><item id="item-be385308-0596-486e-aa02-8d518b044e71"><test>item-be385308-0596-486e-aa02-8d518b044e71</test></item></value></item></result> 2022-12-16 21:30:57 | [Mutex] notify: [retrieved:item:item-be385308-0596-486e-aa02-8d518b044e71:payload-matches:true:localhost] 2022-12-16 21:30:57 | [Mutex] received everything. 2022-12-16 21:30:57 | [Mutex] isItemNotified: retrieved:item:item-be385308-0596-486e-aa02-8d518b044e71:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-16 21:30:57 |
2022-12-16 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:57 | ------------------------------------ 2022-12-16 21:30:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-16 21:30:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-b7bf9ed5-67a2-4127-8122-7858cc662b22</value><value>test</value><value>node-490ee2a7-6416-490e-90f9-68b7996d420e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-12-16 21:30:57 |
2022-12-16 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:57 | ------------------------------------ 2022-12-16 21:30:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-490ee2a7-6416-490e-90f9-68b7996d420e)</node-pattern></data> 2022-12-16 21:30:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.135s |
2022-12-16 21:30:56 |
2022-12-16 21:30:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:56 | ------------------------------------ 2022-12-16 21:30:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-490ee2a7-6416-490e-90f9-68b7996d420e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 21:30:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.211s |
2022-12-16 21:30:57 |
2022-12-16 21:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:30:57 | ------------------------------------ 2022-12-16 21:30:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-490ee2a7-6416-490e-90f9-68b7996d420e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 21:30:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |