Test duration : 9.693s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.083s |
2022-10-25 04:28:36 |
2022-10-25 04:28:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:36 | ------------------------------------ 2022-10-25 04:28:36 | [Mutex] waiting for: [configured:node:node-ce6be9ea-8a88-489f-b129-ff22ba29cae3:node-6ddd341f-8e55-431f-bb03-0bb3bfb993ec] 2022-10-25 04:28:36 | [Mutex] received everything. 2022-10-25 04:28:36 | [Mutex] isItemNotified: configured:node:node-ce6be9ea-8a88-489f-b129-ff22ba29cae3:node-6ddd341f-8e55-431f-bb03-0bb3bfb993ec :: true 2022-10-25 04:28:37 | [Mutex] waiting for: [received:nodes:b93a41e0-3429-44ef-83a7-edd692611735:localhost] 2022-10-25 04:28:37 | [Mutex] received everything. 2022-10-25 04:28:37 | [Mutex] isItemNotified: received:node:b93a41e0-3429-44ef-83a7-edd692611735:localhost:node-ce6be9ea-8a88-489f-b129-ff22ba29cae3:Node ce6be9ea-8a88-489f-b129-ff22ba29cae3 :: true 2022-10-25 04:28:37 | [Mutex] waiting for: [received:nodes:edf1a9c6-7d9f-4e5d-95b1-a6eba6626e19:localhost] 2022-10-25 04:28:37 | [Mutex] waiting for: [received:nodes:edf1a9c6-7d9f-4e5d-95b1-a6eba6626e19:localhost] 2022-10-25 04:28:37 | [Mutex] waiting for: [received:nodes:edf1a9c6-7d9f-4e5d-95b1-a6eba6626e19:localhost] 2022-10-25 04:28:37 | [Mutex] waiting for: [received:nodes:edf1a9c6-7d9f-4e5d-95b1-a6eba6626e19:localhost] 2022-10-25 04:28:37 | [Mutex] received everything. 2022-10-25 04:28:37 | [Mutex] isItemNotified: received:node:edf1a9c6-7d9f-4e5d-95b1-a6eba6626e19:localhost:node-ce6be9ea-8a88-489f-b129-ff22ba29cae3:Node ce6be9ea-8a88-489f-b129-ff22ba29cae3 :: false |
createNodes | 1.472s |
2022-10-25 04:28:33 |
2022-10-25 04:28:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:33 | ------------------------------------ 2022-10-25 04:28:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ce6be9ea-8a88-489f-b129-ff22ba29cae3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ce6be9ea-8a88-489f-b129-ff22ba29cae3</title></pubsub></data> 2022-10-25 04:28:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-25 04:28:35 | [Mutex] waiting for: [received:nodes:a1c2083f-596f-4c6d-8049-a1d4e9c8ac1c:localhost] 2022-10-25 04:28:35 | [Mutex] received everything. 2022-10-25 04:28:35 | [Mutex] isItemNotified: received:node:a1c2083f-596f-4c6d-8049-a1d4e9c8ac1c:localhost:node-ce6be9ea-8a88-489f-b129-ff22ba29cae3:Node ce6be9ea-8a88-489f-b129-ff22ba29cae3 :: true |
createSubnodes | 1.020s |
2022-10-25 04:28:35 |
2022-10-25 04:28:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:35 | ------------------------------------ 2022-10-25 04:28:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6ddd341f-8e55-431f-bb03-0bb3bfb993ec</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6ddd341f-8e55-431f-bb03-0bb3bfb993ec</title></pubsub></data> 2022-10-25 04:28:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-25 04:28:36 | [Mutex] waiting for: [received:nodes:248040f7-2300-47d5-9e08-5b3c84168508:localhost] 2022-10-25 04:28:36 | [Mutex] waiting for: [received:nodes:248040f7-2300-47d5-9e08-5b3c84168508:localhost] 2022-10-25 04:28:36 | [Mutex] waiting for: [received:nodes:248040f7-2300-47d5-9e08-5b3c84168508:localhost] 2022-10-25 04:28:36 | [Mutex] received everything. 2022-10-25 04:28:36 | [Mutex] isItemNotified: received:node:248040f7-2300-47d5-9e08-5b3c84168508:localhost:node-6ddd341f-8e55-431f-bb03-0bb3bfb993ec:Node 6ddd341f-8e55-431f-bb03-0bb3bfb993ec :: true |
deleteNodes | 1.017s |
2022-10-25 04:28:41 |
2022-10-25 04:28:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:41 | ------------------------------------ 2022-10-25 04:28:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6ddd341f-8e55-431f-bb03-0bb3bfb993ec</node></data> 2022-10-25 04:28:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-25 04:28:42 | [Mutex] waiting for: [received:nodes:1da9e2cf-9e57-47bc-874e-a61492ffdca2:localhost] 2022-10-25 04:28:42 | [Mutex] waiting for: [received:nodes:1da9e2cf-9e57-47bc-874e-a61492ffdca2:localhost] 2022-10-25 04:28:42 | [Mutex] waiting for: [received:nodes:1da9e2cf-9e57-47bc-874e-a61492ffdca2:localhost] 2022-10-25 04:28:42 | [Mutex] received everything. 2022-10-25 04:28:42 | [Mutex] isItemNotified: received:node:1da9e2cf-9e57-47bc-874e-a61492ffdca2:localhost:node-6ddd341f-8e55-431f-bb03-0bb3bfb993ec:Node 6ddd341f-8e55-431f-bb03-0bb3bfb993ec :: false |
deleteSubnodes | 1.161s |
2022-10-25 04:28:40 |
2022-10-25 04:28:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:40 | ------------------------------------ 2022-10-25 04:28:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ce6be9ea-8a88-489f-b129-ff22ba29cae3</node></data> 2022-10-25 04:28:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-25 04:28:41 | [Mutex] waiting for: [received:nodes:b173da02-8120-4009-95ed-a9fdbdd9a2f6:localhost] 2022-10-25 04:28:41 | [Mutex] waiting for: [received:nodes:b173da02-8120-4009-95ed-a9fdbdd9a2f6:localhost] 2022-10-25 04:28:41 | [Mutex] received everything. 2022-10-25 04:28:41 | [Mutex] isItemNotified: received:node:b173da02-8120-4009-95ed-a9fdbdd9a2f6:localhost:node-ce6be9ea-8a88-489f-b129-ff22ba29cae3:Node ce6be9ea-8a88-489f-b129-ff22ba29cae3 :: false 2022-10-25 04:28:41 | [Mutex] waiting for: [received:nodes:3bae9c08-0df4-4365-8cd0-3e90ebe1bd07:localhost] 2022-10-25 04:28:41 | [Mutex] received everything. 2022-10-25 04:28:41 | [Mutex] isItemNotified: received:node:3bae9c08-0df4-4365-8cd0-3e90ebe1bd07:localhost:node-ce6be9ea-8a88-489f-b129-ff22ba29cae3:Node ce6be9ea-8a88-489f-b129-ff22ba29cae3 :: false |
publishItemsToNodes | 0.218s |
2022-10-25 04:28:38 |
2022-10-25 04:28:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:38 | ------------------------------------ 2022-10-25 04:28:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ce6be9ea-8a88-489f-b129-ff22ba29cae3</node><item-id>item-d7268259-41d7-41ce-9dde-b7bfe45a4444</item-id><entry><test>item-d7268259-41d7-41ce-9dde-b7bfe45a4444</test></entry></data> 2022-10-25 04:28: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-d7268259-41d7-41ce-9dde-b7bfe45a4444</value></item-id></result> 2022-10-25 04:28:38 | [Mutex] received everything. 2022-10-25 04:28:38 | [Mutex] isItemNotified: published:item:notifieditem-d7268259-41d7-41ce-9dde-b7bfe45a4444:admin@test-domain.com :: true |
retractItemsFromNodes | 0.278s |
2022-10-25 04:28:38 |
2022-10-25 04:28:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:38 | ------------------------------------ 2022-10-25 04:28:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ce6be9ea-8a88-489f-b129-ff22ba29cae3</node><item-id>item-d7268259-41d7-41ce-9dde-b7bfe45a4444</item-id></data> 2022-10-25 04:28: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-d7268259-41d7-41ce-9dde-b7bfe45a4444</value></item-id></result> 2022-10-25 04:28:39 | [Mutex] received everything. 2022-10-25 04:28:39 | [Mutex] isItemNotified: retracted:item:notifieditem-d7268259-41d7-41ce-9dde-b7bfe45a4444:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.276s |
2022-10-25 04:28:38 |
2022-10-25 04:28:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:38 | ------------------------------------ 2022-10-25 04:28:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ce6be9ea-8a88-489f-b129-ff22ba29cae3</node><item-id>item-d7268259-41d7-41ce-9dde-b7bfe45a4444</item-id></data> 2022-10-25 04:28:38 | 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-ce6be9ea-8a88-489f-b129-ff22ba29cae3</value></node><item-id type="text-single" label="Item ID"><value>item-d7268259-41d7-41ce-9dde-b7bfe45a4444</value></item-id><item type="text-multi" label="Item"><value><item id="item-d7268259-41d7-41ce-9dde-b7bfe45a4444"><test>item-d7268259-41d7-41ce-9dde-b7bfe45a4444</test></item></value></item></result> 2022-10-25 04:28:38 | [Mutex] notify: [retrieved:item:item-d7268259-41d7-41ce-9dde-b7bfe45a4444:payload-matches:true:localhost] 2022-10-25 04:28:38 | [Mutex] received everything. 2022-10-25 04:28:38 | [Mutex] isItemNotified: retrieved:item:item-d7268259-41d7-41ce-9dde-b7bfe45a4444:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-10-25 04:28:38 |
2022-10-25 04:28:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:38 | ------------------------------------ 2022-10-25 04:28:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-25 04:28:38 | 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-6ddd341f-8e55-431f-bb03-0bb3bfb993ec</value><value>node-ce6be9ea-8a88-489f-b129-ff22ba29cae3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-10-25 04:28:38 |
2022-10-25 04:28:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:38 | ------------------------------------ 2022-10-25 04:28:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ce6be9ea-8a88-489f-b129-ff22ba29cae3)</node-pattern></data> 2022-10-25 04:28:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.139s |
2022-10-25 04:28:37 |
2022-10-25 04:28:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:37 | ------------------------------------ 2022-10-25 04:28:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ce6be9ea-8a88-489f-b129-ff22ba29cae3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-25 04:28: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.204s |
2022-10-25 04:28:39 |
2022-10-25 04:28:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-25 04:28:39 | ------------------------------------ 2022-10-25 04:28:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ce6be9ea-8a88-489f-b129-ff22ba29cae3</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-25 04:28:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |