Test duration : 9.507s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.124s |
2022-10-23 23:53:15 |
2022-10-23 23:53:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:15 | ------------------------------------ 2022-10-23 23:53:15 | [Mutex] waiting for: [configured:node:node-ce379aa8-67d6-4828-891c-c9d00800f43a:node-ffec83d6-c6f3-4b18-b47b-8a99178bc608] 2022-10-23 23:53:16 | [Mutex] received everything. 2022-10-23 23:53:16 | [Mutex] isItemNotified: configured:node:node-ce379aa8-67d6-4828-891c-c9d00800f43a:node-ffec83d6-c6f3-4b18-b47b-8a99178bc608 :: true 2022-10-23 23:53:17 | [Mutex] waiting for: [received:nodes:f40655c0-845b-415c-8774-74ebb8d5b643:localhost] 2022-10-23 23:53:17 | [Mutex] received everything. 2022-10-23 23:53:17 | [Mutex] isItemNotified: received:node:f40655c0-845b-415c-8774-74ebb8d5b643:localhost:node-ce379aa8-67d6-4828-891c-c9d00800f43a:Node ce379aa8-67d6-4828-891c-c9d00800f43a :: true 2022-10-23 23:53:17 | [Mutex] waiting for: [received:nodes:1b5e4d1e-492b-494a-833a-378ac3dc0c7b:localhost] 2022-10-23 23:53:17 | [Mutex] waiting for: [received:nodes:1b5e4d1e-492b-494a-833a-378ac3dc0c7b:localhost] 2022-10-23 23:53:17 | [Mutex] received everything. 2022-10-23 23:53:17 | [Mutex] isItemNotified: received:node:1b5e4d1e-492b-494a-833a-378ac3dc0c7b:localhost:node-ce379aa8-67d6-4828-891c-c9d00800f43a:Node ce379aa8-67d6-4828-891c-c9d00800f43a :: false |
createNodes | 1.431s |
2022-10-23 23:53:13 |
2022-10-23 23:53:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:13 | ------------------------------------ 2022-10-23 23:53:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ce379aa8-67d6-4828-891c-c9d00800f43a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ce379aa8-67d6-4828-891c-c9d00800f43a</title></pubsub></data> 2022-10-23 23:53:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-23 23:53:14 | [Mutex] waiting for: [received:nodes:e5ce782d-76bc-462b-8377-d355ac60f366:localhost] 2022-10-23 23:53:14 | [Mutex] received everything. 2022-10-23 23:53:14 | [Mutex] isItemNotified: received:node:e5ce782d-76bc-462b-8377-d355ac60f366:localhost:node-ce379aa8-67d6-4828-891c-c9d00800f43a:Node ce379aa8-67d6-4828-891c-c9d00800f43a :: true |
createSubnodes | 1.027s |
2022-10-23 23:53:14 |
2022-10-23 23:53:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:14 | ------------------------------------ 2022-10-23 23:53:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ffec83d6-c6f3-4b18-b47b-8a99178bc608</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ffec83d6-c6f3-4b18-b47b-8a99178bc608</title></pubsub></data> 2022-10-23 23:53:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-23 23:53:15 | [Mutex] waiting for: [received:nodes:b1e96041-3c7e-4962-af89-94a82bab29f6:localhost] 2022-10-23 23:53:15 | [Mutex] received everything. 2022-10-23 23:53:15 | [Mutex] isItemNotified: received:node:b1e96041-3c7e-4962-af89-94a82bab29f6:localhost:node-ffec83d6-c6f3-4b18-b47b-8a99178bc608:Node ffec83d6-c6f3-4b18-b47b-8a99178bc608 :: true |
deleteNodes | 1.018s |
2022-10-23 23:53:21 |
2022-10-23 23:53:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:21 | ------------------------------------ 2022-10-23 23:53:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ffec83d6-c6f3-4b18-b47b-8a99178bc608</node></data> 2022-10-23 23:53:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-23 23:53:22 | [Mutex] waiting for: [received:nodes:ab7959b7-2fc1-45a2-bda8-563bdd9c689b:localhost] 2022-10-23 23:53:22 | [Mutex] waiting for: [received:nodes:ab7959b7-2fc1-45a2-bda8-563bdd9c689b:localhost] 2022-10-23 23:53:22 | [Mutex] received everything. 2022-10-23 23:53:22 | [Mutex] isItemNotified: received:node:ab7959b7-2fc1-45a2-bda8-563bdd9c689b:localhost:node-ffec83d6-c6f3-4b18-b47b-8a99178bc608:Node ffec83d6-c6f3-4b18-b47b-8a99178bc608 :: false |
deleteSubnodes | 1.118s |
2022-10-23 23:53:20 |
2022-10-23 23:53:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:20 | ------------------------------------ 2022-10-23 23:53:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ce379aa8-67d6-4828-891c-c9d00800f43a</node></data> 2022-10-23 23:53:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-23 23:53:21 | [Mutex] waiting for: [received:nodes:7b58f313-ea39-456e-818e-1b04d30592f1:localhost] 2022-10-23 23:53:21 | [Mutex] waiting for: [received:nodes:7b58f313-ea39-456e-818e-1b04d30592f1:localhost] 2022-10-23 23:53:21 | [Mutex] received everything. 2022-10-23 23:53:21 | [Mutex] isItemNotified: received:node:7b58f313-ea39-456e-818e-1b04d30592f1:localhost:node-ce379aa8-67d6-4828-891c-c9d00800f43a:Node ce379aa8-67d6-4828-891c-c9d00800f43a :: false 2022-10-23 23:53:21 | [Mutex] waiting for: [received:nodes:55188fbe-ce10-45b2-bbc4-49259fa1c38f:localhost] 2022-10-23 23:53:21 | [Mutex] received everything. 2022-10-23 23:53:21 | [Mutex] isItemNotified: received:node:55188fbe-ce10-45b2-bbc4-49259fa1c38f:localhost:node-ce379aa8-67d6-4828-891c-c9d00800f43a:Node ce379aa8-67d6-4828-891c-c9d00800f43a :: false |
publishItemsToNodes | 0.209s |
2022-10-23 23:53:18 |
2022-10-23 23:53:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:18 | ------------------------------------ 2022-10-23 23:53:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ce379aa8-67d6-4828-891c-c9d00800f43a</node><item-id>item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59</item-id><entry><test>item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59</test></entry></data> 2022-10-23 23:53:18 | 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-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59</value></item-id></result> 2022-10-23 23:53:18 | [Mutex] waiting for: [published:item:notifieditem-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59:admin@test-domain.com] 2022-10-23 23:53:18 | [Mutex] received everything. 2022-10-23 23:53:18 | [Mutex] isItemNotified: published:item:notifieditem-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2022-10-23 23:53:18 |
2022-10-23 23:53:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:18 | ------------------------------------ 2022-10-23 23:53:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ce379aa8-67d6-4828-891c-c9d00800f43a</node><item-id>item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59</item-id></data> 2022-10-23 23:53:19 | 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-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59</value></item-id></result> 2022-10-23 23:53:19 | [Mutex] received everything. 2022-10-23 23:53:19 | [Mutex] isItemNotified: retracted:item:notifieditem-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.319s |
2022-10-23 23:53:18 |
2022-10-23 23:53:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:18 | ------------------------------------ 2022-10-23 23:53:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ce379aa8-67d6-4828-891c-c9d00800f43a</node><item-id>item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59</item-id></data> 2022-10-23 23:53:18 | 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-ce379aa8-67d6-4828-891c-c9d00800f43a</value></node><item-id label="Item ID" type="text-single"><value>item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59</value></item-id><item label="Item" type="text-multi"><value><item id="item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59"><test>item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59</test></item></value></item></result> 2022-10-23 23:53:18 | [Mutex] notify: [retrieved:item:item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59:payload-matches:true:localhost] 2022-10-23 23:53:18 | [Mutex] received everything. 2022-10-23 23:53:18 | [Mutex] isItemNotified: retrieved:item:item-ae3b96e7-f6ff-4755-8eb1-45e8f37e4e59:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-23 23:53:18 |
2022-10-23 23:53:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:18 | ------------------------------------ 2022-10-23 23:53:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-23 23:53:18 | 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-ce379aa8-67d6-4828-891c-c9d00800f43a</value><value>node-ffec83d6-c6f3-4b18-b47b-8a99178bc608</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-10-23 23:53:18 |
2022-10-23 23:53:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:18 | ------------------------------------ 2022-10-23 23:53:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ce379aa8-67d6-4828-891c-c9d00800f43a)</node-pattern></data> 2022-10-23 23:53:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.097s |
2022-10-23 23:53:17 |
2022-10-23 23:53:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:17 | ------------------------------------ 2022-10-23 23:53:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ce379aa8-67d6-4828-891c-c9d00800f43a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-23 23:53:17 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.187s |
2022-10-23 23:53:19 |
2022-10-23 23:53:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-23 23:53:19 | ------------------------------------ 2022-10-23 23:53:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ce379aa8-67d6-4828-891c-c9d00800f43a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-23 23:53:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |