Test duration : 9.458s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2023-07-07 23:00:55 |
2023-07-07 23:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:55 | ------------------------------------ 2023-07-07 23:00:55 | [Mutex] waiting for: [configured:node:node-1597dc90-d6dd-4b02-9d99-65b82cd2173a:node-4afaf17c-39ea-45f2-89f3-41d8810abcee] 2023-07-07 23:00:55 | [Mutex] received everything. 2023-07-07 23:00:55 | [Mutex] isItemNotified: configured:node:node-1597dc90-d6dd-4b02-9d99-65b82cd2173a:node-4afaf17c-39ea-45f2-89f3-41d8810abcee :: true 2023-07-07 23:00:56 | [Mutex] waiting for: [received:nodes:66fdcbe0-b311-480a-8934-492822a55701:localhost] 2023-07-07 23:00:56 | [Mutex] received everything. 2023-07-07 23:00:56 | [Mutex] isItemNotified: received:node:66fdcbe0-b311-480a-8934-492822a55701:localhost:node-1597dc90-d6dd-4b02-9d99-65b82cd2173a:Node 1597dc90-d6dd-4b02-9d99-65b82cd2173a :: true 2023-07-07 23:00:56 | [Mutex] waiting for: [received:nodes:a6cce311-fb90-492f-b589-0d9afba3507b:localhost] 2023-07-07 23:00:56 | [Mutex] waiting for: [received:nodes:a6cce311-fb90-492f-b589-0d9afba3507b:localhost] 2023-07-07 23:00:56 | [Mutex] waiting for: [received:nodes:a6cce311-fb90-492f-b589-0d9afba3507b:localhost] 2023-07-07 23:00:56 | [Mutex] received everything. 2023-07-07 23:00:56 | [Mutex] isItemNotified: received:node:a6cce311-fb90-492f-b589-0d9afba3507b:localhost:node-1597dc90-d6dd-4b02-9d99-65b82cd2173a:Node 1597dc90-d6dd-4b02-9d99-65b82cd2173a :: false |
createNodes | 1.470s |
2023-07-07 23:00:52 |
2023-07-07 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:52 | ------------------------------------ 2023-07-07 23:00:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1597dc90-d6dd-4b02-9d99-65b82cd2173a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1597dc90-d6dd-4b02-9d99-65b82cd2173a</title></pubsub></data> 2023-07-07 23:00:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 23:00:54 | [Mutex] waiting for: [received:nodes:4aa33b01-f4cf-4035-ae43-3de6946903b3:localhost] 2023-07-07 23:00:54 | [Mutex] waiting for: [received:nodes:4aa33b01-f4cf-4035-ae43-3de6946903b3:localhost] 2023-07-07 23:00:54 | [Mutex] waiting for: [received:nodes:4aa33b01-f4cf-4035-ae43-3de6946903b3:localhost] 2023-07-07 23:00:54 | [Mutex] waiting for: [received:nodes:4aa33b01-f4cf-4035-ae43-3de6946903b3:localhost] 2023-07-07 23:00:54 | [Mutex] received everything. 2023-07-07 23:00:54 | [Mutex] isItemNotified: received:node:4aa33b01-f4cf-4035-ae43-3de6946903b3:localhost:node-1597dc90-d6dd-4b02-9d99-65b82cd2173a:Node 1597dc90-d6dd-4b02-9d99-65b82cd2173a :: true |
createSubnodes | 1.030s |
2023-07-07 23:00:54 |
2023-07-07 23:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:54 | ------------------------------------ 2023-07-07 23:00:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4afaf17c-39ea-45f2-89f3-41d8810abcee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4afaf17c-39ea-45f2-89f3-41d8810abcee</title></pubsub></data> 2023-07-07 23:00:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 23:00:55 | [Mutex] waiting for: [received:nodes:cdcfdad2-0af3-4c48-b98e-bff69d266cb8:localhost] 2023-07-07 23:00:55 | [Mutex] waiting for: [received:nodes:cdcfdad2-0af3-4c48-b98e-bff69d266cb8:localhost] 2023-07-07 23:00:55 | [Mutex] waiting for: [received:nodes:cdcfdad2-0af3-4c48-b98e-bff69d266cb8:localhost] 2023-07-07 23:00:55 | [Mutex] received everything. 2023-07-07 23:00:55 | [Mutex] isItemNotified: received:node:cdcfdad2-0af3-4c48-b98e-bff69d266cb8:localhost:node-4afaf17c-39ea-45f2-89f3-41d8810abcee:Node 4afaf17c-39ea-45f2-89f3-41d8810abcee :: true |
deleteNodes | 1.018s |
2023-07-07 23:01:00 |
2023-07-07 23:01:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:01:00 | ------------------------------------ 2023-07-07 23:01:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4afaf17c-39ea-45f2-89f3-41d8810abcee</node></data> 2023-07-07 23:01:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 23:01:01 | [Mutex] waiting for: [received:nodes:2297487d-0430-43d2-85c7-ce4f06ce717a:localhost] 2023-07-07 23:01:01 | [Mutex] waiting for: [received:nodes:2297487d-0430-43d2-85c7-ce4f06ce717a:localhost] 2023-07-07 23:01:01 | [Mutex] waiting for: [received:nodes:2297487d-0430-43d2-85c7-ce4f06ce717a:localhost] 2023-07-07 23:01:01 | [Mutex] received everything. 2023-07-07 23:01:01 | [Mutex] isItemNotified: received:node:2297487d-0430-43d2-85c7-ce4f06ce717a:localhost:node-4afaf17c-39ea-45f2-89f3-41d8810abcee:Node 4afaf17c-39ea-45f2-89f3-41d8810abcee :: false |
deleteSubnodes | 1.156s |
2023-07-07 23:00:59 |
2023-07-07 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:59 | ------------------------------------ 2023-07-07 23:00:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1597dc90-d6dd-4b02-9d99-65b82cd2173a</node></data> 2023-07-07 23:00:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 23:01:00 | [Mutex] waiting for: [received:nodes:f076af82-832f-430a-bd3f-6ff16fe220d1:localhost] 2023-07-07 23:01:00 | [Mutex] waiting for: [received:nodes:f076af82-832f-430a-bd3f-6ff16fe220d1:localhost] 2023-07-07 23:01:00 | [Mutex] waiting for: [received:nodes:f076af82-832f-430a-bd3f-6ff16fe220d1:localhost] 2023-07-07 23:01:00 | [Mutex] received everything. 2023-07-07 23:01:00 | [Mutex] isItemNotified: received:node:f076af82-832f-430a-bd3f-6ff16fe220d1:localhost:node-1597dc90-d6dd-4b02-9d99-65b82cd2173a:Node 1597dc90-d6dd-4b02-9d99-65b82cd2173a :: false 2023-07-07 23:01:00 | [Mutex] waiting for: [received:nodes:2933d35c-7a32-43d0-8f56-1ce153a531aa:localhost] 2023-07-07 23:01:00 | [Mutex] received everything. 2023-07-07 23:01:00 | [Mutex] isItemNotified: received:node:2933d35c-7a32-43d0-8f56-1ce153a531aa:localhost:node-1597dc90-d6dd-4b02-9d99-65b82cd2173a:Node 1597dc90-d6dd-4b02-9d99-65b82cd2173a :: false |
publishItemsToNodes | 0.249s |
2023-07-07 23:00:57 |
2023-07-07 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:57 | ------------------------------------ 2023-07-07 23:00:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1597dc90-d6dd-4b02-9d99-65b82cd2173a</node><item-id>item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8</item-id><entry><test>item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8</test></entry></data> 2023-07-07 23:00:57 | 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-8e8838ca-dd48-439a-8a86-cf7a5172d1f8</value></item-id></result> 2023-07-07 23:00:57 | [Mutex] waiting for: [published:item:notifieditem-8e8838ca-dd48-439a-8a86-cf7a5172d1f8:admin@test-domain.com] 2023-07-07 23:00:57 | [Mutex] received everything. 2023-07-07 23:00:57 | [Mutex] isItemNotified: published:item:notifieditem-8e8838ca-dd48-439a-8a86-cf7a5172d1f8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.220s |
2023-07-07 23:00:58 |
2023-07-07 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:58 | ------------------------------------ 2023-07-07 23:00:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1597dc90-d6dd-4b02-9d99-65b82cd2173a</node><item-id>item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8</item-id></data> 2023-07-07 23:00:58 | 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-8e8838ca-dd48-439a-8a86-cf7a5172d1f8</value></item-id></result> 2023-07-07 23:00:58 | [Mutex] received everything. 2023-07-07 23:00:58 | [Mutex] isItemNotified: retracted:item:notifieditem-8e8838ca-dd48-439a-8a86-cf7a5172d1f8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.193s |
2023-07-07 23:00:57 |
2023-07-07 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:57 | ------------------------------------ 2023-07-07 23:00:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1597dc90-d6dd-4b02-9d99-65b82cd2173a</node><item-id>item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8</item-id></data> 2023-07-07 23:00:57 | 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-1597dc90-d6dd-4b02-9d99-65b82cd2173a</value></node><item-id type="text-single" label="Item ID"><value>item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8</value></item-id><item type="text-multi" label="Item"><value><item id="item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8"><test>item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8</test></item></value></item></result> 2023-07-07 23:00:57 | [Mutex] notify: [retrieved:item:item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8:payload-matches:true:localhost] 2023-07-07 23:00:57 | [Mutex] received everything. 2023-07-07 23:00:57 | [Mutex] isItemNotified: retrieved:item:item-8e8838ca-dd48-439a-8a86-cf7a5172d1f8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-07 23:00:57 |
2023-07-07 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:57 | ------------------------------------ 2023-07-07 23:00:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-07 23:00:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-1597dc90-d6dd-4b02-9d99-65b82cd2173a</value><value>test</value><value>node-4afaf17c-39ea-45f2-89f3-41d8810abcee</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-07 23:00:57 |
2023-07-07 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:57 | ------------------------------------ 2023-07-07 23:00: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-1597dc90-d6dd-4b02-9d99-65b82cd2173a)</node-pattern></data> 2023-07-07 23:00:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.132s |
2023-07-07 23:00:56 |
2023-07-07 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:56 | ------------------------------------ 2023-07-07 23:00:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1597dc90-d6dd-4b02-9d99-65b82cd2173a</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-07 23:00: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.219s |
2023-07-07 23:00:58 |
2023-07-07 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:58 | ------------------------------------ 2023-07-07 23:00:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1597dc90-d6dd-4b02-9d99-65b82cd2173a</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-07 23:00:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |